From: Gianluca Casati Date: Wed, 12 Nov 2014 17:40:56 +0000 (+0100) Subject: Fixed npm warning about "repositories" property X-Git-Tag: 1.1.0~20^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F286%2Fhead;p=svg.js.git 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 ``` --- 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" }