Skip to content

Commit

Permalink
Merge pull request #72 from jeantimex/reuse-semantic-release
Browse files Browse the repository at this point in the history
feat(release): Reuse semantic release.
  • Loading branch information
jeantimex authored Oct 25, 2017
2 parents f7c8bad + 80e7334 commit 32bcdfe
Show file tree
Hide file tree
Showing 3 changed files with 970 additions and 35 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ script:
- npm run test
after_success:
- npm run coverage
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"lint": "./node_modules/.bin/eslint ./src",
"mocha": "cross-env NODE_ENV=test ./node_modules/.bin/nyc mocha ./src/**/*-test.js",
"test": "npm run lint && npm run mocha",
"coverage": "./node_modules/.bin/nyc report --reporter=text-lcov | coveralls"
"coverage": "./node_modules/.bin/nyc report --reporter=text-lcov | coveralls",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"devDependencies": {
"babel": "^6.23.0",
Expand All @@ -29,6 +30,7 @@
"eslint-plugin-prettier": "^2.3.1",
"mocha": "^4.0.1",
"nyc": "^11.2.1",
"prettier": "^1.7.4"
"prettier": "^1.7.4",
"semantic-release": "^8.2.0"
}
}
Loading

0 comments on commit 32bcdfe

Please sign in to comment.