Skip to content

Commit 165bdd4

Browse files
committed
Configured storybook deployer
1 parent de3ecc9 commit 165bdd4

4 files changed

Lines changed: 110 additions & 2 deletions

File tree

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,8 @@ dist
112112
.yarn/cache
113113
.yarn/unplugged
114114
.yarn/build-state.yml
115-
.pnp.*
115+
.pnp.*
116+
117+
# storybook
118+
119+
storybook

docs/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
# andculturecode-javascript-react-components
3+
4+
## Index
5+
6+
### Variables
7+
8+
* [FactoryType](README.md#const-factorytype)
9+
10+
## Variables
11+
12+
### `Const` FactoryType
13+
14+
**FactoryType**: *object*
15+
16+
*Defined in [tests/factories/factory-type.ts:1](https://github.com/AndcultureCode/AndcultureCode.JavaScript.React.Components/blob/de3ecc9/src/tests/factories/factory-type.ts#L1)*
17+
18+
#### Type declaration:

package-lock.json

Lines changed: 83 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"devDependencies": {
2626
"@babel/core": "^7.10.4",
2727
"@storybook/react": "^5.3.19",
28+
"@storybook/storybook-deployer": "^2.8.6",
2829
"@testing-library/jest-dom": "5.5.0",
2930
"@testing-library/react": "10.0.4",
3031
"@types/faker": "4.1.12",
@@ -77,9 +78,11 @@
7778
"url": "git+https://github.com/AndcultureCode/AndcultureCode.JavaScript.React.Components.git"
7879
},
7980
"scripts": {
80-
"build": "tsc --pretty && build-storybook -o storybook",
81+
"build": "tsc --pretty",
82+
"build-storybook": "build-storybook -o storybook",
8183
"clean": "rimraf dist && rimraf coverage",
8284
"coverage": "jest ./src --coverage --passWithNoTests",
85+
"deploy-storybook": "storybook-to-ghpages",
8386
"docs": "typedoc --mode file --excludeExternals --plugin typedoc-plugin-markdown --readme none",
8487
"format": "prettier --write \"src/**/*.ts\" --trailing-comma es5",
8588
"postbuild": "npm run docs",

0 commit comments

Comments
 (0)