Skip to content

Commit e8e8fef

Browse files
committed
build: build package on install
1 parent f201549 commit e8e8fef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"scripts": {
8+
"prepare": "npm run build:prod",
89
"build:demo": "rm -rf ./docs && webpack --config webpack.dev.js && webpack-dev-server --open --config webpack.dev.js",
910
"build:prod": "rm -rf ./dist && webpack --config webpack.prod.js",
1011
"lint": "node_modules/.bin/eslint src"

0 commit comments

Comments
 (0)