2022-08-25 09:03:07 +00:00
|
|
|
{
|
|
|
|
"name": "admin-ui",
|
|
|
|
"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",
|
2023-02-06 10:52:36 +00:00
|
|
|
"cy:run-component": "wireit",
|
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"
|
|
|
|
]
|
|
|
|
},
|
2023-02-06 10:52:36 +00:00
|
|
|
"cy:run-component": {
|
|
|
|
"command": "cypress run --browser chrome --component",
|
|
|
|
"dependencies": [
|
|
|
|
"../../libs/keycloak-admin-client:build"
|
|
|
|
]
|
|
|
|
},
|
2022-11-08 14:01:11 +00:00
|
|
|
"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-03-03 10:11:55 +00:00
|
|
|
"@keycloak/keycloak-admin-client": "999.0.0-SNAPSHOT",
|
2023-01-27 16:29:38 +00:00
|
|
|
"@patternfly/patternfly": "^4.224.2",
|
2023-02-03 11:59:46 +00:00
|
|
|
"@patternfly/react-code-editor": "^4.82.113",
|
|
|
|
"@patternfly/react-core": "^4.276.6",
|
2023-01-27 16:29:38 +00:00
|
|
|
"@patternfly/react-icons": "^4.93.6",
|
2023-02-03 11:59:46 +00:00
|
|
|
"@patternfly/react-table": "^4.112.39",
|
2022-08-25 09:03:07 +00:00
|
|
|
"dagre": "^0.8.5",
|
|
|
|
"file-saver": "^2.0.5",
|
|
|
|
"flat": "^5.0.2",
|
2023-03-07 11:10:08 +00:00
|
|
|
"i18next": "^22.4.11",
|
2022-12-27 16:45:06 +00:00
|
|
|
"i18next-http-backend": "^2.1.1",
|
2023-03-03 10:11:55 +00:00
|
|
|
"keycloak-js": "999.0.0-SNAPSHOT",
|
2022-08-25 09:03:07 +00:00
|
|
|
"lodash-es": "^4.17.21",
|
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-03-07 11:10:08 +00:00
|
|
|
"react-hook-form": "^7.43.5",
|
2023-02-28 12:44:27 +00:00
|
|
|
"react-i18next": "^12.2.0",
|
2023-02-28 13:17:10 +00:00
|
|
|
"react-router-dom": "6.8.2",
|
2023-02-13 17:16:40 +00:00
|
|
|
"reactflow": "^11.5.6",
|
2023-03-03 10:11:55 +00:00
|
|
|
"ui-shared": "999.0.0-SNAPSHOT",
|
2023-01-18 12:09:49 +00:00
|
|
|
"use-react-router-breadcrumbs": "^4.0.1"
|
2022-08-25 09:03:07 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-12-14 09:25:19 +00:00
|
|
|
"@4tw/cypress-drag-drop": "^2.2.3",
|
2023-02-10 11:40:41 +00:00
|
|
|
"@testing-library/cypress": "^9.0.0",
|
2022-08-25 09:03:07 +00:00
|
|
|
"@testing-library/jest-dom": "^5.16.5",
|
2023-02-20 14:21:58 +00:00
|
|
|
"@testing-library/react": "^14.0.0",
|
2022-08-30 08:34:52 +00:00
|
|
|
"@types/dagre": "^0.7.48",
|
2022-08-25 09:03:07 +00:00
|
|
|
"@types/file-saver": "^2.0.5",
|
|
|
|
"@types/flat": "^5.0.2",
|
|
|
|
"@types/lodash-es": "^4.17.6",
|
2023-02-13 09:11:39 +00:00
|
|
|
"@types/react": "^18.0.28",
|
2023-02-20 14:18:10 +00:00
|
|
|
"@types/react-dom": "^18.0.11",
|
2023-02-20 15:38:11 +00:00
|
|
|
"@vitejs/plugin-react-swc": "^3.2.0",
|
2023-02-28 12:47:01 +00:00
|
|
|
"cypress": "^12.7.0",
|
2023-01-23 12:54:22 +00:00
|
|
|
"jsdom": "^21.1.0",
|
2022-11-14 11:25:16 +00:00
|
|
|
"ldap-server-mock": "^6.0.1",
|
2022-08-25 09:03:07 +00:00
|
|
|
"ts-node": "^10.9.1",
|
2023-02-28 13:17:42 +00:00
|
|
|
"vite": "^4.1.4",
|
2023-02-20 14:18:57 +00:00
|
|
|
"vite-plugin-checker": "^0.5.6",
|
2023-03-03 12:26:45 +00:00
|
|
|
"vitest": "^0.29.2"
|
2022-08-25 09:03:07 +00:00
|
|
|
}
|
|
|
|
}
|