Skip to content

Commit

Permalink
run test before build
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc committed Jan 29, 2018
1 parent 0164cce commit 74f1be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test": "npm run lint && npm run cover",
"demo": "webpack",
"dev": "webpack --watch",
"build": "npm run clean && cross-env NODE_ENV=production babel src -d lib && npm run demo",
"build": "npm run test && npm run clean && cross-env NODE_ENV=production babel src -d lib && npm run demo",
"cover": "jest --coverage",
"coveralls": "cat ./coverage/lcov.info | coveralls"
},
Expand Down

0 comments on commit 74f1be7

Please sign in to comment.