mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
96aed4564e
Update all @wdio packages and webdriverio to v7. Update mwbot to v2. Do not update @wdio/cucumber-framework because of `error "cucumber" is not found node/no-missing-require` ESLint failure. Bug: T280975 Change-Id: I83b9963ba2647af01dd1ed1f8be0178e584a2024
45 lines
1.7 KiB
JSON
45 lines
1.7 KiB
JSON
{
|
|
"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 '**/*.{js,json}'",
|
|
"lint:styles": "stylelint '**/*.{css,less}'",
|
|
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
|
|
"test": "npm run lint && npm run doc && dev-scripts/svg_check.sh",
|
|
"minify-svg": "svgo --config=.svgo.config.js -q -r -f resources/",
|
|
"doc": "jsdoc -c jsdoc.json && npm run build-storybook",
|
|
"test:size": "node ./tests/resource-loader-bundlesize.js",
|
|
"selenium-test-cucumber": "wdio tests/selenium/wdio.conf.cucumber.js",
|
|
"selenium-daily": "MW_SERVER=https://en.m.wikipedia.beta.wmflabs.org npm run selenium-test",
|
|
"selenium-test": "npm -s run test:size && wdio tests/selenium/wdio.conf.js"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.7.7",
|
|
"@storybook/html": "5.2.8",
|
|
"@wdio/cli": "7.5.1",
|
|
"@wdio/cucumber-framework": "6.1.22",
|
|
"@wdio/local-runner": "7.5.1",
|
|
"@wdio/mocha-framework": "7.4.6",
|
|
"@wdio/spec-reporter": "7.4.3",
|
|
"@wdio/sync": "7.5.1",
|
|
"babel-loader": "8.0.6",
|
|
"bundlesize": "0.18.1",
|
|
"eslint-config-wikimedia": "0.20.0",
|
|
"grunt-banana-checker": "0.9.0",
|
|
"jsdoc": "3.6.4",
|
|
"less": "3.8.1",
|
|
"less-loader": "4.1.0",
|
|
"mustache": "3.0.1",
|
|
"mwbot": "2.0.0",
|
|
"pre-commit": "1.2.2",
|
|
"stylelint-config-wikimedia": "0.10.3",
|
|
"svgo": "2.3.0",
|
|
"wdio-mediawiki": "1.0.0",
|
|
"webdriverio": "7.5.1"
|
|
}
|
|
}
|