Skip to content

Commit

Permalink
Run tests before publishing package to npmjs
Browse files Browse the repository at this point in the history
  • Loading branch information
nodkz committed Oct 11, 2016
1 parent a606e86 commit cf28d55
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 @@ -13,7 +13,7 @@
"build-cjs": "rimraf lib && BABEL_ENV=cjs babel src -d lib",
"build-es": "rimraf es && BABEL_ENV=es babel src -d es",
"lint": "eslint src test *.js",
"prepublish": "npm run build",
"prepublish": "npm run test && npm run build",
"test": "mocha --require test/mocha-bootload --compilers js:babel-core/register test/*.test.js"
},
"repository": {
Expand Down

0 comments on commit cf28d55

Please sign in to comment.