Skip to content

Commit

Permalink
chore(package): update semantic-release setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath committed Aug 26, 2018
1 parent 0427345 commit 30cf345
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
- ~/.npm
notifications:
email: false
node_js:
- 'stable'
before_script:
- npm prune
after_success:
- npm run semantic-release
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"scripts": {
"test": "mocha",
"prepublish": "node_modules/.bin/tsc -d",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once --pro"
},
"bin": "./bin/cli",
"devDependencies": {
Expand All @@ -22,9 +23,10 @@
"@types/webpack": "^4.4.11",
"cz-conventional-changelog": "^2.1.0",
"mocha": "^5.0.0",
"semantic-release": "^15.0.0",
"semantic-release": "^15.9.9",
"ts-node": "^6.0.0",
"typescript": "^3.0.1"
"typescript": "^3.0.1",
"travis-deploy-once": "^5.0.3"
},
"config": {
"commitizen": {
Expand Down

0 comments on commit 30cf345

Please sign in to comment.