web: Changed build-storybook script

This commit is contained in:
Alexey Safronov 2019-05-22 16:44:55 +03:00
parent 78a3dd4ef2
commit e0dfae9337
3 changed files with 3 additions and 3 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
*-lock.json
*.lock
**/node_modules/
**/storybook-static/

View File

@ -1 +1,2 @@
node_modules/
storybook-static/

View File

@ -16,9 +16,7 @@
},
"scripts": {
"start": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"storybook:start": "start-storybook -p 9002 -s docs/assets",
"storybook:build": "NODE_ENV=production build-storybook -o .public -s docs/assets"
"build-storybook": "build-storybook -c .storybook -o .out"
},
"eslintConfig": {
"extends": "react-app"