Skip to content

Commit

Permalink
feat: add semantic-release (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeke authored Dec 24, 2018
1 parent 9e2ea5c commit 79a8936
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
13 changes: 11 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
language: node_js
cache:
directories:
- ~/.npm
notifications:
email: false
node_js:
- "4"
- "6"
- '10'
after_success:
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"name": "nice-package",
"version": "3.0.4",
"version": "0.0.0-development",
"description": "Clean up messy package metadata from the npm registry",
"main": "index.js",
"scripts": {
"test": "mocha && standard && standard-markdown"
"test": "mocha && standard && standard-markdown",
"travis-deploy-once": "travis-deploy-once",
"semantic-release": "semantic-release"
},
"repository": "https://github.com/zeke/nice-package",
"keywords": [
Expand All @@ -24,7 +26,9 @@
"mocha": "^3.2.0",
"require-dir": "^0.3.0",
"standard": "^7.1.2",
"standard-markdown": "^1.2.1"
"standard-markdown": "^1.2.1",
"travis-deploy-once": "^5.0.11",
"semantic-release": "^15.13.1"
},
"dependencies": {
"github-url-to-object": "^4.0.4",
Expand Down

0 comments on commit 79a8936

Please sign in to comment.