97 lines
2.7 KiB
JSON
Executable file
97 lines
2.7 KiB
JSON
Executable file
{
|
|
"name": "keycloakify-starter",
|
|
"homepage": "https://starter.keycloakify.dev",
|
|
"version": "4.4.0",
|
|
"description": "A starter/demo project for keycloakify",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/codegouvfr/keycloakify-starter.git"
|
|
},
|
|
"scripts": {
|
|
"prepare": "copy-keycloak-resources-to-public",
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"build-keycloak-theme": "yarn build && keycloakify",
|
|
"storybook": "start-storybook -p 6006"
|
|
},
|
|
"keycloakify": {
|
|
"extraThemeProperties": [
|
|
"foo=bar"
|
|
],
|
|
"extraLoginPages": [
|
|
"my-extra-page-1.ftl",
|
|
"my-extra-page-2.ftl"
|
|
],
|
|
"extraAccountPages": [
|
|
"my-extra-page-1.ftl",
|
|
"my-extra-page-2.ftl"
|
|
],
|
|
"customUserAttributes": [
|
|
"your-custom-attribute"
|
|
]
|
|
},
|
|
"author": "u/garronej",
|
|
"license": "MIT",
|
|
"keywords": [],
|
|
"dependencies": {
|
|
"evt": "^2.4.15",
|
|
"jwt-decode": "^3.1.2",
|
|
"keycloak-js": "^21.0.1",
|
|
"keycloakify": "^7.9.2",
|
|
"powerhooks": "^0.26.8",
|
|
"react": "18.1.0",
|
|
"react-dom": "18.1.0",
|
|
"tsafe": "^1.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^15.3.1",
|
|
"@types/react": "18.0.9",
|
|
"@types/react-dom": "18.0.4",
|
|
"react-scripts": "5.0.1",
|
|
"typescript": "~4.7.0",
|
|
"@storybook/addon-actions": "^6.5.16",
|
|
"@storybook/addon-essentials": "^6.5.16",
|
|
"@storybook/addon-interactions": "^6.5.16",
|
|
"@storybook/addon-links": "^6.5.16",
|
|
"@storybook/builder-webpack5": "^6.5.16",
|
|
"@storybook/manager-webpack5": "^6.5.16",
|
|
"@storybook/node-logger": "^6.5.16",
|
|
"@storybook/preset-create-react-app": "^4.1.2",
|
|
"@storybook/react": "^6.5.16",
|
|
"@storybook/testing-library": "^0.0.13"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
],
|
|
"rules": {
|
|
"react-hooks/exhaustive-deps": "off",
|
|
"@typescript-eslint/no-redeclare": "off",
|
|
"no-labels": "off"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"**/*.stories.*"
|
|
],
|
|
"rules": {
|
|
"import/no-anonymous-default-export": "off"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|