mediawiki-skins-MinervaNeue/package.json
Vaughn Walters dd3fb66258 selenium: Refactor WebdriverIO tests from sync to async mode
WebdriverIO has dropped support of sync mode, hence changed to async.

Update npm packages: @wdio/*, wdio-mediawiki
because async mode needs at least @wdio v7.9.

Remove npm packages: @wdio/dot-reporter and @wdio/sync.

Bug: T293084
Change-Id: I5babbdadf21e9f951f69de93bfca5213a50965aa
(cherry picked from commit 677ce50b24)
2023-08-18 12:15:47 +01:00

36 lines
1.4 KiB
JSON

{
"name": "MinervaNeue",
"private": true,
"scripts": {
"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",
"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": {
"@wdio/cli": "7.30.1",
"@wdio/cucumber-framework": "7.30.2",
"@wdio/junit-reporter": "7.29.1",
"@wdio/local-runner": "7.30.1",
"@wdio/mocha-framework": "7.26.0",
"@wdio/spec-reporter": "7.29.1",
"eslint-config-wikimedia": "0.22.1",
"grunt-banana-checker": "0.10.0",
"jsdoc": "3.6.10",
"mwbot": "2.0.0",
"pre-commit": "1.2.2",
"stylelint-config-wikimedia": "0.13.0",
"svgo": "2.8.0",
"wdio-mediawiki": "2.1.0",
"wmf-a11y": "0.0.0"
}
}