Skip to content

Commit

Permalink
feat: add semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
jepser committed Jun 9, 2018
1 parent e54a966 commit de2e363
Show file tree
Hide file tree
Showing 3 changed files with 839 additions and 22 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: node_js
node_js:
- '8'

cache:
directories:
- "node_modules"

script:
- yarn test
- yarn build

after_success:
- yarn semantic-release


notifications:
email: false
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,17 @@
"prop-types": "^15.6.1",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"regenerator-runtime": "^0.11.1"
"regenerator-runtime": "^0.11.1",
"semantic-release": "^15.5.1"
},
"scripts": {
"test": "jest",
"precommit": "lint-staged",
"commitmsg": "commitlint -E GIT_PARAMS",
"format": "prettier-standard 'src/**/*.js'",
"build": "parcel build src/index.js",
"demo": "parcel demo/index.html"
"demo": "parcel demo/index.html",
"semantic-release": "semantic-release"
},
"lint-staged": {
"linters": {
Expand Down
Loading

0 comments on commit de2e363

Please sign in to comment.