This repository has been archived by the owner on Sep 24, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from yahoo/npm-stuff
Npm stuff
- Loading branch information
Showing
10 changed files
with
102 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
language: node_js | ||
node_js: | ||
- '4.1' | ||
- '4.0' | ||
- '0.12' | ||
- '0.11' | ||
- '0.10' | ||
|
||
env: | ||
- CXX=g++-4.8 | ||
|
||
notifications: | ||
email: | ||
recipients: | ||
- a.mahendrakar@yahoo.com | ||
on_success: change | ||
on_failure: always | ||
after_success: | ||
- test $(cat $TRAVIS_BUILD_DIR/package.json | grep version | awk '{print $2}' | sed 's/"//g' | sed 's/,//g' | awk '{print "v"$1}' ) = $TRAVIS_TAG && test $(echo $TRAVIS_NODE_VERSION | awk '{print $1}' ) = '0.12' && export VALID_VERSION=true | ||
deploy: | ||
provider: npm | ||
email: a.mahendrakar@yahoo.com | ||
api_key: | ||
secure: vtgw1h09vxTfht4Ybo8xct0hIxJ99qw4g1ug4EW2+hrOmHD0jvnwNomA2wq74ErnNDJpadji/96q7jjiredrCFtXJr+jJfgWvz9Dj/3DYka5BLZf3mXt4sSZsIa8a4qd4yjps8LSTz8Zn+NdamBmJZF/Tyw1p/KqijpQ8uUt2sN8Oil9Fgb4fZ5cq5Xhv431VqjHD0Q21HB2GDgEFJxCvy5tXCKOfmTwzox/fwf9gTyrkYB27v9UTGxdqJqHrVuPRuaqbOuGIHNfRLc8qZAbtjp/DQmvf/itsI49Pxkm9LERCCAxVum60EEm79VYjSqnpC05ybYW1XjMrScY9Sqz2VBfftZa1bj7awqHw/K2aDmmSjzc7CUK7aJ1pQVy+xmdp9Je+aHqMlYvzy2HLLQYt4SZSn3zaTQFl2x3tkyivaY5i/b/Rf5BasaNxm2fPYI0QVyOZBXojPPULiHqyDdLrMKOpT13n7olPWbTkwwuI++eixP2OqJiSRlMtn3L4Y27x028LgJJaecueVhtrGnC7+9CClod6V4nJvbS2oTWRsP5s8O4A0vfCVGd6fhd7MhOVjR9Wz6jMxKkMrylWYEB6U5lqauQykYVXHl4ndnh/8vTzHWYCKzOm6kd60qQ0DPEzHfFPCVXYN2tPYzML1sFzNl1kCv0kBtTk705cTO3heA= | ||
on: | ||
condition: $VALID_VERSION = true | ||
tags: true | ||
branch: master | ||
sudo: false | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-4.8 | ||
|
||
before_install: | ||
- $CXX --version | ||
- if [ "$TRAVIS_NODE_VERSION" = "0.8" ]; then npm install -g npm@2.7.3; fi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,3 +91,4 @@ $ cd demo/client | |
$ node auth-test.js | ||
{ msg: 'app is authenticated!' } | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"name": "spartan-server", | ||
"version": "0.1.0", | ||
"scripts": { | ||
"start": "node ./server/bin/www", | ||
"test": "echo \"TODO: Add tests here.\" && exit 0" | ||
}, | ||
"keywords": [ | ||
"spartan", | ||
"authorization", | ||
"authentication", | ||
"auth", | ||
"container" | ||
], | ||
"author": { | ||
"name": "Binu Ramakrishnan" | ||
}, | ||
"contributors": [ | ||
{"name": "Aditya Mahendrakar"}, | ||
{"name": "Binu Ramakrishnan"} | ||
], | ||
"bugs": { | ||
"url": "https://github.com/yahoo/spartan/issues" | ||
}, | ||
"license": "BSD-3-Clause", | ||
"dependencies": { | ||
"bcrypt": "^0.8.5", | ||
"body-parser": "~1.8.1", | ||
"cookie-parser": "~1.3.3", | ||
"debug": "~2.0.0", | ||
"express": "~4.9.0", | ||
"jade": "~1.6.0", | ||
"jsonwebtoken": "~5.4.0", | ||
"jws": "^2.0.0", | ||
"morgan": "~1.3.0", | ||
"request": "^2.65.0", | ||
"sequelize": "~3.12.0", | ||
"serve-favicon": "~2.1.3", | ||
"spartan-api": "~0", | ||
"mysql": "^2.9.0", | ||
"request": "^2.65.0", | ||
"sequelize": "~3.12.0", | ||
"serve-favicon": "~2.1.3" | ||
}, | ||
"description": "Spartan - A Scalable Client Authentication & Authorization System for Container-based Environments" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters