Skip to content

Commit

Permalink
chore: use semantic-release for NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschneider committed Dec 12, 2017
1 parent 1038ef9 commit 117b00e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ before_script:

after_success:
- npm run coveralls
# - npm run semantic-release
- npm run semantic-release
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"name": "secure-string",
"version": "0.0.1",
"version": "0.0.0-development",
"description": "Text that should be kept confidential",
"main": "index.js",
"scripts": {
"test": "mocha",
"cover": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git+https://github.com/richardschneider/secure-string.git"
"url": "https://github.com/richardschneider/secure-string.git"
},
"author": {
"name": "Richard Schneider",
Expand All @@ -27,6 +28,7 @@
"dirty-chai": "^2.0.1",
"istanbul": "^0.4.5",
"mocha": "^4.0.1",
"mocha-lcov-reporter": "^1.3.0"
"mocha-lcov-reporter": "^1.3.0",
"semantic-release": "^8.2.0"
}
}

0 comments on commit 117b00e

Please sign in to comment.