2015-10-31 04:42:24 +08:00
|
|
|
{
|
2022-11-20 17:17:04 +08:00
|
|
|
"name": "gongbi",
|
2022-04-30 13:22:15 +08:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"minify-svg": "svgo --config=.svgo.config.js --quiet --recursive --folder resources/images",
|
2023-08-24 11:32:45 +08:00
|
|
|
"test": "grunt test",
|
2023-10-22 20:26:09 +08:00
|
|
|
"lint": "npm -s run lint:js && npm -s run lint:styles",
|
2023-08-24 11:32:45 +08:00
|
|
|
"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}\""
|
2022-04-30 13:22:15 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-12-15 17:06:51 +08:00
|
|
|
"eslint-config-wikimedia": "latest",
|
2023-03-13 17:09:17 +08:00
|
|
|
"grunt": "1.6.1",
|
2024-05-06 09:14:48 +08:00
|
|
|
"grunt-banana-checker": "0.12.0",
|
2024-04-12 08:41:42 +08:00
|
|
|
"grunt-eslint": "25.0.0",
|
2024-05-12 17:05:24 +08:00
|
|
|
"grunt-stylelint": "0.19.0",
|
|
|
|
"stylelint": "^15.11.0",
|
2023-12-15 17:06:51 +08:00
|
|
|
"stylelint-config-wikimedia": "latest",
|
2024-05-10 08:28:33 +08:00
|
|
|
"svgo": "3.3.2"
|
2022-04-30 13:22:15 +08:00
|
|
|
}
|
2015-10-31 04:42:24 +08:00
|
|
|
}
|