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",
|
2022-11-08 14:01:11 +00:00
|
|
|
"cy:check-types": "wireit",
|
2022-10-27 13:49:10 +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
|
|
|
"server:start": "./scripts/start-server.mjs",
|
|
|
|
"server:import-client": "./scripts/import-client.mjs"
|
|
|
|
},
|
2022-09-14 12:42:19 +00:00
|
|
|
"wireit": {
|
|
|
|
"dev": {
|
|
|
|
"command": "vite --host",
|
|
|
|
"dependencies": [
|
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": [
|
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": [
|
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": [
|
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": [
|
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": {
|
2022-11-08 14:01:11 +00:00
|
|
|
"@keycloak/keycloak-admin-client": "999.0.0-dev",
|
2022-11-04 18:22:22 +00:00
|
|
|
"@patternfly/patternfly": "^4.219.2",
|
|
|
|
"@patternfly/react-code-editor": "^4.82.55",
|
2022-11-08 16:28:47 +00:00
|
|
|
"@patternfly/react-core": "^4.258.6",
|
2022-11-04 18:22:22 +00:00
|
|
|
"@patternfly/react-icons": "^4.92.10",
|
|
|
|
"@patternfly/react-table": "^4.111.33",
|
2022-08-25 09:03:07 +00:00
|
|
|
"dagre": "^0.8.5",
|
|
|
|
"file-saver": "^2.0.5",
|
|
|
|
"flat": "^5.0.2",
|
2022-10-24 08:11:32 +00:00
|
|
|
"i18next": "^22.0.2",
|
2022-11-02 11:08:34 +00:00
|
|
|
"i18next-http-backend": "^2.0.1",
|
2022-09-12 09:52:11 +00:00
|
|
|
"keycloak-js": "999.0.0-dev",
|
2022-08-25 09:03:07 +00:00
|
|
|
"lodash-es": "^4.17.21",
|
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-dom": "^17.0.2",
|
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",
|
|
|
|
"react-flow-renderer": "^9.7.4",
|
|
|
|
"react-hook-form": "^6.15.8",
|
2022-10-25 22:08:51 +00:00
|
|
|
"react-i18next": "^12.0.0",
|
2022-10-04 10:18:04 +00:00
|
|
|
"react-router": "^5.3.4",
|
2022-10-03 10:34:03 +00:00
|
|
|
"react-router-dom": "^5.3.4",
|
2022-11-01 21:03:38 +00:00
|
|
|
"react-router-dom-v5-compat": "^6.4.3",
|
2022-10-11 11:09:07 +00:00
|
|
|
"react-use-localstorage": "^3.5.3",
|
2022-08-25 09:03:07 +00:00
|
|
|
"use-react-router-breadcrumbs": "^2.0.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@4tw/cypress-drag-drop": "^2.2.1",
|
2022-11-07 14:21:46 +00:00
|
|
|
"@babel/core": "^7.20.2",
|
2022-11-08 14:43:43 +00:00
|
|
|
"@babel/preset-env": "^7.20.2",
|
2022-08-25 09:03:07 +00:00
|
|
|
"@cypress/webpack-batteries-included-preprocessor": "^2.2.3",
|
2022-11-05 19:16:56 +00:00
|
|
|
"@cypress/webpack-preprocessor": "^5.15.3",
|
2022-10-17 10:24:27 +00:00
|
|
|
"@octokit/rest": "^19.0.5",
|
2022-08-25 09:03:07 +00:00
|
|
|
"@testing-library/cypress": "^8.0.3",
|
|
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
|
|
"@testing-library/react": "^12.1.5",
|
|
|
|
"@testing-library/react-hooks": "^8.0.1",
|
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/gunzip-maybe": "^1.4.0",
|
|
|
|
"@types/lodash-es": "^4.17.6",
|
|
|
|
"@types/react": "^17.0.45",
|
|
|
|
"@types/react-dom": "^17.0.16",
|
|
|
|
"@types/react-router-dom": "^5.3.3",
|
|
|
|
"@types/tar-fs": "^2.0.1",
|
2022-10-31 10:19:56 +00:00
|
|
|
"@vitejs/plugin-react": "^2.2.0",
|
2022-10-31 10:17:20 +00:00
|
|
|
"cypress": "^10.11.0",
|
2022-08-25 09:03:07 +00:00
|
|
|
"decompress": "^4.2.1",
|
|
|
|
"del": "^7.0.0",
|
|
|
|
"gunzip-maybe": "^1.4.2",
|
|
|
|
"http2-proxy": "^5.0.53",
|
2022-10-31 10:30:37 +00:00
|
|
|
"jsdom": "^20.0.2",
|
2022-10-27 13:49:10 +00:00
|
|
|
"ldap-server-mock": "^5.0.0",
|
2022-08-25 09:03:07 +00:00
|
|
|
"node-fetch": "^3.2.10",
|
|
|
|
"progress-promise": "^0.0.6",
|
|
|
|
"tar-fs": "^2.1.1",
|
|
|
|
"ts-node": "^10.9.1",
|
2022-10-31 10:25:59 +00:00
|
|
|
"vite": "^3.2.2",
|
2022-09-05 20:02:25 +00:00
|
|
|
"vite-plugin-checker": "^0.5.1",
|
2022-11-04 10:57:50 +00:00
|
|
|
"vitest": "^0.24.5",
|
2022-08-25 09:03:07 +00:00
|
|
|
"webpack": "^5.74.0"
|
|
|
|
}
|
|
|
|
}
|