Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security fixes and publish on tags #18

Merged
merged 12 commits into from
Jul 16, 2019
Merged
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ typings/
# next.js build output
.next
/dist/
.idea
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,15 @@ script:
- npm run compile
- npm run coverage

before_deploy:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null

deploy:
- provider: script
skip_cleanup: false
script: npm publish
on:
tags: true

after_success:
- sonar-scanner
55 changes: 16 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"@types/jest": "^24.0.11",
"@types/node": "^12.0.1",
"jest": "^24.5.0",
"ts-jest": "24.0.0",
"ts-jest": "24.0.2",
"tslint": "^5.14.0",
"typescript": "^3.3.3333"
}
}
}