115 lines
3.3 KiB
JSON
115 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:run-component": "wireit",
|
|
"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/keycloak-js:build",
|
|
"../../libs/keycloak-admin-client:build"
|
|
]
|
|
},
|
|
"preview": {
|
|
"command": "vite preview",
|
|
"dependencies": [
|
|
"../../libs/keycloak-js:build",
|
|
"../../libs/keycloak-admin-client:build"
|
|
]
|
|
},
|
|
"build": {
|
|
"command": "vite build",
|
|
"dependencies": [
|
|
"../../libs/keycloak-js:build",
|
|
"../../libs/keycloak-admin-client:build"
|
|
]
|
|
},
|
|
"lint": {
|
|
"command": "eslint . --ext js,jsx,mjs,ts,tsx",
|
|
"dependencies": [
|
|
"../../libs/keycloak-js:build",
|
|
"../../libs/keycloak-admin-client:build"
|
|
]
|
|
},
|
|
"test": {
|
|
"command": "vitest",
|
|
"dependencies": [
|
|
"../../libs/keycloak-js:build",
|
|
"../../libs/keycloak-admin-client:build"
|
|
]
|
|
},
|
|
"cy:run-component": {
|
|
"command": "cypress run --browser chrome --component",
|
|
"dependencies": [
|
|
"../../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": "999.0.0-dev",
|
|
"@patternfly/patternfly": "^4.224.2",
|
|
"@patternfly/react-code-editor": "^4.82.113",
|
|
"@patternfly/react-core": "^4.276.6",
|
|
"@patternfly/react-icons": "^4.93.6",
|
|
"@patternfly/react-table": "^4.112.39",
|
|
"dagre": "^0.8.5",
|
|
"file-saver": "^2.0.5",
|
|
"flat": "^5.0.2",
|
|
"i18next": "^22.4.9",
|
|
"i18next-http-backend": "^2.1.1",
|
|
"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-hook-form": "^7.43.1",
|
|
"react-i18next": "^12.1.5",
|
|
"react-router-dom": "6.8.1",
|
|
"reactflow": "^11.5.5",
|
|
"use-react-router-breadcrumbs": "^4.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@4tw/cypress-drag-drop": "^2.2.3",
|
|
"@babel/core": "^7.20.12",
|
|
"@babel/preset-env": "^7.20.2",
|
|
"@cypress/webpack-batteries-included-preprocessor": "^2.3.0",
|
|
"@cypress/webpack-preprocessor": "^5.16.3",
|
|
"@testing-library/cypress": "^9.0.0",
|
|
"@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/lodash-es": "^4.17.6",
|
|
"@types/react": "^17.0.53",
|
|
"@types/react-dom": "^17.0.18",
|
|
"@vitejs/plugin-react": "^2.2.0",
|
|
"cypress": "^12.5.1",
|
|
"del": "^7.0.0",
|
|
"jsdom": "^21.1.0",
|
|
"ldap-server-mock": "^6.0.1",
|
|
"ts-node": "^10.9.1",
|
|
"vite": "^3.2.5",
|
|
"vite-plugin-checker": "^0.5.5",
|
|
"vitest": "^0.28.4",
|
|
"webpack": "^5.75.0"
|
|
}
|
|
}
|