Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
feat(npm): use npm versioned labshare dependencies SHELL-1536
Browse files Browse the repository at this point in the history
  • Loading branch information
KalleV committed Jun 11, 2018
1 parent 3a6853a commit 93cd0ad
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ node_js:
- 8.11.2
- '9'
before_install:
- |-
if [ $TRAVIS_PULL_REQUEST == false ] && [ $TRAVIS_BRANCH == "master" ];
then
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc;
else
echo "//registry.npmjs.org/:_authToken=\${NPM_INSTALL_TOKEN}" > ~/.npmrc;
fi
- 'git config --global url."[email protected]:".insteadOf "https://github.com/"'
install:
- npm install
Expand All @@ -20,4 +27,4 @@ after_success:
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^vd+.d+.d+$/
- /^\d+\.\d+\.\d+$/
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Services Auth

[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Greenkeeper badge](https://badges.greenkeeper.io/LabShare/services-auth.svg)](https://greenkeeper.io/)
[![Coverage Status](https://coveralls.io/repos/github/LabShare/services-auth/badge.svg)](https://coveralls.io/github/LabShare/services-auth)

Expand Down Expand Up @@ -68,3 +69,4 @@ services.start();

## Tests
`npm test`

10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"devDependencies": {
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.1",
"@labshare/services": ">=1.18.514",
"@labshare/services": "^2.0.0",
"cookie-parser": "^1.4.3",
"coveralls": "^3.0.1",
"express": "^4.14.0",
Expand All @@ -58,5 +58,9 @@
},
"release": {
"extends": "@labshare/semantic-release-config"
}
}
},
"publishConfig": {
"access": "restricted"
},
"peerDependencies": {}
}

0 comments on commit 93cd0ad

Please sign in to comment.