summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorBryan Davis2017-07-01 15:41:56 -0600
committerBryan Davis2017-07-01 15:41:56 -0600
commit723c9d79b665ecfbbfa9f92b6f84710724ba1713 (patch)
tree80c18e09e88f49a442e18f4d64186a21ddf9248d /package.json
parentec2813f06e7cbdd0079a4f344aa22080bceb147c (diff)
Use git URLs in package.json
Using the "github:..." form to declare a dependency in package.json makes npm attempt to install the package using an ssh clone rather than an https clone. Some deployment environments may not allow ssh access to external servers which will prevent the clones from succeeding. Using the "git+https://..." form will clone the same repo from GitHub without requiring ssh connectivity.
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index e4a0c7e9..b0f1ae17 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,7 @@
"start": "node app.js"
},
"dependencies": {
- "Idle.Js": "github:shawnmclean/Idle.js",
+ "Idle.Js": "git+https://github.com/shawnmclean/Idle.js",
"async": "^2.1.4",
"aws-sdk": "^2.7.20",
"blueimp-md5": "^2.6.0",
@@ -96,7 +96,7 @@
"pg-hstore": "^2.3.2",
"prismjs": "^1.6.0",
"randomcolor": "^0.4.4",
- "raphael": "github:dmitrybaranovskiy/raphael",
+ "raphael": "git+https://github.com/dmitrybaranovskiy/raphael",
"request": "^2.79.0",
"reveal.js": "^3.3.0",
"scrypt": "^6.0.3",