mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
Merge pull request #2 from storybooks/setup-publish-script
Setup publish npm script
This commit is contained in:
commit
da6bf457ab
@ -26,6 +26,7 @@
|
||||
"build": "react-scripts build",
|
||||
"eject": "react-scripts eject",
|
||||
"storybook": "start-storybook -p 9009",
|
||||
"build-storybook": "build-storybook"
|
||||
"build-storybook": "build-storybook",
|
||||
"publish": "npm run build && cp ./CNAME ./build && cd build && git init . && git remote add origin $( cd .. && git remote get-url origin ) && git add . && git commit -m 'Update build' && git push -f origin master"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user