diff --git a/package.json b/package.json index 49cbb7b..5a3a558 100644 --- a/package.json +++ b/package.json @@ -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",