Skip to content

Commit

Permalink
chore: setup semantic release on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Apr 5, 2018
1 parent 573a286 commit 92667c3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: node_js
cache:
directories:
- ~/.npm
notifications:
email: true
node_js:
- '8'
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,7 +1,7 @@
{
"name": "arguments-as-string",
"description": "Converts passed arguments into a user-friendly string",
"version": "1.0.0",
"version": "0.0.0-development",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
"bugs": "https://github.com/bahmutov/arguments-as-string/issues",
"config": {
Expand Down Expand Up @@ -74,7 +74,9 @@
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
"test": "npm run unit",
"unit": "jest",
"unused-deps": "dependency-check --unused --no-dev ."
"unused-deps": "dependency-check --unused --no-dev .",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once"
},
"devDependencies": {
"ban-sensitive-files": "1.9.2",
Expand All @@ -86,6 +88,8 @@
"nsp": "3.2.1",
"pre-git": "3.17.1",
"prettier-standard": "8.0.0",
"standard": "11.0.1"
"standard": "11.0.1",
"semantic-release": "^15.1.5",
"travis-deploy-once": "^4.4.1"
}
}

0 comments on commit 92667c3

Please sign in to comment.