chore(package): configure prepublish hook

This commit is contained in:
Stephan Bönnemann 2015-02-02 15:27:50 +01:00
parent 9191260cb0
commit c0aebd9873
2 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,6 @@ cache:
- node_modules - node_modules
notifications: notifications:
email: false email: false
before_deploy:
- ./bin/semantic-release pre
deploy: deploy:
provider: npm provider: npm
email: stephan@boennemann.me email: stephan@boennemann.me

View File

@ -1,6 +1,7 @@
{ {
"name": "semantic-release", "name": "semantic-release",
"description": "semantic semver compliant package publishing", "description": "semantic semver compliant package publishing",
"version": "0.0.0",
"author": "Stephan Bönnemann <stephan@boennemann.me>", "author": "Stephan Bönnemann <stephan@boennemann.me>",
"bin": "./bin/semantic-release", "bin": "./bin/semantic-release",
"bugs": { "bugs": {
@ -33,6 +34,7 @@
"url": "https://github.com/boennemann/semantic-release.git" "url": "https://github.com/boennemann/semantic-release.git"
}, },
"scripts": { "scripts": {
"prepublish": "./bin/semantic-release pre",
"postpublish": "./bin/semantic-release post", "postpublish": "./bin/semantic-release post",
"test": "standard" "test": "standard"
} }