|
13 | 13 | "@testing-library/user-event": "^13.2.1", |
14 | 14 | "@types/jest": "^27.0.1", |
15 | 15 | "@types/node": "^16.7.13", |
16 | | - "@types/react-dom": "^18.0.0", |
17 | 16 | "@types/react": "^18.0.0", |
| 17 | + "@types/react-dom": "^18.0.0", |
18 | 18 | "@types/uuid": "^8.3.4", |
19 | 19 | "axios": "^0.27.2", |
20 | 20 | "lodash": "^4.17.21", |
| 21 | + "react": "^18.2.0", |
21 | 22 | "react-dom": "^18.2.0", |
22 | 23 | "react-scripts": "5.0.1", |
23 | | - "react": "^18.2.0", |
24 | 24 | "typescript": "^4.4.2", |
25 | 25 | "url-join": "^5.0.0", |
26 | 26 | "uuid": "^9.0.0", |
|
30 | 30 | "start": "react-scripts start", |
31 | 31 | "build": "react-scripts build", |
32 | 32 | "test": "react-scripts test", |
33 | | - "eject": "react-scripts eject" |
| 33 | + "eject": "react-scripts eject", |
| 34 | + "storybook": "start-storybook -p 6006 -s public", |
| 35 | + "build-storybook": "build-storybook -s public" |
34 | 36 | }, |
35 | 37 | "eslintConfig": { |
36 | 38 | "extends": [ |
37 | 39 | "react-app", |
38 | 40 | "react-app/jest" |
| 41 | + ], |
| 42 | + "overrides": [ |
| 43 | + { |
| 44 | + "files": [ |
| 45 | + "**/*.stories.*" |
| 46 | + ], |
| 47 | + "rules": { |
| 48 | + "import/no-anonymous-default-export": "off" |
| 49 | + } |
| 50 | + } |
39 | 51 | ] |
40 | 52 | }, |
41 | 53 | "browserslist": { |
|
51 | 63 | ] |
52 | 64 | }, |
53 | 65 | "devDependencies": { |
54 | | - "@types/lodash": "^4.14.186" |
| 66 | + "@storybook/addon-actions": "^6.5.12", |
| 67 | + "@storybook/addon-essentials": "^6.5.12", |
| 68 | + "@storybook/addon-interactions": "^6.5.12", |
| 69 | + "@storybook/addon-links": "^6.5.12", |
| 70 | + "@storybook/builder-webpack5": "^6.5.12", |
| 71 | + "@storybook/manager-webpack5": "^6.5.12", |
| 72 | + "@storybook/node-logger": "^6.5.12", |
| 73 | + "@storybook/preset-create-react-app": "^4.1.2", |
| 74 | + "@storybook/react": "^6.5.12", |
| 75 | + "@storybook/testing-library": "^0.0.13", |
| 76 | + "@types/lodash": "^4.14.186", |
| 77 | + "babel-plugin-named-exports-order": "^0.0.2", |
| 78 | + "prop-types": "^15.8.1", |
| 79 | + "webpack": "^5.74.0" |
55 | 80 | } |
56 | 81 | } |
0 commit comments