Skip to content

Commit de2e363

Browse files
committed
feat: add semantic release
1 parent e54a966 commit de2e363

File tree

3 files changed

+839
-22
lines changed

3 files changed

+839
-22
lines changed

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: node_js
2+
node_js:
3+
- '8'
4+
5+
cache:
6+
directories:
7+
- "node_modules"
8+
9+
script:
10+
- yarn test
11+
- yarn build
12+
13+
after_success:
14+
- yarn semantic-release
15+
16+
17+
notifications:
18+
email: false

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,17 @@
2424
"prop-types": "^15.6.1",
2525
"react": "^16.4.0",
2626
"react-dom": "^16.4.0",
27-
"regenerator-runtime": "^0.11.1"
27+
"regenerator-runtime": "^0.11.1",
28+
"semantic-release": "^15.5.1"
2829
},
2930
"scripts": {
3031
"test": "jest",
3132
"precommit": "lint-staged",
3233
"commitmsg": "commitlint -E GIT_PARAMS",
3334
"format": "prettier-standard 'src/**/*.js'",
3435
"build": "parcel build src/index.js",
35-
"demo": "parcel demo/index.html"
36+
"demo": "parcel demo/index.html",
37+
"semantic-release": "semantic-release"
3638
},
3739
"lint-staged": {
3840
"linters": {

0 commit comments

Comments
 (0)