mediawiki-skins-Citizen/package.json
alistair3149 f72af5e76d
Improve CI and code clean up (#143)
* Replace existing grunt linter

* Fix stylesheet issues picked up by stylelint

* Update the git workflow

* Fix incorrect slash in workflow file

* Github CI lint - eslint/stylelint

* Clean up composer

* Fix phpcb error

* MediaWiki CI

* Change commit message

* Update status badge

* Add JSDoc

* Add SVGO

* Make a dinner reservation - MediaWiki CI

I clean up code to MediaWiki standards

* Optimize SVG files with SVGO

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-16 22:49:41 -04:00

25 lines
725 B
JSON

{
"private": true,
"scripts": {
"lint": "npm -s run lint:js && npm -s run lint:styles && npm -s run lint:i18n",
"lint:fix:js": "npm -s run lint:js -- --fix",
"lint:fix:styles": "npm -s run lint:styles -- --fix",
"lint:js": "eslint --cache --max-warnings 0 .",
"lint:styles": "stylelint \"**/*.{less,css}\"",
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
"doc": "jsdoc -c jsdoc.json",
"svgmin": "svgo --config=.svgo.yml -q -r -f resources/"
},
"devDependencies": {
"eslint-config-wikimedia": "0.15.3",
"grunt-banana-checker": "0.9.0",
"jsdoc": "3.6.3",
"jsdoc-wmf-theme": "0.0.3",
"stylelint-config-wikimedia": "0.10.1",
"svgo": "1.3.2"
},
"jshintConfig": {
"esversion": 6
}
}