From 0135b190ea32ac4c74fbf488380eb9d9f6d22909 Mon Sep 17 00:00:00 2001 From: garronej Date: Wed, 19 Apr 2023 05:07:38 +0200 Subject: [PATCH] Only keep relevent scripts --- package.json | 10 +++------- 1 file 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": [