Skip to content

Commit c705a63

Browse files
committed
Add storybook
1 parent 9518328 commit c705a63

File tree

2 files changed

+2261
-117
lines changed

2 files changed

+2261
-117
lines changed

frontend/package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"heroku-postbuild": "yarn run build",
1717
"lint": "eslint --ext .ts --ext .tsx src/",
1818
"typecheck": "tsc -p tsconfig.json --noEmit",
19-
"serve": "ts-node mock-api/server"
19+
"serve": "ts-node mock-api/server",
20+
"storybook": "start-storybook -p 9009 -s public",
21+
"build-storybook": "build-storybook -s public"
2022
},
2123
"homepage": "/app/static",
2224
"dependencies": {
@@ -68,6 +70,11 @@
6870
"redux-thunk": "^2.3.0"
6971
},
7072
"devDependencies": {
73+
"@storybook/addon-actions": "^5.3.19",
74+
"@storybook/addon-links": "^5.3.19",
75+
"@storybook/addons": "^5.3.19",
76+
"@storybook/preset-create-react-app": "^3.1.4",
77+
"@storybook/react": "^5.3.19",
7178
"@types/axios": "^0.14.0",
7279
"@types/body-parser": "^1.19.0",
7380
"@types/classnames": "^2.2.10",

0 commit comments

Comments
 (0)