mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-01 01:59:10 +00:00
Fix gh-pages build
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
/dist
|
/dist
|
||||||
|
/dist-examples
|
||||||
/node_modules
|
/node_modules
|
||||||
/storybook
|
|
||||||
|
|||||||
+2
-2
@@ -8,9 +8,9 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "del ./dist && mkdir dist && babel src -d dist --ignore **/__tests__",
|
"build": "del ./dist && mkdir dist && babel src -d dist --ignore **/__tests__",
|
||||||
"build:storybook": "build-storybook -o storybook -c ./examples/.storybook",
|
"build:examples": "build-storybook -o dist-examples -c ./examples/.storybook",
|
||||||
"deploy:storybook": "git checkout gh-pages && git add -A && git commit -m \"Storybook deploy\" && git push origin gh-pages && git checkout -",
|
|
||||||
"build:umd": "webpack --config webpack.config.js --sort-assets-by --progress",
|
"build:umd": "webpack --config webpack.config.js --sort-assets-by --progress",
|
||||||
|
"deploy:examples": "git checkout gh-pages && rm -rf ./storybook && mv dist-examples storybook && git add -A && git commit -m \"Storybook deploy\" && git push origin gh-pages && git checkout -",
|
||||||
"lint": "eslint src",
|
"lint": "eslint src",
|
||||||
"prepublish": "npm run build && npm run build:umd",
|
"prepublish": "npm run build && npm run build:umd",
|
||||||
"storybook": "start-storybook -p 9001 -c ./examples/.storybook",
|
"storybook": "start-storybook -p 9001 -c ./examples/.storybook",
|
||||||
|
|||||||
Reference in New Issue
Block a user