Skip to content

Commit 7651923

Browse files
committed
build: setup travis CI
to publish NPM releases automatically
1 parent d3dcd37 commit 7651923

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

.npmignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.DS_Store
2+
node_modules
3+
.github
4+
5+
# local env files
6+
.env.local
7+
.env.*.local
8+
9+
# Log files
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
14+
# Editor directories and files
15+
.idea
16+
.vscode
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln
21+
*.sw*

.travis.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
language: node_js
2+
node_js: "8.11"
3+
4+
install:
5+
- yarn install
6+
7+
script:
8+
- yarn run build
9+
10+
cache: yarn
11+
12+
deploy:
13+
provider: npm
14+
15+
tag: alpha
16+
api_key: $NPM_TOKEN
17+
skip_cleanup: true
18+
on:
19+
branch: master

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-qrcode-reader",
33
"description": "A Vue.js component, accessing the device camera and allowing users to read QR-Codes, within the browser",
4-
"version": "0.8.8",
4+
"version": "0.8.9",
55
"author": {
66
"name": "Niklas Gruhn",
77
"email": "[email protected]"

0 commit comments

Comments
 (0)