112 lines
3.3 KiB
JSON
112 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": "tsc --project cypress/tsconfig.json",
|
|
"cy:ldap-server": "ldap-server-mock --conf=./cypress/fixtures/ldap/server.json --database=./cypress/fixtures/ldap/users.json",
|
|
"server:start": "./scripts/start-server.mjs",
|
|
"server:import-client": "./scripts/import-client.mjs"
|
|
},
|
|
"wireit": {
|
|
"dev": {
|
|
"command": "vite --host",
|
|
"dependencies": [
|
|
"../../libs/keycloak-js:build"
|
|
]
|
|
},
|
|
"preview": {
|
|
"command": "vite preview",
|
|
"dependencies": [
|
|
"../../libs/keycloak-js:build"
|
|
]
|
|
},
|
|
"build": {
|
|
"command": "vite build",
|
|
"dependencies": [
|
|
"../../libs/keycloak-js:build"
|
|
]
|
|
},
|
|
"lint": {
|
|
"command": "eslint . --ext js,jsx,mjs,ts,tsx",
|
|
"dependencies": [
|
|
"../../libs/keycloak-js:build"
|
|
]
|
|
},
|
|
"test": {
|
|
"command": "vitest",
|
|
"dependencies": [
|
|
"../../libs/keycloak-js:build"
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@keycloak/keycloak-admin-client": "^19.0.3",
|
|
"@patternfly/patternfly": "^4.217.1",
|
|
"@patternfly/react-code-editor": "^4.82.26",
|
|
"@patternfly/react-core": "^4.250.1",
|
|
"@patternfly/react-icons": "^4.92.6",
|
|
"@patternfly/react-table": "^4.111.4",
|
|
"dagre": "^0.8.5",
|
|
"file-saver": "^2.0.5",
|
|
"flat": "^5.0.2",
|
|
"i18next": "^22.0.2",
|
|
"i18next-http-backend": "^2.0.0",
|
|
"keycloak-js": "999.0.0-dev",
|
|
"lodash-es": "^4.17.21",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-dropzone": "^14.2.3",
|
|
"react-error-boundary": "^3.1.4",
|
|
"react-flow-renderer": "^9.7.4",
|
|
"react-hook-form": "^6.15.8",
|
|
"react-i18next": "^12.0.0",
|
|
"react-router": "^5.3.4",
|
|
"react-router-dom": "^5.3.4",
|
|
"react-router-dom-v5-compat": "^6.4.2",
|
|
"react-use-localstorage": "^3.5.3",
|
|
"use-react-router-breadcrumbs": "^2.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@4tw/cypress-drag-drop": "^2.2.1",
|
|
"@babel/core": "^7.19.6",
|
|
"@babel/preset-env": "^7.19.4",
|
|
"@cypress/webpack-batteries-included-preprocessor": "^2.2.3",
|
|
"@cypress/webpack-preprocessor": "^5.15.0",
|
|
"@octokit/rest": "^19.0.5",
|
|
"@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",
|
|
"@types/dagre": "^0.7.48",
|
|
"@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",
|
|
"@vitejs/plugin-react": "^2.2.0",
|
|
"cypress": "^10.11.0",
|
|
"decompress": "^4.2.1",
|
|
"del": "^7.0.0",
|
|
"gunzip-maybe": "^1.4.2",
|
|
"http2-proxy": "^5.0.53",
|
|
"jsdom": "^20.0.2",
|
|
"ldap-server-mock": "^5.0.0",
|
|
"node-fetch": "^3.2.10",
|
|
"progress-promise": "^0.0.6",
|
|
"tar-fs": "^2.1.1",
|
|
"ts-node": "^10.9.1",
|
|
"vite": "^3.2.2",
|
|
"vite-plugin-checker": "^0.5.1",
|
|
"vitest": "^0.24.4",
|
|
"webpack": "^5.74.0"
|
|
}
|
|
}
|