Bring back build-browser script

This commit is contained in:
Kuba Orlik 2023-12-10 16:13:30 +01:00
parent c7d21e9ac3
commit 7f6781b0b0

View File

@ -5,7 +5,7 @@
"main": "lib/cli.js", "main": "lib/cli.js",
"scripts": { "scripts": {
"test": "mocha", "test": "mocha",
"build": "npm run build-node", "build": "npm run build-node && npm run build-browser",
"build-node": "tsc", "build-node": "tsc",
"build-browser": "esbuild src/browser.ts --bundle --minify --sourcemap --target=firefox120 --outfile=public/bundle.js", "build-browser": "esbuild src/browser.ts --bundle --minify --sourcemap --target=firefox120 --outfile=public/bundle.js",
"clean-coverage": "rm -rf coverage .nyc_output .xunit", "clean-coverage": "rm -rf coverage .nyc_output .xunit",