Skip to content

Commit 4d74940

Browse files
committed
Use pre script for analyze
1 parent b0d3ae6 commit 4d74940

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
@@ -18,8 +18,8 @@
1818
"docs:util": "jsdoc2md src/util/index.js > docs/util/util.md",
1919
"docs:clean": "rimraf docs/components/* && rimraf docs/util/*",
2020
"release": "npm run test && npm run build && npm run docs && git commit -a && np",
21-
"analyze": "webpack --config webpack.config.js --env build --profile --json > stats.json && echo '==> http://webpack.github.io/analyse/'",
22-
"analyze:clean": "rimraf stats.json"
21+
"preanalyze": "rimraf stats.json",
22+
"analyze": "webpack --config webpack.config.js --env build --profile --json > stats.json && echo '==> http://webpack.github.io/analyse/'"
2323
},
2424
"jest": {
2525
"collectCoverageFrom": [

0 commit comments

Comments
 (0)