summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGianluca Casati <casati_gianluca@yahoo.it>2014-11-12 18:40:56 +0100
committerGianluca Casati <casati_gianluca@yahoo.it>2014-11-12 18:40:56 +0100
commitcb0b0149a3c2fe84781de1689be6df9d21cf841a (patch)
tree8e5e2b8f7ea7fae03104eec03c0d3ab5a3c24cc1
parent7984a87786effaed2ed6e517c899cc68204e4e6b (diff)
downloadsvg.js-cb0b0149a3c2fe84781de1689be6df9d21cf841a.tar.gz
svg.js-cb0b0149a3c2fe84781de1689be6df9d21cf841a.zip
Fixed npm warning about "repositories" property
After adding *svg.js* as a dependency ``` $ npm install svg.js --save svg.js@1.0.1 node_modules/svg.js ``` when I update deps I get a warning ``` $ npm install npm WARN package.json svg.js@1.0.1 'repositories' (plural) Not supported. npm WARN package.json Please pick one as the 'repository' field svg.js@1.0.1 node_modules/svg.js ```
-rwxr-xr-xpackage.json10
1 files changed, 4 insertions, 6 deletions
diff --git a/package.json b/package.json
index 6d586f1..35f22e0 100755
--- a/package.json
+++ b/package.json
@@ -27,11 +27,9 @@
, "url": "http://www.opensource.org/licenses/mit-license.php"
}
]
-, "repositories": [
- {
- "type": "git"
- , "url": "https://github.com/wout/svg.js.git"
- }
- ]
+, "repository": {
+ "type": "git"
+ , "url": "https://github.com/wout/svg.js.git"
+ }
, "github": "https://github.com/wout/svg.js"
}