Try to run npm run build on post install
This commit is contained in:
parent
f6e00d120a
commit
43f7871267
@ -8,6 +8,7 @@
|
||||
"build": "npm run build-node && npm run build-browser",
|
||||
"build-node": "tsc",
|
||||
"build-browser": "esbuild src/browser.ts --bundle --minify --sourcemap --target=firefox120 --outfile=public/bundle.js",
|
||||
"postinstall": "npm run build",
|
||||
"clean-coverage": "rm -rf coverage .nyc_output .xunit",
|
||||
"coverage": "npm run clean-coverage && nyc mocha",
|
||||
"test-reports": "npm run clean-coverage && nyc --reporter clover mocha --reporter xunit --reporter-option output=.xunit",
|
||||
|
Loading…
Reference in New Issue
Block a user