aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar garronej <[email protected]>2023-04-19 05:07:38 +0200
committerGravatar garronej <[email protected]>2023-04-19 05:07:38 +0200
commit0135b190ea32ac4c74fbf488380eb9d9f6d22909 (patch)
tree80d034edb7872517d5fac1b0d96a03fa423a3755
parentFix typos (diff)
Only keep relevent scripts
-rwxr-xr-xpackage.json10
1 files changed, 3 insertions, 7 deletions
diff --git a/package.json b/package.json
index 507f27f..4040a07 100755
--- a/package.json
+++ b/package.json
@@ -8,16 +8,12 @@
"url": "git://github.com/codegouvfr/keycloakify-starter.git"
},
"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",
"build": "react-scripts build",
"build-keycloak-theme": "yarn build && keycloakify",
- "eject-keycloak-page": "eject-keycloak-page",
- "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"
+ "storybook": "start-storybook -p 6006"
},
"keycloakify": {
"extraThemeProperties": [