diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9dbfb50 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: node_js +node_js: 8 +after_success: + - npm run build +before_deploy: + - cd dist +deploy: + provider: npm + email: randil.fernando@outlook.com + skip_cleanup: true + api_key: + secure: qN+p5t0Eua0uWkH7XPo78OqGJs2/I88jTrNwkA+xJ7CwPKcGyU337I4/KbPWkXwekUqJrfEllWD6NHPBGrouNyDPVN67Mi31q7OV1/P4cHc1je9fwZrJ83hhAG0YR76qXfGq0Z6i18qv7dlgK3g7Utx7nY11u6qZBq2WAMw7NZtf6O/5Uxd5JZoEd02Lr5RjAAu14cnjiRzCgW/+p/m/zwczwtCOPkoD3aYS4N9Gx299wvoiGbEWlaM3QHdTN1Ot3+kiwC8aq0zG0kLPl7DVzGvVfNEedClr4I+Y+LAbRn7sL/bmOnVstzoBes8X/kXjUsn5WpKPRhfkMCF6tTc2U64ep/kOOfJ0Z8p1XJb2d/q2rE6ndEpr3cFyxh6LvRPNIPRGiMSO3NvCjGhryDyYuQyK17M9VF10rhp4rjG+x+NUr2YRKMBrZ+0vRywWDRzk6+gFo42upiolg3oYRSso9fTwNRUPvy0UooEozbQCeIW1De1HqaC6rL4NkKS/PDNwfYNNAg6MTkcc+xhuflsExv7I/L9sNVrTNI+bKoBiHjVk0S4opH7/ww4W43YuNOtzJ9UY9EiH2/cjjOhTVP5ayCPuEE3rfZVzX65ZM1pvSdTENEBBzqzNMs2uY28rFu2P0VUnHW5vfqeE/gNV5E6NLXnGlLQzEcjNoPwQqaooC5w= + on: + tags: true + repo: randilfernando/jwt-auth + branch: master diff --git a/package.json b/package.json index d5e0b53..da0058e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "simple-angular-jwt-auth", "description": "authentication package for angular 5 using HttpClientModule", "author": "randil.fernando@outlook.com", - "version": "0.0.5", + "version": "0.0.6", "license": "MIT", "scripts": { "ng": "ng", @@ -15,6 +15,9 @@ "type": "git", "url": "git+https://github.com/randilfernando/jwt-auth" }, + "publishConfig": { + "access": "public" + }, "bugs": { "url": "https://github.com/randilfernando/jwt-auth/issues" },