Abort publish if build fails
.. otherwise we end up publishing a broken build.
This commit is contained in:
parent
24223ae2b6
commit
e114f04e47
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
"build": "babel src -d lib --source-maps",
|
"build": "babel src -d lib --source-maps",
|
||||||
"start": "babel src -w -d lib --source-maps",
|
"start": "babel src -w -d lib --source-maps",
|
||||||
"clean": "rimraf lib",
|
"clean": "rimraf lib",
|
||||||
"prepublish": "npm run build; git rev-parse HEAD > git-revision.txt",
|
"prepublish": "npm run build && git rev-parse HEAD > git-revision.txt",
|
||||||
"test": "karma start --browsers PhantomJS",
|
"test": "karma start --browsers PhantomJS",
|
||||||
"test-multi": "karma start --single-run=false"
|
"test-multi": "karma start --single-run=false"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue