Skip to content

Commit

Permalink
[Tests] only run prepublish when in publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 14, 2020
1 parent 8e4be15 commit dbbeca1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"main": "es6-shim",
"scripts": {
"prepublish": "safe-publish-latest && npm run minify",
"prepublish": "safe-publish-latest && (not-in-publish || npm run minify)",
"pretest": "npm run lint && evalmd *.md",
"test": "npm run tests-only",
"posttest": "aud --production",
Expand Down Expand Up @@ -71,6 +71,7 @@
"grunt-contrib-connect": "^1.0.2",
"grunt-contrib-watch": "^1.1.0",
"grunt-saucelabs": "^8.6.3",
"in-publish": "^2.0.1",
"mocha": "^3.5.3",
"promises-aplus-tests": "^2.1.2",
"promises-es6-tests": "^0.5.0",
Expand Down

0 comments on commit dbbeca1

Please sign in to comment.