1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-11-28 10:24:10 +01:00

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
This commit is contained in:
Matthew Malinowski 2014-10-02 10:10:42 -04:00
parent bc06f16e43
commit d74849248c

View File

@ -12,6 +12,10 @@
"url": "http://datatables.net/license"
}
],
"repository": {
"type": "git",
"url": "https://github.com/DataTables/DataTables.git"
},
"dependencies": {
"jquery": ">=1.7"
},