Skip to content

Commit

Permalink
Added config to publish to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
icoloma committed Oct 23, 2020
1 parent c4c33ea commit 0effaa0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ language: node_js
script: npm run coverage
node_js:
- "stable"
deploy:
provider: npm
email: "icoloma@gmail.com"
api_key: $NPM_TOKEN
on:
tags: true
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@
"watch": "webpack-dev-server --inline --hot --progress --colors --open",
"coverage": "NODE_ENV=test jest --coverage && cat ./coverage/lcov.info | coveralls"
},
"dependencies": {}
"dependencies": {},
"publishConfig": { "access": "public" }
}

0 comments on commit 0effaa0

Please sign in to comment.