23 行
678 B
JSON
23 行
678 B
JSON
{
|
|
"name": "gongbi",
|
|
"private": true,
|
|
"scripts": {
|
|
"minify-svg": "svgo --config=.svgo.config.js --quiet --recursive --folder resources/images",
|
|
"test": "grunt test",
|
|
"lint": "npm -s run lint:js && npm -s run lint:styles",
|
|
"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}\""
|
|
},
|
|
"devDependencies": {
|
|
"eslint-config-wikimedia": "0.25.1",
|
|
"grunt": "1.6.1",
|
|
"grunt-banana-checker": "0.11.1",
|
|
"grunt-eslint": "24.3.0",
|
|
"grunt-stylelint": "0.19.0",
|
|
"stylelint-config-wikimedia": "0.16.1",
|
|
"svgo": "3.0.2"
|
|
}
|
|
}
|