Skip to content

Commit

Permalink
chore: add publish-please
Browse files Browse the repository at this point in the history
  • Loading branch information
adjohnson916 committed Aug 11, 2016
1 parent 6a16a68 commit 8864586
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .publishrc
@@ -0,0 +1,13 @@
{
"validations": {
"vulnerableDependencies": true,
"uncommittedChanges": true,
"untrackedFiles": true,
"sensitiveData": true,
"branch": "master",
"gitTag": true
},
"confirm": true,
"publishTag": "latest",
"prePublishScript": "npm test"
}
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -20,7 +20,9 @@
"browser:src": "browserify src/index.js -o dist/src/index.browser.js -t babelify",
"browser": "npm run browser:test && npm run browser:src",
"node": "npm run node:test && npm run node:src",
"build": "npm run node && npm run browser"
"build": "npm run node && npm run browser",
"publish-please": "publish-please",
"prepublish": "publish-please guard"
},
"config": {
"ghooks": {
Expand Down Expand Up @@ -56,6 +58,7 @@
"ghooks": "^1.2.4",
"mocha": "^3.0.1",
"npm-run-all": "^2.1.1",
"publish-please": "^2.2.0",
"redux": "^3.0.5",
"redux-thunk": "^1.0.3",
"validate-commit-msg": "^2.6.1",
Expand Down

0 comments on commit 8864586

Please sign in to comment.