Update to ESM

master
Kuba Orlik 2 years ago
parent d9af5dd81f
commit c55b4e910c

@ -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": {

Loading…
Cancel
Save