mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 01:09:20 +00:00
c490b19fd0
This updates mw-node-qunit Bug: T343930 Change-Id: Ice6b8983071b701b752f487935e62736097c2fe9
50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
{
|
|
"name": "Vector",
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "npm -s run lint && tsc && npm run test:unit",
|
|
"test:unit": "jest --silent",
|
|
"test:unit:updateSnapshot": "jest --updateSnapshot",
|
|
"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 .",
|
|
"lint:styles": "stylelint \"**/*.{less,css}\"",
|
|
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
|
|
"doc": "echo 'N/A'",
|
|
"minify-svg": "svgo --config=.svgo.config.js --quiet --recursive --folder resources/",
|
|
"pre-commit": "[ \"${PRE_COMMIT:-1}\" -eq 0 ] || npm -s t"
|
|
},
|
|
"pre-commit": "pre-commit",
|
|
"devDependencies": {
|
|
"@types/jest": "27.0.0",
|
|
"@types/jquery": "3.3.33",
|
|
"@types/mustache": "4.0.1",
|
|
"@types/node-fetch": "2.5.7",
|
|
"@vue/test-utils": "2.0.1",
|
|
"@vue/vue3-jest": "27.0.0-alpha.4",
|
|
"@wikimedia/codex": "0.11.0",
|
|
"@wikimedia/codex-icons": "0.11.0",
|
|
"@wikimedia/codex-search": "0.11.0",
|
|
"@wikimedia/mw-node-qunit": "7.2.0",
|
|
"@wikimedia/types-wikimedia": "0.4.1",
|
|
"eslint-config-wikimedia": "0.25.1",
|
|
"eslint-plugin-no-jquery": "2.7.0",
|
|
"grunt-banana-checker": "0.11.0",
|
|
"jest": "27.4.7",
|
|
"jest-fetch-mock": "3.0.3",
|
|
"mustache": "3.0.1",
|
|
"mustache-jest": "1.1.1",
|
|
"node-fetch": "2.6.7",
|
|
"oojs": "6.0.0",
|
|
"oojs-ui": "0.46.3",
|
|
"postcss-less": "6.0.0",
|
|
"pre-commit": "1.2.2",
|
|
"stylelint-config-wikimedia": "0.16.1",
|
|
"svgo": "3.0.2",
|
|
"ts-jest": "27.1.3",
|
|
"typescript": "4.5.5",
|
|
"vue": "3.2.37"
|
|
}
|
|
}
|