mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-27 15:50:34 +00:00
549aeedd16
Also change script name to 'minify-svg' to align with other projects using svgo
23 lines
742 B
JSON
23 lines
742 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",
|
|
"minify-svg": "svgo --config=.svgo.config.js -q -r -f resources/"
|
|
},
|
|
"devDependencies": {
|
|
"eslint-config-wikimedia": "0.20.0",
|
|
"grunt-banana-checker": "0.9.0",
|
|
"jsdoc": "3.6.3",
|
|
"jsdoc-wmf-theme": "0.0.3",
|
|
"stylelint-config-idiomatic-order": "8.1.0",
|
|
"stylelint-config-wikimedia": "0.10.3",
|
|
"svgo": "2.3.0"
|
|
}
|
|
}
|