2022-08-25 09:03:07 +00:00
|
|
|
{
|
|
|
|
"name": "admin-ui",
|
2023-11-28 12:26:14 +00:00
|
|
|
"type": "module",
|
2022-08-25 09:03:07 +00:00
|
|
|
"scripts": {
|
2022-09-14 12:42:19 +00:00
|
|
|
"dev": "wireit",
|
|
|
|
"build": "wireit",
|
|
|
|
"preview": "wireit",
|
|
|
|
"lint": "wireit",
|
|
|
|
"test": "wireit",
|
2022-08-25 09:03:07 +00:00
|
|
|
"cy:open": "cypress open --e2e --browser chrome",
|
|
|
|
"cy:run": "cypress run --browser chrome",
|
2022-11-08 14:01:11 +00:00
|
|
|
"cy:check-types": "wireit",
|
2022-11-15 15:42:38 +00:00
|
|
|
"cy:ldap-server": "ldap-server-mock --conf=./cypress/fixtures/ldap/server.json --database=./cypress/fixtures/ldap/users.json"
|
2022-08-25 09:03:07 +00:00
|
|
|
},
|
2022-09-14 12:42:19 +00:00
|
|
|
"wireit": {
|
|
|
|
"dev": {
|
|
|
|
"command": "vite --host",
|
|
|
|
"dependencies": [
|
2023-03-02 12:31:21 +00:00
|
|
|
"../../libs/ui-shared:build",
|
2022-11-08 14:01:11 +00:00
|
|
|
"../../libs/keycloak-js:build",
|
|
|
|
"../../libs/keycloak-admin-client:build"
|
2022-09-14 12:42:19 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"preview": {
|
|
|
|
"command": "vite preview",
|
|
|
|
"dependencies": [
|
2023-03-02 12:31:21 +00:00
|
|
|
"../../libs/ui-shared:build",
|
2022-11-08 14:01:11 +00:00
|
|
|
"../../libs/keycloak-js:build",
|
|
|
|
"../../libs/keycloak-admin-client:build"
|
2022-09-14 12:42:19 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"command": "vite build",
|
|
|
|
"dependencies": [
|
2023-03-02 12:31:21 +00:00
|
|
|
"../../libs/ui-shared:build",
|
2022-11-08 14:01:11 +00:00
|
|
|
"../../libs/keycloak-js:build",
|
|
|
|
"../../libs/keycloak-admin-client:build"
|
2022-09-14 12:42:19 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"command": "eslint . --ext js,jsx,mjs,ts,tsx",
|
|
|
|
"dependencies": [
|
2023-03-02 12:31:21 +00:00
|
|
|
"../../libs/ui-shared:build",
|
2022-11-08 14:01:11 +00:00
|
|
|
"../../libs/keycloak-js:build",
|
|
|
|
"../../libs/keycloak-admin-client:build"
|
2022-09-14 12:42:19 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"command": "vitest",
|
|
|
|
"dependencies": [
|
2023-03-02 12:31:21 +00:00
|
|
|
"../../libs/ui-shared:build",
|
2022-11-08 14:01:11 +00:00
|
|
|
"../../libs/keycloak-js:build",
|
|
|
|
"../../libs/keycloak-admin-client:build"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"cy:check-types": {
|
|
|
|
"command": "tsc --project cypress/tsconfig.json",
|
|
|
|
"dependencies": [
|
|
|
|
"../../libs/keycloak-admin-client:build"
|
2022-09-14 12:42:19 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2022-08-25 09:03:07 +00:00
|
|
|
"dependencies": {
|
2023-05-05 16:03:24 +00:00
|
|
|
"@keycloak/keycloak-admin-client": "workspace:*",
|
2023-11-14 12:49:04 +00:00
|
|
|
"@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",
|
2023-03-22 16:14:53 +00:00
|
|
|
"admin-ui": "file:",
|
2022-08-25 09:03:07 +00:00
|
|
|
"dagre": "^0.8.5",
|
|
|
|
"file-saver": "^2.0.5",
|
2023-05-05 16:03:24 +00:00
|
|
|
"file-selector": "^0.6.0",
|
2023-09-20 08:10:58 +00:00
|
|
|
"flat": "^6.0.1",
|
2023-12-13 08:27:11 +00:00
|
|
|
"i18next": "^23.7.9",
|
2023-11-21 08:48:09 +00:00
|
|
|
"i18next-http-backend": "^2.4.2",
|
2023-05-05 16:03:24 +00:00
|
|
|
"keycloak-js": "workspace:*",
|
2022-08-25 09:03:07 +00:00
|
|
|
"lodash-es": "^4.17.21",
|
2023-12-08 10:28:19 +00:00
|
|
|
"monaco-editor": "^0.45.0",
|
2023-02-13 07:18:16 +00:00
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0",
|
2022-10-17 08:39:55 +00:00
|
|
|
"react-dropzone": "^14.2.3",
|
2022-08-25 09:03:07 +00:00
|
|
|
"react-error-boundary": "^3.1.4",
|
2023-12-14 08:30:35 +00:00
|
|
|
"react-hook-form": "^7.49.2",
|
2023-11-16 09:41:05 +00:00
|
|
|
"react-i18next": "^13.5.0",
|
2023-12-14 12:01:05 +00:00
|
|
|
"react-router-dom": "^6.21.0",
|
2023-11-14 13:17:37 +00:00
|
|
|
"reactflow": "^11.10.1",
|
2023-05-05 16:03:24 +00:00
|
|
|
"ui-shared": "workspace:*",
|
2023-01-18 12:09:49 +00:00
|
|
|
"use-react-router-breadcrumbs": "^4.0.1"
|
2022-08-25 09:03:07 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-09-14 10:20:50 +00:00
|
|
|
"@4tw/cypress-drag-drop": "^2.2.5",
|
2023-09-14 08:44:24 +00:00
|
|
|
"@testing-library/cypress": "^10.0.1",
|
2023-12-01 10:49:00 +00:00
|
|
|
"@testing-library/jest-dom": "^6.1.5",
|
2023-11-20 11:01:25 +00:00
|
|
|
"@testing-library/react": "^14.1.2",
|
2023-11-14 16:19:27 +00:00
|
|
|
"@types/dagre": "^0.7.52",
|
2023-11-14 13:14:13 +00:00
|
|
|
"@types/file-saver": "^2.0.7",
|
2023-11-22 08:49:24 +00:00
|
|
|
"@types/lodash-es": "^4.17.12",
|
2023-12-14 08:31:09 +00:00
|
|
|
"@types/react": "^18.2.45",
|
2023-11-23 10:29:43 +00:00
|
|
|
"@types/react-dom": "^18.2.17",
|
2023-11-14 16:23:49 +00:00
|
|
|
"@types/uuid": "^9.0.7",
|
2023-11-16 17:45:34 +00:00
|
|
|
"@vitejs/plugin-react-swc": "^3.5.0",
|
2023-12-06 08:42:05 +00:00
|
|
|
"cypress": "^13.6.1",
|
2023-09-03 11:20:35 +00:00
|
|
|
"cypress-axe": "^1.5.0",
|
2023-12-01 10:49:17 +00:00
|
|
|
"jsdom": "^23.0.1",
|
2022-11-14 11:25:16 +00:00
|
|
|
"ldap-server-mock": "^6.0.1",
|
2023-11-14 23:49:03 +00:00
|
|
|
"lightningcss": "^1.22.1",
|
2023-12-11 09:05:12 +00:00
|
|
|
"ts-node": "^10.9.2",
|
2023-09-14 08:47:47 +00:00
|
|
|
"uuid": "^9.0.1",
|
2023-12-13 08:26:40 +00:00
|
|
|
"vite": "^5.0.8",
|
2023-08-21 10:04:10 +00:00
|
|
|
"vite-plugin-checker": "^0.6.2",
|
2023-12-11 12:31:42 +00:00
|
|
|
"vitest": "^1.0.4"
|
2022-08-25 09:03:07 +00:00
|
|
|
}
|
|
|
|
}
|