Skip to content

Commit 483a90a

Browse files
committed
Add build:clean script to build process
1 parent 06f3ad9 commit 483a90a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414
"js": "babel -d dist src",
1515
"js:watch": "npm run js -- --watch",
1616
"css": "cp src/react-accessible-accordion.css dist",
17+
"build:clean": "rm -rf dist/",
1718
"build:rollup": "NODE_ENV=production rollup -c",
1819
"build:flow": "flow-copy-source src dist/es -i \"**/*.spec.js\"",
19-
"build": "npm run build:flow && npm run build:rollup",
20+
"build":
21+
"npm run build:clean && npm run build:flow && npm run build:rollup",
2022
"start": "npm run js:watch",
2123
"start-demo":
2224
"webpack-dev-server --config ./webpack/webpack.config.demo.js",

0 commit comments

Comments
 (0)