Skip to content

Commit

Permalink
add publish-please package
Browse files Browse the repository at this point in the history
  • Loading branch information
Billiot Clément committed Aug 16, 2016
1 parent be8d3b4 commit 4bbb9b4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
13 changes: 13 additions & 0 deletions .publishrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"validations": {
"vulnerableDependencies": true,
"uncommittedChanges": true,
"untrackedFiles": true,
"sensitiveData": true,
"branch": "master",
"gitTag": true
},
"confirm": true,
"publishTag": "latest",
"prePublishScript": "npm test"
}
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"lint": "jshint index.js && jscs index.js --reporter inline",
"test": "mocha",
"test-cov": "istanbul cover _mocha",
"test-travis": "istanbul cover _mocha --report lcovonly"
"test-travis": "istanbul cover _mocha --report lcovonly",
"publish-please": "publish-please",
"prepublish": "publish-please guard"
},
"author": {
"name": "Clément Billiot",
Expand Down Expand Up @@ -48,10 +50,11 @@
"url": "https://github.com/throll/week-identifier/blob/master/license.md"
},
"devDependencies": {
"chai": "^3.5.0",
"chai-datetime": "^1.4.1",
"istanbul-harmony": "~0.3.16",
"mocha": "~3.0.2",
"chai": "^3.5.0",
"chai-datetime": "^1.4.1"
"publish-please": "^2.2.0"
},
"bin": {
"week-identifier": "cli.js"
Expand Down

0 comments on commit 4bbb9b4

Please sign in to comment.