f283160942
* root: specify node and python versions in respective config files, deduplicate in CI Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix engines missing for wdio Signed-off-by: Jens Langhammer <jens@goauthentik.io> * bump setup python version Signed-off-by: Jens Langhammer <jens@goauthentik.io> * actually don't bump a bunch of things Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
35 lines
1.4 KiB
JSON
35 lines
1.4 KiB
JSON
{
|
|
"name": "@goauthentik/web-tests",
|
|
"private": true,
|
|
"type": "module",
|
|
"devDependencies": {
|
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.11.0",
|
|
"@typescript-eslint/parser": "^6.11.0",
|
|
"@wdio/cli": "^8.23.0",
|
|
"@wdio/local-runner": "^8.23.0",
|
|
"@wdio/mocha-framework": "^8.23.0",
|
|
"@wdio/spec-reporter": "^8.23.0",
|
|
"eslint": "^8.53.0",
|
|
"eslint-config-google": "^0.14.0",
|
|
"eslint-plugin-sonarjs": "^0.23.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^3.1.0",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.2.2",
|
|
"wdio-wait-for": "^3.0.8"
|
|
},
|
|
"scripts": {
|
|
"wdio": "wdio run ./wdio.conf.ts",
|
|
"lint:precommit": "eslint --max-warnings 0 --config ./.eslintrc.precommit.json $(git status --porcelain . | grep '^[AM?][M?]' | cut -d'/' -f3- | grep -E '\\.(ts|js|tsx|jsx)$')",
|
|
"lint": "eslint . --max-warnings 0 --fix",
|
|
"lint:spelling": "codespell -D - -D $(git rev-parse --show-toplevel 2> /dev/null)/.github/codespell-dictionary.txt -I $(git rev-parse --show-toplevel 2> /dev/null)/.github/codespell-words.txt ./test -s",
|
|
"precommit": "run-s lint:precommit lint:spelling prettier",
|
|
"prettier-check": "prettier --check .",
|
|
"prettier": "prettier --write ."
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
}
|
|
}
|