|
48 | 48 | "lint": "node_modules/.bin/prettier --check src/**/*.{js,json} && eslint --ext .js,.yml . && npmPkgJsonLint -q . && pkg-ok && markdownlint *.md",
|
49 | 49 | "postinstall": "husky install",
|
50 | 50 | "report-deploy": "bash ./scripts/report-deploy.sh",
|
51 |
| - "snapshot": "build-storybook", |
52 | 51 | "start": "react-scripts start",
|
53 | 52 | "storybook": "start-storybook -p 9009 -s public",
|
54 | 53 | "test": "react-scripts test",
|
55 | 54 | "vercel-build": "REACT_APP_GIT_SHA=`([ -n \"$VERCEL_GIT_COMMIT_SHA\" ] && echo \"$VERCEL_GIT_COMMIT_SHA\") || git rev-parse HEAD` react-scripts build && build-storybook -o build/storybook/ && esdoc && mv docs/ build/ && yarn report-deploy"
|
56 | 55 | },
|
57 | 56 | "eslintConfig": {
|
58 |
| - "extends": "react-app" |
| 57 | + "extends": "react-app", |
| 58 | + "overrides": [ |
| 59 | + { |
| 60 | + "files": [ |
| 61 | + "**/*.stories.*" |
| 62 | + ], |
| 63 | + "rules": { |
| 64 | + "import/no-anonymous-default-export": "off" |
| 65 | + } |
| 66 | + } |
| 67 | + ] |
59 | 68 | },
|
60 | 69 | "browserslist": [
|
61 | 70 | ">0.2%",
|
|
70 | 79 | "@sebastianwessel/esdoc-jsx-plugin": "^2.1.0",
|
71 | 80 | "@sebastianwessel/esdoc-react-plugin": "^2.1.0",
|
72 | 81 | "@sebastianwessel/esdoc-standard-plugin": "^2.1.0",
|
73 |
| - "@storybook/preset-create-react-app": "^4.1.0", |
74 |
| - "@storybook/react": "^6.1.21", |
| 82 | + "@storybook/addon-actions": "^6.5.10", |
| 83 | + "@storybook/addon-essentials": "^6.5.10", |
| 84 | + "@storybook/addon-interactions": "^6.5.10", |
| 85 | + "@storybook/addon-links": "^6.5.10", |
| 86 | + "@storybook/builder-webpack4": "^6.5.10", |
| 87 | + "@storybook/manager-webpack4": "^6.5.10", |
| 88 | + "@storybook/node-logger": "^6.5.10", |
| 89 | + "@storybook/preset-create-react-app": "^3.2.0", |
| 90 | + "@storybook/react": "^6.5.10", |
| 91 | + "@storybook/testing-library": "^0.0.13", |
75 | 92 | "@testing-library/react": "^12.1.5",
|
76 | 93 | "@welldone-software/why-did-you-render": "^7.0.1",
|
77 | 94 | "@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
|
78 | 95 | "bundlewatch": "^0.3.3",
|
79 |
| - "chromatic": "^6.7.3", |
80 | 96 | "coveralls": "^3.1.1",
|
81 | 97 | "enzyme": "^3.11.0",
|
82 | 98 | "eslint-plugin-yaml": "^0.5.0",
|
|
120 | 136 | "path": "build/static/js/runtime-main.*.js",
|
121 | 137 | "maxSize": "1 kB"
|
122 | 138 | }
|
123 |
| - ] |
| 139 | + ] |
124 | 140 | }
|
125 | 141 | }
|
0 commit comments