This commit is contained in:
Kuba Orlik 2023-12-10 16:09:13 +01:00
parent ffb13c9da8
commit a223d0fcb4

View File

@ -5,7 +5,7 @@
"main": "lib/cli.js",
"scripts": {
"test": "mocha",
"build": "echo 'ok'",
"build": "npm run build-node",
"build-node": "tsc",
"build-browser": "esbuild src/browser.ts --bundle --minify --sourcemap --target=firefox120 --outfile=public/bundle.js",
"prepare": "npm run build",
@ -13,7 +13,7 @@
"coverage": "npm run clean-coverage && nyc mocha",
"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",
"start": "http-server public -p 8080"
"start": "http-server public -p 80"
},
"author": "",
"license": "ISC",