Only keep relevent scripts

This commit is contained in:
garronej 2023-04-19 05:07:38 +02:00
parent 89d9a8033d
commit 0135b190ea

View file

@ -8,16 +8,12 @@
"url": "git://github.com/codegouvfr/keycloakify-starter.git" "url": "git://github.com/codegouvfr/keycloakify-starter.git"
}, },
"scripts": { "scripts": {
"prestart": "yarn ensure-public-keycloak-static-exists", "prestart": "copy-keycloak-resources-to-storybook-static",
"prestorybook": "copy-keycloak-resources-to-storybook-static",
"start": "react-scripts start", "start": "react-scripts start",
"build": "react-scripts build", "build": "react-scripts build",
"build-keycloak-theme": "yarn build && keycloakify", "build-keycloak-theme": "yarn build && keycloakify",
"eject-keycloak-page": "eject-keycloak-page", "storybook": "start-storybook -p 6006"
"download-builtin-keycloak-theme": "download-builtin-keycloak-theme",
"prestorybook": "yarn ensure-public-keycloak-static-exists",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"ensure-public-keycloak-static-exists": "[ ! -d 'public/keycloak_static' ] && yarn build-keycloak-theme || true"
}, },
"keycloakify": { "keycloakify": {
"extraThemeProperties": [ "extraThemeProperties": [