Skip to content

Commit

Permalink
Merge pull request #98 from ericelliott/fix-prepublish
Browse files Browse the repository at this point in the history
[Fixes #97] Run the build before running tests.
  • Loading branch information
troutowicz committed Jun 12, 2015
2 parents 406afa4 + f551ca6 commit 8e298be
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 @@ -32,7 +32,7 @@
"uglifyjs": "^2.4.10"
},
"scripts": {
"prepublish": "npm test && npm run build",
"prepublish": "npm run build && npm test",
"test": "npm run hint && node test/index.js",
"clean": "rimraf dist/* && mkdir dist || true",
"uglify": "uglifyjs dist/stampit.js -m -c warnings=false -o dist/stampit.min.js",
Expand Down

0 comments on commit 8e298be

Please sign in to comment.