2019-12-26 15:08:10 +08:00
|
|
|
{
|
2023-07-26 21:00:21 +08:00
|
|
|
"name": "citizen",
|
2019-12-26 15:08:10 +08:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2020-06-17 10:49:41 +08:00
|
|
|
"lint": "npm -s run lint:js && npm -s run lint:styles && npm -s run lint:i18n",
|
2023-11-18 17:07:57 +08:00
|
|
|
"lint:fix": "npm -s run lint:fix:js && npm -s run lint:fix:styles && npm -s run lint:i18n",
|
2020-06-17 10:49:41 +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}\"",
|
|
|
|
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
|
2023-11-18 19:56:10 +08:00
|
|
|
"minify-svg": "svgo --config=.svgo.config.js --quiet --recursive --folder resources/",
|
2024-03-28 22:37:24 +08:00
|
|
|
"test": "",
|
|
|
|
"prepare": "husky",
|
2022-04-27 00:19:22 +08:00
|
|
|
"release": "standard-version",
|
|
|
|
"release:minor": "standard-version --release-as minor",
|
2022-04-27 00:24:32 +08:00
|
|
|
"release:patch": "standard-version --release-as patch",
|
|
|
|
"release:major": "standard-version --release-as major"
|
2019-12-26 15:08:10 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-04-24 08:55:34 +08:00
|
|
|
"@commitlint/cli": "^19.3.0",
|
2024-04-15 09:14:56 +08:00
|
|
|
"@commitlint/config-conventional": "^19.2.2",
|
2024-03-28 22:37:24 +08:00
|
|
|
"@wikimedia/types-wikimedia": "0.4.2",
|
2022-09-30 08:39:27 +08:00
|
|
|
"devmoji": "^2.3.0",
|
2024-04-01 08:57:36 +08:00
|
|
|
"eslint-config-wikimedia": "0.27.0",
|
2023-12-15 17:23:36 +08:00
|
|
|
"eslint-plugin-unicorn": "latest",
|
2024-05-06 08:53:28 +08:00
|
|
|
"grunt-banana-checker": "0.12.0",
|
2024-02-14 08:20:29 +08:00
|
|
|
"husky": "^9.0.11",
|
2022-05-16 12:54:08 +08:00
|
|
|
"standard-version": "^9.5.0",
|
2024-03-28 22:37:24 +08:00
|
|
|
"stylelint": "^15.11.0",
|
2023-11-18 17:07:57 +08:00
|
|
|
"stylelint-config-wikimedia": "latest",
|
2024-05-10 08:36:54 +08:00
|
|
|
"svgo": "3.3.2"
|
2022-04-28 04:49:13 +08:00
|
|
|
},
|
2022-12-15 03:10:10 +08:00
|
|
|
"version": "2.3.0"
|
2019-12-26 15:08:10 +08:00
|
|
|
}
|