Skip to content

Commit 327e1c1

Browse files
committed
prepare script
1 parent b04c12f commit 327e1c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "dist/index.js",
66
"types": "dist/types/src/index.d.ts",
77
"scripts": {
8-
"prepare": "yarn build:demo",
8+
"prepare": "yarn build:prod",
99
"build:demo": "rm -r ./docs || true && webpack --config webpack.dev.js && cp ./demo/index.html ./docs && webpack-dev-server --open --config webpack.dev.js",
1010
"build:prod": "rm -r ./dist || true && webpack --config webpack.prod.js && rm -r ./dist/types/demo",
1111
"lint": "node_modules/.bin/eslint src"

0 commit comments

Comments
 (0)