diff options
author | Gianluca Casati <casati_gianluca@yahoo.it> | 2014-11-12 18:40:56 +0100 |
---|---|---|
committer | Gianluca Casati <casati_gianluca@yahoo.it> | 2014-11-12 18:40:56 +0100 |
commit | cb0b0149a3c2fe84781de1689be6df9d21cf841a (patch) | |
tree | 8e5e2b8f7ea7fae03104eec03c0d3ab5a3c24cc1 | |
parent | 7984a87786effaed2ed6e517c899cc68204e4e6b (diff) | |
download | svg.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-x | package.json | 10 |
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" } |