keycloak-scim/js/apps/admin-ui/package.json
Jon Koops b1a6a5a1b0
Run Cypress tests in parallel using cypress-split (#20685)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-02-20 11:10:54 +01:00

115 lines
3.3 KiB
JSON

{
"name": "admin-ui",
"type": "module",
"scripts": {
"dev": "wireit",
"build": "wireit",
"preview": "wireit",
"lint": "wireit",
"test": "wireit",
"cy:open": "cypress open --e2e --browser chrome",
"cy:run": "cypress run --browser chrome",
"cy:check-types": "wireit",
"cy:ldap-server": "ldap-server-mock --conf=./cypress/fixtures/ldap/server.json --database=./cypress/fixtures/ldap/users.json"
},
"wireit": {
"dev": {
"command": "vite --host",
"dependencies": [
"../../libs/ui-shared:build",
"../../libs/keycloak-js:build",
"../../libs/keycloak-admin-client:build"
]
},
"preview": {
"command": "vite preview",
"dependencies": [
"../../libs/ui-shared:build",
"../../libs/keycloak-js:build",
"../../libs/keycloak-admin-client:build"
]
},
"build": {
"command": "vite build",
"dependencies": [
"../../libs/ui-shared:build",
"../../libs/keycloak-js:build",
"../../libs/keycloak-admin-client:build"
]
},
"lint": {
"command": "eslint . --ext js,jsx,mjs,ts,tsx",
"dependencies": [
"../../libs/ui-shared:build",
"../../libs/keycloak-js:build",
"../../libs/keycloak-admin-client:build"
]
},
"test": {
"command": "vitest",
"dependencies": [
"../../libs/ui-shared:build",
"../../libs/keycloak-js:build",
"../../libs/keycloak-admin-client:build"
]
},
"cy:check-types": {
"command": "tsc --project cypress/tsconfig.json",
"dependencies": [
"../../libs/keycloak-admin-client:build"
]
}
},
"dependencies": {
"@keycloak/keycloak-admin-client": "workspace:*",
"@patternfly/patternfly": "^4.224.5",
"@patternfly/react-code-editor": "^4.82.121",
"@patternfly/react-core": "^4.278.0",
"@patternfly/react-icons": "^4.93.7",
"@patternfly/react-styles": "^4.92.8",
"@patternfly/react-table": "^4.113.6",
"admin-ui": "file:",
"dagre": "^0.8.5",
"file-saver": "^2.0.5",
"file-selector": "^0.6.0",
"flat": "^6.0.1",
"i18next": "^23.9.0",
"i18next-http-backend": "^2.4.3",
"keycloak-js": "workspace:*",
"lodash-es": "^4.17.21",
"monaco-editor": "^0.46.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"react-hook-form": "^7.50.1",
"react-i18next": "^14.0.5",
"react-router-dom": "^6.22.1",
"reactflow": "^11.10.4",
"ui-shared": "workspace:*",
"use-react-router-breadcrumbs": "^4.0.1"
},
"devDependencies": {
"@4tw/cypress-drag-drop": "^2.2.5",
"@testing-library/cypress": "^10.0.1",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/dagre": "^0.7.52",
"@types/file-saver": "^2.0.7",
"@types/lodash-es": "^4.17.12",
"@types/react": "^18.2.57",
"@types/react-dom": "^18.2.19",
"@types/uuid": "^9.0.8",
"@vitejs/plugin-react-swc": "^3.6.0",
"cypress": "^13.6.4",
"cypress-axe": "^1.5.0",
"cypress-split": "^1.20.1",
"jsdom": "^24.0.0",
"ldap-server-mock": "^6.0.1",
"lightningcss": "^1.23.0",
"ts-node": "^10.9.2",
"uuid": "^9.0.1",
"vite": "^5.1.3",
"vite-plugin-checker": "^0.6.4",
"vitest": "^1.3.0"
}
}