keycloak-scim/package.json
Erik Jan de Wit 2543893373
Change the input fields based on access rights (#184)
* poc of possible way to change form dynamically

* fixed detail routs

* Update src/components/form-access/FormAccess.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* Update src/components/form-access/FormAccess.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* Update src/components/form-access/FormAccess.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* added more form access and logic for Controller

* render switches for boolean types

* better render of `<Controller` wrapped components

* added isDisabled property

* added test

* small refactor

* fixed types

* TextArea doesn't support isDisabled

* when field is disabled, disable button as well

* added jsdoc

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2020-10-28 14:17:15 -04:00

81 lines
2.6 KiB
JSON

{
"name": "keycloak-admin",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"build": "snowpack build",
"build-storybook": "build-storybook -s public",
"check-types": "tsc -p ./",
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
"format-check": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"",
"lint": "eslint ./src/**/*.ts*",
"postinstall": "grunt",
"start": "snowpack dev",
"storybook": "start-storybook -p 6006 -s public",
"test": "jest"
},
"dependencies": {
"@patternfly/patternfly": "^4.42.2",
"@patternfly/react-core": "4.50.2",
"@patternfly/react-icons": "4.7.6",
"@patternfly/react-table": "4.16.20",
"file-saver": "^2.0.2",
"i18next": "^19.6.2",
"keycloak-js": "^11.0.0",
"react": "^16.8.5",
"react-dom": "^16.8.5",
"react-hook-form": "^6.8.2",
"react-i18next": "^11.7.0",
"react-router-dom": "^5.2.0",
"use-react-router-breadcrumbs": "^1.0.4"
},
"devDependencies": {
"@babel/core": "^7.10.5",
"@babel/preset-typescript": "^7.10.4",
"@snowpack/app-scripts-react": "^1.10.0",
"@snowpack/plugin-postcss": "1.0.4",
"@snowpack/plugin-webpack": "2.0.12",
"@storybook/addon-actions": "^6.0.21",
"@storybook/addon-essentials": "^6.0.21",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.0.21",
"@storybook/addons": "^6.0.21",
"@storybook/node-logger": "^6.0.21",
"@storybook/preset-create-react-app": "^3.1.4",
"@storybook/preset-typescript": "^3.0.0",
"@storybook/react": "^6.0.21",
"@testing-library/jest-dom": "^5.11.0",
"@testing-library/react": "^10.4.6",
"@types/dot": "^1.1.4",
"@types/enzyme": "^3.10.5",
"@types/file-saver": "^2.0.1",
"@types/jest": "^26.0.4",
"@types/react": "^16.9.23",
"@types/react-dom": "^16.9.5",
"@types/react-router-dom": "^5.1.5",
"@types/snowpack-env": "^2.3.0",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.8.0",
"babel-loader": "^8.1.0",
"decompress": "^4.2.1",
"decompress-targz": "^4.1.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.3",
"enzyme-to-json": "^3.5.0",
"eslint": "^7.6.0",
"eslint-plugin-react": "^7.20.5",
"grunt": "^1.2.1",
"grunt-contrib-copy": "^1.0.0",
"jest": "^25.4.0",
"mutationobserver-shim": "^0.3.7",
"postcss": "^7.0.32",
"postcss-cli": "^7.1.1",
"postcss-import": "^12.0.1",
"prettier": "^2.0.5",
"react-is": "^16.13.1",
"react-scripts": "^3.4.1",
"snowpack": "2.11.1",
"typescript": "^3.8.3"
}
}