Skip to content

Commit

Permalink
Update .travis.yml and package.json for npm publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaNarie committed Jan 31, 2016
1 parent 436ebda commit 55714e0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
14 changes: 8 additions & 6 deletions .travis.yml
Expand Up @@ -15,12 +15,14 @@ after_script:
- codeclimate-test-reporter < coverage/report-lcov/lcov.info
- node_modules/.bin/coveralls < coverage/report-lcov/lcov.info

#deploy:
# provider: npm
# api_key: "YOUR_API_KEY"
# on:
# tags: true
# skip_cleanup: true
deploy:
provider: npm
apikey:
secure: nkyQm7A/0DDvmDlL4eFOfUmeMb1oBCoyIrCBnha1JbCtWLGEm2G5F9gDEymXGqHSckV00kmUVDDtu9W+HZfAeSq1B54raODjOzXKSKSCuW4GsdeFZcwa4MjcQ7Pl/DKzvmSopTfdEnJ1EbUKplepeeIsm/5yLQyoF1YgJNW8O3lpjk6uYc2tORYTTbF9qGisGr0sU7eljLyNT6oN9zNsDDH9KkAjynetrRe0uugPtnabolgDDZETmRnh9AslngPjp5iT8JQy7eDOFD4RsRzKcLIsp03+z+N3T7UqujrdfJ7xFtGHj7nQD9cFzD1D3dYnYxTnUVnXCyrPUbRu7F0R1ECrdHsNuIucP3cFjhFIKX8gOvXSLSfc9v/eZ/2iU7/aURSONhTmYU+pWSJpuVkmM+HWGOHdj4EwkTeuWIkKHGPdcoyhW6fTOGFnHmD999PnFpxTeRCBo58Muqb7sKAjaLoIwGl8P4ZLTPzt50n2B3iezPCDwdLZJQEDDKUc4bZGW3VYlL9l/nk9WPTsUkCRsIs3gVeE+22e5+3rArpstZGi6rT3TdjEuhg9PeHq5kvAKr6ByGOO9PqLLaVRq1N8dQ8Igbc5gc0utURVXlvyvdp00wwSiPRQNtODX7JE8RAr1IF+Pfq88sGp0WGk4mK1Rtk0ewzOlPpcSTiNyc2RXfE=
on:
tags: true
node: '4'
skip_cleanup: true

addons:
code_climate:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -5,7 +5,8 @@
"main": "dist/index.js",
"typings": "dist/index",
"scripts": {
"postinstall": "npm run typings && npm run build",
"postinstall": "npm run typings",
"prepublish": "npm run build",
"typings": "typings install",
"build": "rm -rf dist && tsc -p ./",
"test": "tsc -p ./test && karma start karma.conf.js --single-run --browsers PhantomJS",
Expand Down

0 comments on commit 55714e0

Please sign in to comment.