From d74849248cc6b6258dce98dcb31a3b959ad95751 Mon Sep 17 00:00:00 2001 From: Matthew Malinowski Date: Thu, 2 Oct 2014 10:10:42 -0400 Subject: [PATCH] Add repository to package.json to stop npm error Hi! When installing DataTables from the repo with npm >v1.2.20, it'll WARN "No repository field." This small patch resolves that. (See https://www.npmjs.org/doc/files/package.json.html#repository or https://stackoverflow.com/questions/16827858/npm-warn-package-json-no-repository-field.) I hope it's ok to propose this change against DataTables/DataTables -- I couldn't find a `package.json` in DataTablesSrc. Thank you for your work!! M --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index b119a955..ef60536b 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,10 @@ "url": "http://datatables.net/license" } ], + "repository": { + "type": "git", + "url": "https://github.com/DataTables/DataTables.git" + }, "dependencies": { "jquery": ">=1.7" },