|
|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
"description": "module template",
|
|
|
|
|
"main": "lib/index.js",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"build": "node ./esbuild.js",
|
|
|
|
|
"build": "node ./esbuild.cjs",
|
|
|
|
|
"prepare": "rm -rf @types && npm run typecheck && npm run build-declarations && npm run build",
|
|
|
|
|
"test": "mocha",
|
|
|
|
|
"build-declarations": "tsc --emitDeclarationOnly",
|
|
|
|
|
@ -14,6 +14,7 @@
|
|
|
|
|
"test-reports": "npm run clean-coverage && nyc --reporter clover mocha --reporter xunit --reporter-option output=.xunit",
|
|
|
|
|
"coverage-html": "npm run test-reports && nyc report --reporter lcov && xdg-open coverage/lcov-report/index.html"
|
|
|
|
|
},
|
|
|
|
|
"type": "module",
|
|
|
|
|
"author": "",
|
|
|
|
|
"license": "ISC",
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
|