From 9cf26ce3aaf6721d83999eb2a5e34ab365063f36 Mon Sep 17 00:00:00 2001 From: Chris Knadler Date: Thu, 12 Dec 2013 23:51:18 -0800 Subject: [PATCH] Fix npm "dependencies" warning npm is issuing the following warning when using JSV: ``` npm WARN package.json JSV@4.0.2 'repositories' (plural) Not supported. npm WARN package.json Please pick one as the 'repository' field ``` This commit changes the `repositories` key in `package.json` to `repository` as per the new npm package schema: https://npmjs.org/doc/files/package.json.html --- package.json | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 4e29f9f..cf3da51 100644 --- a/package.json +++ b/package.json @@ -20,12 +20,10 @@ "mail" : "gary.court@gmail.com", "web" : "http://github.com/garycourt/JSV/issues" }, - "repositories" : [ - { - "type" : "git", - "url" : "git://github.com/garycourt/JSV.git" - } - ], + "repository" : { + "type" : "git", + "url" : "git://github.com/garycourt/JSV.git" + }, "dependencies" : [], "main" : "lib/jsv.js", "keywords" : ["json", "schema", "validator"]