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": [