|
1 | 1 | { |
2 | 2 | "name": "react-users-crud-demo", |
| 3 | + "homepage": "https://jellydn.github.io/react-users-crud-demo", |
3 | 4 | "version": "0.1.0", |
4 | 5 | "private": true, |
5 | 6 | "dependencies": { |
| 7 | + "gh-pages": "^1.0.0", |
| 8 | + "prop-types": "^15.5.10", |
6 | 9 | "react": "^15.6.1", |
7 | 10 | "react-dom": "^15.6.1", |
8 | 11 | "react-scripts": "1.0.11", |
9 | | - "rebass": "^1.0.4" |
| 12 | + "react-snapshot": "^2.0.0-1", |
| 13 | + "rebass": "^1.0.4", |
| 14 | + "styled-components": "^2.1.2" |
10 | 15 | }, |
11 | 16 | "scripts": { |
12 | 17 | "start": "react-scripts start", |
13 | | - "build": "react-scripts build", |
| 18 | + "build": "react-scripts build && react-snapshot", |
14 | 19 | "test": "react-scripts test --env=jsdom", |
15 | 20 | "eject": "react-scripts eject", |
16 | | - "precommit": "lint-staged" |
| 21 | + "precommit": "lint-staged", |
| 22 | + "storybook": "start-storybook -p 6006", |
| 23 | + "build-storybook": "build-storybook", |
| 24 | + "predeploy": "npm run build", |
| 25 | + "deploy": "gh-pages -d build" |
17 | 26 | }, |
18 | 27 | "devDependencies": { |
| 28 | + "@storybook/react": "^3.2.5", |
19 | 29 | "eslint-config-prettier": "^2.3.0", |
20 | 30 | "eslint-plugin-prettier": "^2.2.0", |
21 | 31 | "eslint-plugin-react": "^7.2.1", |
|
0 commit comments