Skip to content

Commit

Permalink
Build only on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
timdp committed Jun 17, 2016
1 parent 6e94b09 commit d6624e2
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 @@ -48,6 +48,7 @@
"gulp-plumber": "^1.1.0",
"gulp-sourcemaps": "^1.6.0",
"gulp-standard": "^7.0.1",
"in-publish": "^2.0.0",
"isparta": "^4.0.0",
"pinkie": "^2.0.4",
"run-sequence": "^1.2.1",
Expand All @@ -60,7 +61,7 @@
"index.js"
],
"scripts": {
"prepublish": "npm run clean && npm run build",
"prepublish": "in-publish && npm run build || not-in-publish",
"clean": "gulp clean",
"build": "gulp build",
"test": "gulp test"
Expand Down

0 comments on commit d6624e2

Please sign in to comment.