mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-08-11 11:40:22 +00:00
auto release for storybook
* deploy subdirectory of storybook-static to branch gh-pages
This commit is contained in:
@@ -15,3 +15,6 @@ lerna-debug.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# gh-pages
|
||||
storybook-static
|
||||
|
||||
+5
-1
@@ -11,7 +11,11 @@
|
||||
"test": "jest",
|
||||
"test:coverage": "jest --coverage",
|
||||
"test:watch": "jest --watch",
|
||||
"storybook": "cd ./packages/react-bootstrap-table2-example && yarn storybook"
|
||||
"storybook": "cd ./packages/react-bootstrap-table2-example && yarn storybook",
|
||||
"gh-pages:clean": "cd ./packages/react-bootstrap-table2-example && yarn gh-pages:clean",
|
||||
"gh-pages:build": "cd ./packages/react-bootstrap-table2-example && yarn gh-pages:build",
|
||||
"gh-pages:deploy": "cd ./packages/react-bootstrap-table2-example && yarn gh-pages:deploy",
|
||||
"gh-pages:publish": "yarn gh-pages:clean && yarn gh-pages:build && yarn gh-pages:deploy"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -6,7 +6,10 @@
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"build-storybook": "build-storybook"
|
||||
"gh-pages:clean": "rimraf ./storybook-static",
|
||||
"gh-pages:build": "build-storybook",
|
||||
"gh-pages:deploy": "git-directory-deploy --directory storybook-static",
|
||||
"gh-pages:publish": "yarn gh-pages:clean && yarn gh-pages:build && yarn gh-pages:deploy"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
|
||||
Reference in New Issue
Block a user