Skip to content
Permalink
Browse files

build: setup travis CI

to publish NPM releases automatically
  • Loading branch information...
gruhn committed Aug 22, 2018
1 parent d3dcd37 commit 76519230f96ad66ae1859585553c9a8cef0ce8a9
Showing with 41 additions and 1 deletion.
  1. +21 −0 .npmignore
  2. +19 −0 .travis.yml
  3. +1 −1 package.json
@@ -0,0 +1,21 @@
.DS_Store
node_modules
.github

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
@@ -0,0 +1,19 @@
language: node_js
node_js: "8.11"

install:
- yarn install

script:
- yarn run build

cache: yarn

deploy:
provider: npm
email: "niklas.gruhn@gmail.com"
tag: alpha
api_key: $NPM_TOKEN
skip_cleanup: true
on:
branch: master
@@ -1,7 +1,7 @@
{
"name": "vue-qrcode-reader",
"description": "A Vue.js component, accessing the device camera and allowing users to read QR-Codes, within the browser",
"version": "0.8.8",
"version": "0.8.9",
"author": {
"name": "Niklas Gruhn",
"email": "niklas.gruhn@gmail.com"

0 comments on commit 7651923

Please sign in to comment.
You can’t perform that action at this time.