Skip to content

Commit

Permalink
Make the script work even for users that do not use storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Sep 22, 2024
1 parent d5a0f6f commit 9aca9ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"url": "git://github.com/keycloakify/keycloakify-starter-webpack.git"
},
"scripts": {
"prestorybook": "keycloakify update-kc-gen && keycloakify copy-keycloak-resources-to-public",
"storybook": "storybook dev -p 6006",
"prestart": "npm run prestorybook",
"prestart": "keycloakify update-kc-gen && keycloakify copy-keycloak-resources-to-public",
"start": "react-scripts start",
"prestorybook": "npm run prestart",
"storybook": "storybook dev -p 6006",
"prebuild": "keycloakify update-kc-gen",
"build": "react-scripts build",
"postbuild": "rimraf build/keycloak-resources",
Expand Down

0 comments on commit 9aca9ae

Please sign in to comment.