c0731ac502
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> Co-authored-by: Jon Koops <jonkoops@gmail.com>
116 lines
3.3 KiB
JSON
116 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.10.1",
|
|
"i18next-http-backend": "^2.5.0",
|
|
"keycloak-js": "workspace:*",
|
|
"lodash-es": "^4.17.21",
|
|
"monaco-editor": "^0.47.0",
|
|
"p-debounce": "^4.0.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-dropzone": "^14.2.3",
|
|
"react-hook-form": "^7.51.0",
|
|
"react-i18next": "^14.1.0",
|
|
"react-router-dom": "^6.22.3",
|
|
"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.65",
|
|
"@types/react-dom": "^18.2.21",
|
|
"@types/uuid": "^9.0.8",
|
|
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
"cypress": "^13.6.6",
|
|
"cypress-axe": "^1.5.0",
|
|
"cypress-split": "^1.21.0",
|
|
"jsdom": "^24.0.0",
|
|
"ldap-server-mock": "^6.0.1",
|
|
"lightningcss": "^1.24.0",
|
|
"ts-node": "^10.9.2",
|
|
"uuid": "^9.0.1",
|
|
"vite": "^5.1.6",
|
|
"vite-plugin-checker": "^0.6.4",
|
|
"vitest": "^1.3.0"
|
|
}
|
|
}
|