113 lines
3.3 KiB
JSON
113 lines
3.3 KiB
JSON
{
|
|
"name": "admin-ui",
|
|
"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.2",
|
|
"@patternfly/react-code-editor": "^4.82.115",
|
|
"@patternfly/react-core": "^4.276.8",
|
|
"@patternfly/react-icons": "^4.93.6",
|
|
"@patternfly/react-styles": "^4.92.6",
|
|
"@patternfly/react-table": "^4.113.0",
|
|
"admin-ui": "file:",
|
|
"dagre": "^0.8.5",
|
|
"file-saver": "^2.0.5",
|
|
"file-selector": "^0.6.0",
|
|
"flat": "^5.0.2",
|
|
"i18next": "^22.5.0",
|
|
"i18next-http-backend": "^2.2.1",
|
|
"keycloak-js": "workspace:*",
|
|
"lodash-es": "^4.17.21",
|
|
"monaco-editor": "^0.34.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-dropzone": "^14.2.3",
|
|
"react-error-boundary": "^3.1.4",
|
|
"react-hook-form": "^7.44.3",
|
|
"react-i18next": "^12.3.1",
|
|
"react-router": "^6.11.2",
|
|
"react-router-dom": "6.11.2",
|
|
"reactflow": "^11.7.2",
|
|
"ui-shared": "workspace:*",
|
|
"use-react-router-breadcrumbs": "^4.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@4tw/cypress-drag-drop": "^2.2.4",
|
|
"@testing-library/cypress": "^9.0.0",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@testing-library/react": "^14.0.0",
|
|
"@types/dagre": "^0.7.48",
|
|
"@types/file-saver": "^2.0.5",
|
|
"@types/flat": "^5.0.2",
|
|
"@types/lodash-es": "^4.17.7",
|
|
"@types/react": "^18.2.8",
|
|
"@types/react-dom": "^18.2.4",
|
|
"@vitejs/plugin-react-swc": "^3.3.2",
|
|
"cypress": "^12.13.0",
|
|
"cypress-axe": "^1.4.0",
|
|
"jsdom": "^22.1.0",
|
|
"ldap-server-mock": "^6.0.1",
|
|
"ts-node": "^10.9.1",
|
|
"vite": "^4.3.9",
|
|
"vite-plugin-checker": "^0.6.0",
|
|
"vitest": "^0.31.4"
|
|
}
|
|
}
|