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": {
|
2021-09-13 21:19:58 +00:00
|
|
|
"start": "bash dev-scripts/setup-storybook.sh && start-storybook --quiet -p 6006 -s resources/skins.vector.styles",
|
2022-01-26 22:10:35 +00:00
|
|
|
"test": "npm -s run lint && tsc && npm run test:unit && npm -s run doc",
|
|
|
|
"test:unit": "jest --silent",
|
2022-04-07 20:13:17 +00:00
|
|
|
"test:a11y": "node tests/a11y/runA11yTests.js",
|
|
|
|
"selenium-daily": "node tests/a11y/runA11yTests.js --logResults",
|
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-04-15 17:03:21 +00:00
|
|
|
"doc": "jsdoc -c jsdoc.json && npm run build-storybook -s resources/skins.vector.styles",
|
2020-10-16 22:25:55 +00:00
|
|
|
"build-storybook": "bash dev-scripts/setup-storybook.sh && build-storybook --quiet --loglevel warn -o docs/ui",
|
2022-02-27 11:34:24 +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",
|
2022-03-15 19:01:51 +00:00
|
|
|
"peerDependencies": {
|
2022-05-11 20:08:41 +00:00
|
|
|
"babel-core": "6.26.3"
|
2022-03-15 19:01:51 +00:00
|
|
|
},
|
2017-03-25 13:52:01 +00:00
|
|
|
"devDependencies": {
|
2020-01-09 22:11:00 +00:00
|
|
|
"@babel/core": "7.7.7",
|
|
|
|
"@storybook/html": "5.2.8",
|
2022-01-26 22:10:35 +00:00
|
|
|
"@types/jest": "26.0.24",
|
2020-03-09 18:31:36 +00:00
|
|
|
"@types/jquery": "3.3.33",
|
|
|
|
"@types/mustache": "4.0.1",
|
2020-06-02 14:23:56 +00:00
|
|
|
"@types/node-fetch": "2.5.7",
|
2022-05-11 20:08:41 +00:00
|
|
|
"@vue/composition-api": "1.4.5",
|
2022-01-26 22:10:35 +00:00
|
|
|
"@vue/test-utils": "1.1.0",
|
|
|
|
"@wikimedia/mw-node-qunit": "6.3.0",
|
2022-03-25 22:59:46 +00:00
|
|
|
"@wikimedia/types-wikimedia": "0.3.3",
|
2022-01-26 22:10:35 +00:00
|
|
|
"@wikimedia/wvui": "0.3.5",
|
2020-01-09 22:11:00 +00:00
|
|
|
"babel-loader": "8.0.6",
|
2022-03-16 22:26:04 +00:00
|
|
|
"commander": "9.1.0",
|
2022-05-16 13:25:03 +00:00
|
|
|
"eslint-config-wikimedia": "0.22.1",
|
2020-04-17 23:31:04 +00:00
|
|
|
"grunt-banana-checker": "0.9.0",
|
2022-01-26 22:10:35 +00:00
|
|
|
"jest": "26.4.2",
|
2022-02-02 21:17:56 +00:00
|
|
|
"jest-fetch-mock": "3.0.3",
|
2022-05-20 11:38:17 +00:00
|
|
|
"jsdoc": "3.6.10",
|
2022-02-02 21:17:56 +00:00
|
|
|
"jsdoc-wmf-theme": "0.0.5",
|
2020-01-09 22:11:00 +00:00
|
|
|
"less": "3.8.1",
|
|
|
|
"less-loader": "4.1.0",
|
|
|
|
"mustache": "3.0.1",
|
2022-05-20 11:38:17 +00:00
|
|
|
"node-fetch": "2.6.7",
|
2022-03-16 22:26:04 +00:00
|
|
|
"pa11y": "6.1.1",
|
2022-05-16 13:04:28 +00:00
|
|
|
"postcss-less": "6.0.0",
|
2020-03-09 20:36:30 +00:00
|
|
|
"pre-commit": "1.2.2",
|
2022-05-16 13:04:28 +00:00
|
|
|
"stylelint-config-wikimedia": "0.13.0",
|
2022-02-27 11:34:24 +00:00
|
|
|
"svgo": "2.8.0",
|
2022-01-24 22:46:47 +00:00
|
|
|
"typescript": "4.5.5",
|
2022-01-26 22:10:35 +00:00
|
|
|
"vue": "2.6.11",
|
2022-05-11 20:08:41 +00:00
|
|
|
"vue-jest": "3.0.7",
|
|
|
|
"vue-template-compiler": "2.6.11"
|
2017-03-25 13:52:01 +00:00
|
|
|
}
|
2015-06-25 19:11:24 +00:00
|
|
|
}
|