Skip to content

Commit

Permalink
chore: add semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Aug 24, 2016
1 parent 2faddfe commit 50e7790
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ node_js:
before_script:
- npm run es5ify
- npm prune
after_success:
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "snyk-broker",
"description": "Broker for private communication between internal systems and outside public systems",
"version": "1.0.0",
"main": "lib/index.js",
"bin": {
"snyk-broker": "./cli/index.js",
Expand All @@ -16,7 +15,8 @@
"test": "tap -R spec test/**/*.test.js --timeout 60",
"lint": "eslint cli/*.js lib/**/*.js",
"check-tests": "! grep 'test.only' test/**/*.test.js -n",
"cover": "tap test/**/*.test.js --timeout 60 --cov --coverage-report=lcov"
"cover": "tap test/**/*.test.js --timeout 60 --cov --coverage-report=lcov",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"keywords": [],
"author": "Remy Sharp",
Expand All @@ -32,7 +32,8 @@
"babel-preset-stage-3": "^6.11.0",
"eslint": "^3.3.1",
"tap": "^6.3.0",
"tap-only": "0.0.5"
"tap-only": "0.0.5",
"semantic-release": "^4.3.5"
},
"dependencies": {
"babel-runtime": "^6.11.6",
Expand All @@ -54,7 +55,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/Snyk/broker.git"
"url": "https://github.com/Snyk/broker.git"
},
"bugs": {
"url": "https://github.com/Snyk/broker/issues"
Expand Down

0 comments on commit 50e7790

Please sign in to comment.