Skip to content

Commit

Permalink
chore: semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
reconbot committed Nov 23, 2017
1 parent e18e53c commit 87fc96e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
13 changes: 12 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
language: node_js
node_js: 8
cache:
directories:
- ~/.npm
notifications:
email: false
node_js:
- '9'
- '8'
- '6'
after_success:
- 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
@@ -1,6 +1,6 @@
{
"name": "bluestream",
"version": "6.0.3",
"version": "0.0.0-development",
"description": "A collection of streams that work well with promises (through, map, reduce). Through2 with promise support",
"main": "dist",
"repository": "[email protected]:bustle/bluestream.git",
Expand All @@ -11,7 +11,8 @@
"unit-test": "mocha",
"lint": "eslint lib test",
"build": "babel lib/ -d dist/",
"prepublish": "npm run build"
"prepublish": "npm run build",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"keywords": [
"through",
Expand Down Expand Up @@ -41,7 +42,8 @@
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"mocha": "^3.5.0",
"split2": "^2.2.0"
"split2": "^2.2.0",
"semantic-release": "^8.2.0"
},
"engines": {
"node": ">=6"
Expand Down

0 comments on commit 87fc96e

Please sign in to comment.