Skip to content

Commit d5d0cb1

Browse files
committed
Travis: Publish on NPM
1 parent 3e3be6f commit d5d0cb1

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,11 @@ install:
77
passport passport-http passport-http-bearer \
88
oauth2orize passport-oauth2-client-password
99
- npm install
10+
11+
deploy:
12+
provider: npm
13+
email: hola@pablodorado.com
14+
api_key: $NPM_API_KEY
15+
on:
16+
branch: master
17+
tags: true

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,8 @@
3939
"eslint-plugin-standard": "^4.0.0",
4040
"mocha": "^5.2.0",
4141
"supertest": "^3.3.0"
42+
},
43+
"publishConfig": {
44+
"access": "public"
4245
}
4346
}

0 commit comments

Comments
 (0)