use prepare instead of prestart and prestorybook

This commit is contained in:
garronej 2023-04-19 15:16:47 +02:00
parent e9dfdba043
commit 94532fcf10

View file

@ -8,8 +8,7 @@
"url": "git://github.com/codegouvfr/keycloakify-starter.git" "url": "git://github.com/codegouvfr/keycloakify-starter.git"
}, },
"scripts": { "scripts": {
"prestart": "copy-keycloak-resources-to-public", "prepare": "copy-keycloak-resources-to-public",
"prestorybook": "copy-keycloak-resources-to-public",
"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",