|
7 | 7 | "@material-ui/core": "^4.11.0", |
8 | 8 | "@material-ui/icons": "^4.9.1", |
9 | 9 | "@primer/octicons-v2-react": "0.0.0-53e900d", |
10 | | - "@testing-library/jest-dom": "^5.11.0", |
11 | | - "@testing-library/react": "^10.4.3", |
12 | | - "ag-grid-community": "^24.0.0", |
13 | | - "ag-grid-react": "^24.0.0", |
| 10 | + "ag-grid-community": "^25.1.0", |
| 11 | + "ag-grid-react": "^25.1.0", |
14 | 12 | "axios": "^0.21.1", |
15 | 13 | "classnames": "^2.2.6", |
16 | 14 | "core-js": "^3.6.5", |
17 | 15 | "corejs-typeahead": "^1.3.1", |
18 | 16 | "d3-array": "^2.4.0", |
19 | | - "d3-axis": "^1.0.12", |
20 | | - "d3-fetch": "^1.2.0", |
21 | | - "d3-format": "^1.4.4", |
22 | | - "d3-geo": "^1.12.1", |
23 | | - "d3-interpolate": "^1.4.0", |
| 17 | + "d3-axis": "^2.1.0", |
| 18 | + "d3-fetch": "^2.0.0", |
| 19 | + "d3-format": "^2.0.0", |
| 20 | + "d3-geo": "^2.0.1", |
| 21 | + "d3-interpolate": "^2.0.1", |
24 | 22 | "d3-interpolate-path": "^2.1.2", |
25 | 23 | "d3-scale": "^3.2.1", |
26 | | - "d3-scale-chromatic": "^1.5.0", |
27 | | - "d3-selection": "^1.4.1", |
28 | | - "d3-shape": "^1.3.7", |
29 | | - "d3-transition": "^1.3.2", |
| 24 | + "d3-scale-chromatic": "^2.0.0", |
| 25 | + "d3-selection": "^2.0.0", |
| 26 | + "d3-shape": "^2.1.0", |
| 27 | + "d3-transition": "^2.0.0", |
30 | 28 | "date-fns": "^2.14.0", |
31 | 29 | "date-fns-tz": "^1.0.10", |
32 | 30 | "fast-deep-equal": "^3.1.3", |
33 | 31 | "immer": "^8.0.1", |
34 | 32 | "lodash": "^4.17.15", |
35 | 33 | "luxon": "^1.25.0", |
36 | 34 | "mobx": "^6.1.4", |
37 | | - "react": "^16.13.1", |
38 | | - "react-content-loader": "^5.1.0", |
39 | | - "react-dom": "^16.13.1", |
| 35 | + "react": "^17.0.1", |
| 36 | + "react-content-loader": "^6.0.2", |
| 37 | + "react-dom": "^17.0.1", |
40 | 38 | "react-feather": "^2.0.8", |
41 | 39 | "react-helmet": "^6.1.0", |
42 | | - "react-notifications-component": "^2.4.0", |
| 40 | + "react-notifications-component": "^3.0.4", |
43 | 41 | "react-router-dom": "^5.2.0", |
44 | | - "react-scripts": "^3.4.3", |
| 42 | + "react-scripts": "^4.0.3", |
45 | 43 | "react-spring": "^8.0.27", |
46 | | - "react-swipeable": "^5.5.1", |
47 | | - "react-syntax-highlighter": "^13.5.3", |
| 44 | + "react-swipeable": "^6.1.0", |
| 45 | + "react-syntax-highlighter": "^15.4.3", |
48 | 46 | "react-table": "^7.5.0", |
49 | | - "react-use": "^15.3.0", |
50 | | - "react-use-gesture": "^7.0.15", |
| 47 | + "react-use": "^17.2.1", |
| 48 | + "react-use-gesture": "^9.1.3", |
51 | 49 | "redoc": "^2.0.0-rc.40", |
52 | 50 | "styled-components": "^5.2.0", |
53 | | - "swr": "^0.2.3", |
| 51 | + "swr": "^0.5.2", |
54 | 52 | "topojson": "^3.0.2", |
55 | 53 | "use-dark-mode": "^2.3.1", |
56 | 54 | "workerize-loader": "^1.3.0" |
|
62 | 60 | "compress_maps": "rollup -c", |
63 | 61 | "test": "react-scripts test --testPathIgnorePatterns=src/tests/mapAndApiStateNames.test.js", |
64 | 62 | "test:map": "react-scripts test src/tests/mapAndApiStateNames.test.js", |
65 | | - "eslint": "eslint .", |
66 | | - "eslint:fix": "eslint --fix --max-warnings=0", |
67 | | - "format": "prettier --write \"**/*.+(js|jsx|json|yml|yaml|md|html)\"", |
| 63 | + "eslint": "eslint . --cache --quite", |
| 64 | + "eslint:fix": "eslint . --fix --max-warnings=0", |
68 | 65 | "scss-lint": "sass-lint 'src/**/*.scss' -v -f table --max-warnings 0", |
69 | 66 | "scss-lint:fix": "sass-lint-auto-fix 'src/**/*.scss' -d -h -c '.sass-lint-auto-fix.yml'", |
70 | 67 | "analyze": "source-map-explorer 'build/static/js/*.js'", |
|
75 | 72 | "eslintConfig": { |
76 | 73 | "extends": "react-app" |
77 | 74 | }, |
78 | | - "husky": { |
79 | | - "hooks": { |
80 | | - "pre-commit": "lint-staged" |
81 | | - } |
82 | | - }, |
83 | | - "lint-staged": { |
84 | | - "*.+(js|jsx)": [ |
85 | | - "npm run eslint:fix", |
86 | | - "prettier --write \"**/*.+(js|jsx)\"" |
87 | | - ], |
88 | | - "*.+(json|yml|yaml|md)": [ |
89 | | - "prettier --write \"**/*.+(json|yml|yaml|md)\"" |
90 | | - ], |
91 | | - "*.+(css|scss)": [ |
92 | | - "npm run scss-lint:fix", |
93 | | - "npm run scss-lint" |
94 | | - ] |
95 | | - }, |
96 | 75 | "devDependencies": { |
97 | | - "@welldone-software/why-did-you-render": "^4.2.5", |
| 76 | + "@testing-library/jest-dom": "^5.11.0", |
| 77 | + "@testing-library/react": "^11.2.5", |
| 78 | + "@welldone-software/why-did-you-render": "^6.1.0", |
98 | 79 | "enzyme": "^3.11.0", |
99 | 80 | "enzyme-adapter-react-16": "^1.15.2", |
100 | 81 | "eslint-config-google": "^0.14.0", |
101 | | - "eslint-config-prettier": "^6.11.0", |
| 82 | + "eslint-config-prettier": "^8.1.0", |
102 | 83 | "eslint-plugin-import": "^2.22.0", |
103 | 84 | "eslint-plugin-prettier": "^3.1.4", |
104 | 85 | "eslint-plugin-react": "^7.20.0", |
105 | 86 | "http-server": "^0.12.3", |
106 | | - "husky": "^4.2.5", |
107 | | - "lint-staged": "^10.2.11", |
108 | | - "node-sass": "^4.14.1", |
| 87 | + "node-sass": "^5.0.0", |
109 | 88 | "prettier": "^2.0.5", |
110 | 89 | "rollup": "^2.18.1", |
111 | 90 | "rollup-plugin-copy": "^3.3.0", |
112 | 91 | "sass-lint": "^1.13.1", |
113 | 92 | "sass-lint-auto-fix": "^0.21.0", |
114 | 93 | "source-map-explorer": "^2.4.2", |
115 | | - "workbox-build": "^5.1.3" |
| 94 | + "workbox-build": "^6.1.1" |
116 | 95 | }, |
117 | 96 | "browserslist": { |
118 | 97 | "production": [ |
|
0 commit comments