|
1 | 1 | { |
2 | | - "name": "ui-testing-code", |
| 2 | + "name": "ui-testing-guide-code", |
3 | 3 | "version": "0.1.0", |
4 | 4 | "private": true, |
5 | 5 | "dependencies": { |
| 6 | + "@chakra-ui/icons": "^1.0.12", |
| 7 | + "@chakra-ui/react": "^1.6.0", |
| 8 | + "@emotion/react": "^11", |
| 9 | + "@emotion/styled": "^11", |
6 | 10 | "@testing-library/jest-dom": "^5.11.4", |
7 | 11 | "@testing-library/react": "^11.1.0", |
8 | 12 | "@testing-library/user-event": "^12.1.10", |
| 13 | + "framer-motion": "^4", |
9 | 14 | "react": "^17.0.2", |
10 | 15 | "react-dom": "^17.0.2", |
11 | | - "react-scripts": "4.0.3", |
| 16 | + "react-scripts": "^5.0.1", |
12 | 17 | "web-vitals": "^1.0.1" |
13 | 18 | }, |
14 | 19 | "scripts": { |
15 | | - "start": "react-scripts start", |
16 | | - "build": "react-scripts build", |
| 20 | + "start": "SKIP_PREFLIGHT_CHECK=true react-scripts start", |
| 21 | + "build": "SKIP_PREFLIGHT_CHECK=true react-scripts build", |
17 | 22 | "test": "react-scripts test", |
18 | | - "eject": "react-scripts eject" |
| 23 | + "eject": "react-scripts eject", |
| 24 | + "storybook": "start-storybook -p 6006", |
| 25 | + "build-storybook": "build-storybook" |
19 | 26 | }, |
20 | 27 | "eslintConfig": { |
21 | 28 | "extends": [ |
22 | 29 | "react-app", |
23 | 30 | "react-app/jest" |
| 31 | + ], |
| 32 | + "overrides": [ |
| 33 | + { |
| 34 | + "files": [ |
| 35 | + "**/*.stories.*" |
| 36 | + ], |
| 37 | + "rules": { |
| 38 | + "import/no-anonymous-default-export": "off" |
| 39 | + } |
| 40 | + } |
24 | 41 | ] |
25 | 42 | }, |
26 | 43 | "browserslist": { |
|
34 | 51 | "last 1 firefox version", |
35 | 52 | "last 1 safari version" |
36 | 53 | ] |
| 54 | + }, |
| 55 | + "devDependencies": { |
| 56 | + "@storybook/addon-actions": "^6.5.3", |
| 57 | + "@storybook/addon-essentials": "^6.5.3", |
| 58 | + "@storybook/addon-links": "^6.5.3", |
| 59 | + "@storybook/builder-webpack5": "^6.5.3", |
| 60 | + "@storybook/manager-webpack5": "^6.5.3", |
| 61 | + "@storybook/node-logger": "^6.5.3", |
| 62 | + "@storybook/preset-create-react-app": "^4.1.0", |
| 63 | + "@storybook/react": "^6.5.3" |
37 | 64 | } |
38 | 65 | } |
0 commit comments