mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-29 16:45:28 +00:00
f72af5e76d
* 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>
25 lines
725 B
JSON
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
|
|
}
|
|
}
|