Skip to content

Commit 7f0d3b2

Browse files
committed
ci(package.json): argh again...really fix semantic-release setup this time
1 parent ee6edb2 commit 7f0d3b2

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ after_success:
1717
branches:
1818
except:
1919
- /^v\d+\.\d+\.\d+$/
20-

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![Build Status](https://travis-ci.org/jedwards1211/es2015-library-skeleton.svg?branch=master)](https://travis-ci.org/jedwards1211/es2015-library-skeleton)
44
[![Coverage Status](https://coveralls.io/repos/github/jedwards1211/es2015-library-skeleton/badge.svg?branch=master)](https://coveralls.io/github/jedwards1211/es2015-library-skeleton?branch=master)
5+
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
56
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
67

78
This is my personal skeleton for creating an ES2015 library npm package. You are welcome to use it.
@@ -18,9 +19,7 @@ This is my personal skeleton for creating an ES2015 library npm package. You ar
1819
* eslint-watch
1920
* flow
2021
* flow-watch
21-
* husky
22-
* commitmsg: uses validate-commit-msg
23-
* precommit: runs lint and flow
24-
* prepush: runs test
22+
* pre-commit (runs eslnt and flow)
23+
* semantic-release
2524
* Travis CI
2625
* Coveralls

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"precommit": "npm run lint && flow",
1919
"prepush": "npm test",
2020
"prepublish": "npm run lint && flow && npm test && npm run build && npm run copy-flow-files",
21-
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
22-
"open:coverage": "open coverage/lcov-report/index.html"
21+
"open:coverage": "open coverage/lcov-report/index.html",
22+
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
2323
},
2424
"config": {
2525
"mocha": "--compilers js:babel-core/register ./test/**/*.js",
@@ -76,6 +76,7 @@
7676
"mocha": "^3.2.0",
7777
"nyc": "^10.1.2",
7878
"rimraf": "^2.5.4",
79+
"semantic-release": "^6.3.2",
7980
"validate-commit-msg": "^2.8.2"
8081
},
8182
"dependencies": {}

0 commit comments

Comments
 (0)