Skip to content

Commit 47bc8c8

Browse files
status-bors-ng[bot]D4nte
andauthored
Merge #764
764: build before publishing + build optimisation r=D4nte a=D4nte Co-authored-by: Franck Royer <[email protected]>
2 parents ac56778 + ec10dcd commit 47bc8c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@
2424
],
2525
"scripts": {
2626
"prepare": "husky install",
27-
"build": "run-s build:**",
27+
"build": "rimraf ./build; run-p build:**",
2828
"build:main": "tsc -p tsconfig.json",
29-
"build:dev": "tsc -p tsconfig.dev.json",
3029
"build:esm": "tsc --module es2015 --target es2015 --outDir build/esm",
3130
"build:umd": "webpack --config webpack.config.js",
3231
"build:umd:min": "webpack --config webpack.config.min.js",
@@ -59,6 +58,7 @@
5958
"doc:html": "typedoc",
6059
"doc:cname": "echo 'js-waku.wakuconnect.dev' > build/docs/CNAME",
6160
"doc:examples": "mkdir -p build/docs/examples",
61+
"prepublish": "npm run build",
6262
"deploy": "node ci/deploy.js",
6363
"reset-hard": "git clean -dfx && git reset --hard && npm i && npm run build && for d in examples/*/; do (cd $d; npm i); done"
6464
},

0 commit comments

Comments
 (0)