Skip to content

Commit 74f1be7

Browse files
committed
run test before build
1 parent 0164cce commit 74f1be7

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
@@ -15,7 +15,7 @@
1515
"test": "npm run lint && npm run cover",
1616
"demo": "webpack",
1717
"dev": "webpack --watch",
18-
"build": "npm run clean && cross-env NODE_ENV=production babel src -d lib && npm run demo",
18+
"build": "npm run test && npm run clean && cross-env NODE_ENV=production babel src -d lib && npm run demo",
1919
"cover": "jest --coverage",
2020
"coveralls": "cat ./coverage/lcov.info | coveralls"
2121
},

0 commit comments

Comments
 (0)