2015-06-25 19:11:24 +00:00
|
|
|
{
|
2022-05-20 11:38:17 +00:00
|
|
|
"name": "Vector",
|
2017-03-25 13:52:01 +00:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2022-10-18 16:46:00 +00:00
|
|
|
"test": "npm -s run lint && tsc && npm run test:unit",
|
2022-01-26 22:10:35 +00:00
|
|
|
"test:unit": "jest --silent",
|
2023-01-16 11:39:05 +00:00
|
|
|
"test:unit:updateSnapshot": "jest --updateSnapshot",
|
2020-02-25 23:49:15 +00:00
|
|
|
"lint": "npm -s run lint:js && npm -s run lint:styles && npm -s run lint:i18n",
|
2020-03-05 21:26:20 +00:00
|
|
|
"lint:fix:js": "npm -s run lint:js -- --fix",
|
|
|
|
"lint:fix:styles": "npm -s run lint:styles -- --fix",
|
2021-02-05 19:16:27 +00:00
|
|
|
"lint:js": "eslint --cache .",
|
2020-02-25 23:49:15 +00:00
|
|
|
"lint:styles": "stylelint \"**/*.{less,css}\"",
|
|
|
|
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
|
2022-10-18 16:46:00 +00:00
|
|
|
"doc": "echo 'N/A'",
|
2024-01-11 22:28:28 +00:00
|
|
|
"minify:svg": "svgo --config=.svgo.config.js --quiet --recursive --folder resources/",
|
2020-07-31 02:53:19 +00:00
|
|
|
"pre-commit": "[ \"${PRE_COMMIT:-1}\" -eq 0 ] || npm -s t"
|
2017-03-25 13:52:01 +00:00
|
|
|
},
|
2020-07-31 02:53:19 +00:00
|
|
|
"pre-commit": "pre-commit",
|
2017-03-25 13:52:01 +00:00
|
|
|
"devDependencies": {
|
2023-09-22 17:31:56 +00:00
|
|
|
"@types/jest": "27.5.2",
|
|
|
|
"@types/jquery": "3.5.19",
|
|
|
|
"@types/mustache": "4.2.2",
|
|
|
|
"@types/node-fetch": "2.6.5",
|
|
|
|
"@vue/test-utils": "2.4.1",
|
|
|
|
"@vue/vue3-jest": "27.0.0",
|
2024-10-17 15:28:08 +00:00
|
|
|
"@wikimedia/codex": "1.14.0",
|
|
|
|
"@wikimedia/codex-icons": "1.14.0",
|
2023-08-25 21:41:28 +00:00
|
|
|
"@wikimedia/mw-node-qunit": "7.2.0",
|
2024-05-28 23:30:23 +00:00
|
|
|
"@wikimedia/types-wikimedia": "0.4.4",
|
2024-10-10 15:29:34 +00:00
|
|
|
"eslint-config-wikimedia": "0.28.2",
|
2024-05-18 08:21:34 +00:00
|
|
|
"grunt-banana-checker": "0.13.0",
|
2022-02-01 20:52:16 +00:00
|
|
|
"jest": "27.4.7",
|
2022-02-02 21:17:56 +00:00
|
|
|
"jest-fetch-mock": "3.0.3",
|
2020-01-09 22:11:00 +00:00
|
|
|
"mustache": "3.0.1",
|
2022-08-15 16:34:28 +00:00
|
|
|
"mustache-jest": "1.1.1",
|
2023-09-22 17:31:56 +00:00
|
|
|
"node-fetch": "3.3.2",
|
|
|
|
"oojs": "7.0.1",
|
2024-01-03 20:16:16 +00:00
|
|
|
"oojs-ui": "0.48.3",
|
2020-03-09 20:36:30 +00:00
|
|
|
"pre-commit": "1.2.2",
|
2024-10-10 15:29:34 +00:00
|
|
|
"stylelint-config-wikimedia": "0.17.2",
|
2024-01-11 22:28:28 +00:00
|
|
|
"svgo": "3.2.0",
|
2023-09-22 17:31:56 +00:00
|
|
|
"ts-jest": "27.1.5",
|
|
|
|
"typescript": "4.9.5",
|
2024-05-31 05:08:18 +00:00
|
|
|
"vue": "3.4.27"
|
2017-03-25 13:52:01 +00:00
|
|
|
}
|
2015-06-25 19:11:24 +00:00
|
|
|
}
|