11{
22 "package" : {
33 "dependencies" : {
4- "@babel/helper-builder-react-jsx" : " ^7.10.4" ,
5- "@babel/plugin-transform-react-jsx" : " ^7.12.12" ,
6- "@carto/react" : " ^1.0.0-beta12" ,
7- "@formatjs/intl-getcanonicallocales" : " ^1.5.2" ,
8- "@formatjs/intl-locale" : " ^2.4.8" ,
9- "@formatjs/intl-numberformat" : " ^6.0.0" ,
10- "@formatjs/intl-pluralrules" : " ^4.0.0" ,
11- "@material-ui/core" : " ^4.11.0" ,
12- "@material-ui/icons" : " ^4.9.1" ,
13- "@material-ui/lab" : " ^4.0.0-alpha.56" ,
4+ "@carto/react" : " 1.0.0-beta12" ,
5+ "@formatjs/intl-getcanonicallocales" : " ^1.5.3" ,
6+ "@formatjs/intl-locale" : " ^2.4.14" ,
7+ "@formatjs/intl-numberformat" : " ^6.1.4" ,
8+ "@formatjs/intl-pluralrules" : " ^4.0.6" ,
9+ "@material-ui/core" : " ^4.11.3" ,
10+ "@material-ui/icons" : " ^4.11.2" ,
11+ "@material-ui/lab" : " 4.0.0-alpha.57" ,
1412 "@reduxjs/toolkit" : " ^1.5.0" ,
1513 "@testing-library/cypress" : " ^7.0.3" ,
16- "@testing-library/jest-dom" : " ^4.2.4 " ,
17- "@testing-library/react" : " ^9.3.2 " ,
18- "@testing-library/user-event" : " ^7.1 .2" ,
14+ "@testing-library/jest-dom" : " ^5.11.9 " ,
15+ "@testing-library/react" : " ^11.2.3 " ,
16+ "@testing-library/user-event" : " ^12.6 .2" ,
1917 "cypress" : " ^6.3.0" ,
2018 "deck.gl" : " ^8.4.0" ,
2119 "echarts" : " ^4.9.0" ,
2220 "echarts-for-react" : " ^2.0.16" ,
21+ "eslint-config-prettier" : " ^7.2.0" ,
22+ "eslint-plugin-prettier" : " ^3.3.1" ,
23+ "firebase-tools" : " ^9.2.2" ,
2324 "history" : " ^5.0.0" ,
24- "react" : " ^16.13.1" ,
25+ "husky" : " ^4.3.8" ,
26+ "hygen" : " ^6.0.4" ,
27+ "lint-staged" : " ^10.5.3" ,
28+ "prettier" : " ^2.2.1" ,
29+ "react" : " ^17.0.1" ,
2530 "react-app-polyfill" : " ^2.0.0" ,
26- "react-dom" : " ^16.13.1" ,
27- "react-map-gl" : " ^5.2.8" ,
28- "react-redux" : " ^7.1.3" ,
31+ "react-app-rewired" : " ^2.1.8" ,
32+ "react-dom" : " ^17.0.1" ,
33+ "react-is" : " ^17.0.1" ,
34+ "react-map-gl" : " ^5.3.0" ,
35+ "react-redux" : " ^7.2.2" ,
2936 "react-router-dom" : " ^6.0.0-beta.0" ,
30- "react-scripts" : " 3.4.3" ,
31- "eslint-config-prettier" : " ^6.12.0" ,
32- "eslint-loader" : " ^4.0.2" ,
33- "eslint-plugin-prettier" : " ^3.1.4" ,
34- "eslint-plugin-react" : " ^7.21.2" ,
35- "husky" : " ^4.3.0" ,
36- "lint-staged" : " ^10.4.0" ,
37- "prettier" : " ^2.1.2" ,
38- "react-app-rewired" : " ^2.1.6" ,
39- "hygen" : " ^6.0.4"
37+ "react-scripts" : " 4.0.1"
4038 },
4139 "scripts" : {
4240 "lint" : " eslint './src/**/*.{js,jsx}'" ,
4341 "lint:fix" : " eslint './src/**/*.{js,jsx}' --fix" ,
44- "format" : " npx prettier --write \" **/*.+(js|jsx|json|css|md)\" " ,
42+ "format" : " prettier --write \" **/*.+(js|jsx|json|css|md)\" --ignore-path .gitignore " ,
4543 "hygen" : " hygen" ,
4644 "updateSupportedBrowsers" : " echo \" var browserRegex = $(npx browserslist-useragent-regexp --allowHigherVersions);\" > public/supportedBrowsers.js"
4745 },
4846 "eslintConfig" : {
49- "extends" : " react-app"
47+ "extends" : [ " react-app" , " prettier " , " prettier/react " ]
5048 },
5149 "browserslist" : {
52- "production" : [
53- " >0.2%" ,
54- " not dead" ,
55- " not op_mini all" ,
56- " not explorer 11"
57- ],
50+ "production" : [" >0.2%" , " not dead" , " not op_mini all" , " not explorer 11" ],
5851 "development" : [
5952 " last 1 chrome version" ,
6053 " last 1 firefox version" ,
6760 }
6861 },
6962 "lint-staged" : {
70- "*.+(js|jsx)" : [
71- " yarn lint:fix" ,
72- " git add"
73- ],
74- "*.+(js|jsx|json|css|md)" : [
75- " prettier --write" ,
76- " git add"
77- ]
63+ "*.+(js|jsx)" : [" yarn lint:fix" , " git add" ],
64+ "*.+(js|jsx|json|css|md)" : [" prettier --write" , " git add" ]
7865 }
7966 }
80- }
67+ }
0 commit comments