Skip to content
This repository was archived by the owner on Oct 18, 2018. It is now read-only.

Commit 7991024

Browse files
committed
Setup npm for release (#13)
1 parent 2280f66 commit 7991024

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.npmignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# dependencies
2+
node_modules
3+
4+
# logs
5+
*.log
6+
npm-debug.log*
7+
8+
# coverage directory used by tools like istanbul
9+
coverage
10+
11+
# tests
12+
__tests__
13+
14+
# settings
15+
.vscode
16+
.babelrc
17+
.gitignore
18+
.npmignore
19+
.travis.yml
20+
gulpfile.js
21+
jsconfig.json
22+
webpack.config.js
23+
24+
# misc
25+
example
26+
src

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,12 @@ install:
1616

1717
script:
1818
- npm test
19+
20+
before_deploy:
21+
- npm run build
22+
23+
deploy:
24+
provider: npm
25+
api_key: "$NPM_API_KEY"
26+
on:
27+
tags: true

0 commit comments

Comments
 (0)