build: Remove obsolete jscsrc overriddes

Also remove redundant 'name', 'repository' and 'licenses' properties
in package.json.

* Repository: Needslessly hardcodes location of itself. Only relevant for npm publish.
* Licenses: Deprecated in favour of 'license'. Needless duplication
  of COPYING file. Only relevant for npm publish.

Change-Id: I2d8a99cf235fa70279c31367d5371d45a6abd4e5
This commit is contained in:
Timo Tijhof 2016-03-20 04:23:08 +00:00
parent 281b99bd27
commit ee283c19fb
2 changed files with 1 additions and 15 deletions

View file

@ -1,7 +1,4 @@
{
"preset": "wikimedia",
"es3": true,
"disallowQuotedKeysInObjects": "allButReserved",
"requireDotNotation": { "allExcept": [ "keywords" ] }
"es3": true
}

View file

@ -1,20 +1,9 @@
{
"name": "templatedata",
"private": true,
"scripts": {
"test": "grunt test",
"doc": "jsduck"
},
"repository": {
"type": "git",
"url": "https://gerrit.wikimedia.org/r/p/mediawiki/extensions/TemplateData.git"
},
"licenses": [
{
"type": "GPL v2+",
"url": "https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FTemplateData.git/master/COPYING"
}
],
"devDependencies": {
"grunt": "0.4.5",
"grunt-cli": "0.1.13",