mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-11 05:46:09 +00:00
e5e48c3b1a
The `webdriverio` package does not need to be an explicit dependency. It is a dependency of `@wdio/cli`. Bug: T325059 Change-Id: Ida611141c76efc3f945d5e0f7b99fc603d5cdb2f
47 lines
1.8 KiB
JSON
47 lines
1.8 KiB
JSON
{
|
|
"name": "MinervaNeue",
|
|
"private": true,
|
|
"scripts": {
|
|
"storybook:setup": "./dev-scripts/setup-storybook.sh",
|
|
"storybook": "npm run storybook:setup && start-storybook -p 6006",
|
|
"build-storybook": "npm run storybook:setup && build-storybook -o docs/ui",
|
|
"lint": "npm -s run lint:styles && npm -s run lint:js && npm -s run lint:i18n",
|
|
"lint:fix": "npm -s run lint:styles -- --fix && npm -s run lint:js -- --fix && npm -s run lint:i18",
|
|
"lint:js": "eslint --cache .",
|
|
"lint:styles": "stylelint --cache --report-needless-disables '**/*.{css,less}'",
|
|
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
|
|
"test": "npm run lint && npm run doc && dev-scripts/svg_check.sh",
|
|
"test:a11y": "npx wmf-a11y --config 'tests/a11y/a11y.config.js'",
|
|
"minify-svg": "svgo --config=.svgo.config.js --quiet --recursive --folder resources/",
|
|
"doc": "jsdoc -c jsdoc.json && npm run build-storybook",
|
|
"selenium-test-cucumber": "wdio tests/selenium/wdio.conf.cucumber.js",
|
|
"selenium-daily": "npm run selenium-test && npx wmf-a11y --config 'tests/a11y/a11y.config.js' --logResults",
|
|
"selenium-test": "wdio tests/selenium/wdio.conf.js"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.7.7",
|
|
"@storybook/html": "5.2.8",
|
|
"@wdio/cli": "7.19.5",
|
|
"@wdio/cucumber-framework": "7.16.4",
|
|
"@wdio/dot-reporter": "7.16.4",
|
|
"@wdio/junit-reporter": "7.16.4",
|
|
"@wdio/local-runner": "7.19.5",
|
|
"@wdio/mocha-framework": "7.16.4",
|
|
"@wdio/sync": "7.19.5",
|
|
"babel-loader": "8.0.6",
|
|
"eslint-config-wikimedia": "0.22.1",
|
|
"grunt-banana-checker": "0.9.0",
|
|
"jsdoc": "3.6.10",
|
|
"less": "3.8.1",
|
|
"less-loader": "4.1.0",
|
|
"mustache": "3.0.1",
|
|
"mwbot": "2.0.0",
|
|
"postcss-less": "6.0.0",
|
|
"pre-commit": "1.2.2",
|
|
"stylelint-config-wikimedia": "0.13.0",
|
|
"svgo": "2.8.0",
|
|
"wdio-mediawiki": "1.2.0",
|
|
"wmf-a11y": "0.0.0"
|
|
}
|
|
}
|