|
|
@ -23,10 +23,10 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"types": "types/runtime/index.d.ts",
|
|
|
|
"types": "types/runtime/index.d.ts",
|
|
|
|
"scripts": {
|
|
|
|
"scripts": {
|
|
|
|
"test": "mocha --config mocharc.js",
|
|
|
|
"test": "mocha --config test/mocharc.js",
|
|
|
|
"test:unit": "mocha --require sucrase/register --recursive src/**/__test__.ts",
|
|
|
|
"test:unit": "mocha --require sucrase/register --recursive src/**/__test__.ts",
|
|
|
|
"quicktest": "mocha --config mocharc.js",
|
|
|
|
"quicktest": "mocha --config test/mocharc.js",
|
|
|
|
"precoverage": "c8 mocha --config mocharc.coverage.js",
|
|
|
|
"precoverage": "c8 mocha --config test/mocharc.coverage.js",
|
|
|
|
"coverage": "c8 report --reporter=text-lcov > coverage.lcov && c8 report --reporter=html",
|
|
|
|
"coverage": "c8 report --reporter=text-lcov > coverage.lcov && c8 report --reporter=html",
|
|
|
|
"codecov": "codecov",
|
|
|
|
"codecov": "codecov",
|
|
|
|
"precodecov": "npm run coverage",
|
|
|
|
"precodecov": "npm run coverage",
|
|
|
|