|
29 | 29 | "upgrade:package": "npx npm-check-updates -u && yarn", |
30 | 30 | "prepare": "husky install" |
31 | 31 | }, |
| 32 | + "lint-staged": { |
| 33 | + "*.{js,jsx,ts,tsx,scss,css}": "yarn lint" |
| 34 | + }, |
32 | 35 | "dependencies": { |
33 | 36 | "@babel/core": "^7.15.5", |
34 | 37 | "@babel/plugin-transform-runtime": "^7.14.2", |
35 | 38 | "@babel/preset-env": "^7.15.6", |
36 | 39 | "@babel/preset-react": "^7.13.13", |
37 | 40 | "@babel/preset-typescript": "^7.13.0", |
38 | 41 | "@babel/runtime": "^7.14.0", |
39 | | - "@svgr/webpack": "^5.5.0", |
| 42 | + "@svgr/webpack": "^6.2.1", |
40 | 43 | "babel-loader": "^8.2.2", |
41 | | - "babel-plugin-styled-components": "1.13.2", |
42 | | - "copy-webpack-plugin": "^9.0.1", |
| 44 | + "babel-plugin-styled-components": "2.0.6", |
| 45 | + "copy-webpack-plugin": "^10.2.4", |
43 | 46 | "cross-env": "^7.0.3", |
44 | 47 | "css-loader": "^6.2.0", |
45 | 48 | "dotenv-webpack": "^7.0.2", |
|
54 | 57 | "webpack-cli": "^4.7.0" |
55 | 58 | }, |
56 | 59 | "devDependencies": { |
57 | | - "@pmmmwh/react-refresh-webpack-plugin": "^0.4.3", |
58 | | - "@storybook/addon-essentials": "^6.3.8", |
| 60 | + "@pmmmwh/react-refresh-webpack-plugin": "^0.5.4", |
59 | 61 | "@storybook/addon-actions": "^6.3.8", |
| 62 | + "@storybook/addon-essentials": "^6.3.8", |
60 | 63 | "@storybook/addon-links": "^6.3.8", |
61 | 64 | "@storybook/builder-webpack5": "^6.3.8", |
62 | | - "@storybook/components": "6.3.8", |
| 65 | + "@storybook/components": "6.4.19", |
63 | 66 | "@storybook/manager-webpack5": "^6.3.8", |
64 | 67 | "@storybook/react": "^6.3.8", |
65 | 68 | "@storybook/theming": "^6.3.8", |
66 | 69 | "@testing-library/jest-dom": "^5.12.0", |
67 | 70 | "@testing-library/react": "^12.0.0", |
68 | | - "@types/copy-webpack-plugin": "^8.0.1", |
| 71 | + "@types/copy-webpack-plugin": "^10.1.0", |
69 | 72 | "@types/dotenv-webpack": "^7.0.3", |
70 | 73 | "@types/html-webpack-plugin": "^3.2.6", |
71 | 74 | "@types/jest": "^27.0.1", |
72 | 75 | "@types/mini-css-extract-plugin": "^2.2.0", |
73 | | - "@types/node": "^16.9.1", |
| 76 | + "@types/node": "^17.0.21", |
74 | 77 | "@types/react": "^17.0.20", |
75 | 78 | "@types/react-dom": "^17.0.5", |
76 | 79 | "@types/styled-components": "^5.1.14", |
77 | 80 | "@types/testing-library__jest-dom": "^5.14.1", |
78 | 81 | "@types/webpack-dev-server": "^4.1.0", |
79 | | - "@typescript-eslint/eslint-plugin": "^4.31.0", |
80 | | - "@typescript-eslint/parser": "^4.31.0", |
81 | | - "eslint": "^7.26.0", |
82 | | - "eslint-config-airbnb": "^18.2.1", |
| 82 | + "@typescript-eslint/eslint-plugin": "^5.13.0", |
| 83 | + "@typescript-eslint/parser": "^5.13.0", |
| 84 | + "eslint": "^8.10.0", |
| 85 | + "eslint-config-airbnb": "^19.0.4", |
83 | 86 | "eslint-config-prettier": "^8.3.0", |
84 | 87 | "eslint-plugin-import": "^2.23.1", |
85 | | - "eslint-plugin-jest": "^24.3.6", |
| 88 | + "eslint-plugin-jest": "^26.1.1", |
86 | 89 | "eslint-plugin-jsx-a11y": "^6.4.1", |
87 | 90 | "eslint-plugin-prettier": "^4.0.0", |
88 | 91 | "eslint-plugin-react": "^7.23.2", |
89 | 92 | "eslint-plugin-react-hooks": "^4.2.0", |
| 93 | + "eslint-plugin-sonarjs": "0.12.0", |
| 94 | + "fork-ts-checker-webpack-plugin": "^7.2.1", |
90 | 95 | "husky": "^7.0.2", |
91 | 96 | "jest": "^27.1.1", |
92 | | - "lint-staged": "^11.0.0", |
93 | | - "netlify-cli": "^6.8.12", |
| 97 | + "lint-staged": "^12.3.4", |
| 98 | + "netlify-cli": "^9.9.0", |
94 | 99 | "prettier": "^2.4.0", |
95 | | - "react-refresh": "^0.9.0", |
| 100 | + "react-refresh": "^0.11.0", |
96 | 101 | "style-loader": "^3.2.1", |
97 | 102 | "ts-jest": "^27.0.5", |
98 | | - "eslint-plugin-sonarjs": "0.10.0", |
99 | 103 | "ts-node": "^10.2.1", |
100 | 104 | "webpack-bundle-analyzer": "^4.4.2", |
101 | | - "webpack-dev-server": "^4.2.0", |
102 | | - "fork-ts-checker-webpack-plugin": "^6.3.3" |
| 105 | + "webpack-dev-server": "^4.2.0" |
| 106 | + }, |
| 107 | + "browserslist": { |
| 108 | + "development": [ |
| 109 | + "last 1 chrome version", |
| 110 | + "last 1 firefox version", |
| 111 | + "last 1 edge version", |
| 112 | + "last 1 safari version" |
| 113 | + ], |
| 114 | + "production": [ |
| 115 | + "supports es6-module" |
| 116 | + ] |
103 | 117 | } |
104 | 118 | } |
0 commit comments