|
22 | 22 | "postreleasy": "vtex publish --public --verbose",
|
23 | 23 | "lint-fix": "eslint react --ext js,jsx,ts,tsx --fix --max-warnings 0",
|
24 | 24 | "prettier-conflict-check": "eslint --print-config .eslintrc | eslint-config-prettier-check",
|
25 |
| - "build": "run-s compile styleguide:build" |
| 25 | + "build": "run-s compile styleguide:build", |
| 26 | + "storybook": "start-storybook -p 6006", |
| 27 | + "build-storybook": "build-storybook" |
26 | 28 | },
|
27 | 29 | "main": "./lib/index.js",
|
28 | 30 | "files": [
|
|
47 | 49 | "@babel/preset-env": "^7.5.5",
|
48 | 50 | "@babel/preset-react": "^7.0.0",
|
49 | 51 | "@babel/preset-typescript": "^7.3.3",
|
| 52 | + "@storybook/addon-a11y": "^6.0.21", |
| 53 | + "@storybook/addon-actions": "^6.0.21", |
| 54 | + "@storybook/addon-console": "^1.2.1", |
| 55 | + "@storybook/addon-essentials": "^6.0.21", |
| 56 | + "@storybook/addon-links": "^6.0.21", |
| 57 | + "@storybook/addon-viewport": "^6.0.21", |
| 58 | + "@storybook/addons": "^6.0.21", |
| 59 | + "@storybook/react": "^6.0.21", |
50 | 60 | "@testing-library/jest-dom": "^5.1.1",
|
51 | 61 | "@testing-library/react": "^9.5.0",
|
52 | 62 | "@testing-library/react-hooks": "^3.2.1",
|
|
84 | 94 | "react-app-polyfill": "^1.0.1",
|
85 | 95 | "react-dev-utils": "^9.0.1",
|
86 | 96 | "react-dom": "^16.12.0",
|
| 97 | + "react-is": "^16.13.1", |
87 | 98 | "react-styleguidist": "^9.1.12",
|
88 | 99 | "react-test-renderer": "^16.13.0",
|
89 | 100 | "style-loader": "^0.23.1",
|
|
119 | 130 | "react-dom": "^16.8.0",
|
120 | 131 | "recharts": "^2.0.0-beta.1"
|
121 | 132 | },
|
| 133 | + "resolutions": { |
| 134 | + "react": "^16.12.0", |
| 135 | + "react-dom": "^16.12.0" |
| 136 | + }, |
122 | 137 | "husky": {
|
123 | 138 | "hooks": {
|
124 | 139 | "pre-push": "npm run prettier-conflict-check && npm run lint"
|
|
0 commit comments