forked from data-for-change/anyway-newsflash-infographics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 3.42 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "anyway-newsflash-infographics",
"version": "0.13.0",
"private": true,
"dependencies": {
"@babel/eslint-parser": "^7.14.7",
"@material-ui/core": "^4.11.3",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.61",
"@react-leaflet/core": "^1.0.2",
"@types/classnames": "^2.3.1",
"@types/leaflet.heat": "^0.2.0",
"@types/query-string": "^6.3.0",
"@types/tinycolor2": "^1.4.3",
"axios": "^0.21.2",
"classnames": "^2.3.1",
"env-cmd": "^10.1.0",
"file-saver": "^2.0.5",
"html2canvas": "^1.3.3",
"i18next": "^20.3.2",
"i18next-http-backend": "^1.2.6",
"leaflet": "^1.7.1",
"leaflet.heat": "^0.2.0",
"mobx": "^6.3.2",
"mobx-react-lite": "^3.2.0",
"normalize.css": "^8.0.1",
"query-string": "^7.0.1",
"react": "^17.0.2",
"react-async-loader": "^0.1.2",
"react-dom": "^17.0.2",
"react-i18next": "^11.11.1",
"react-leaflet": "3.1.0",
"react-leaflet-google-layer": "^2.0.4",
"react-router-dom": "^6.0.2",
"react-scripts": "4.0.3",
"react-share": "^4.4.0",
"recharts": "^2.0.9",
"tinycolor2": "^1.4.2",
"typescript": "^4.3.5"
},
"scripts": {
"start": "react-scripts --openssl-legacy-provider start",
"build": "react-scripts build",
"build:staging": "env-cmd -f .env.staging react-scripts build",
"build:demo": "env-cmd -f .env.demo react-scripts build",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
"test": "react-scripts test",
"eject": "react-scripts eject",
"git:prune": "git remote prune origin",
"git:merged": "git branch --merged development",
"sb": "start-storybook -p 6006 -s public",
"build-sb": "build-storybook -s public"
},
"eslintConfig": {
"extends": [
"react-app",
"prettier"
],
"rules": {
"max-lines": [
2,
{
"max": 200,
"skipBlankLines": true,
"skipComments": true
}
],
"prefer-const": [
"error"
],
"no-restricted-imports": [
"error",
{
"patterns": [
"../.*"
]
}
],
"no-multiple-empty-lines": "error"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@storybook/addon-actions": "^6.3.2",
"@storybook/addon-essentials": "^6.3.2",
"@storybook/addon-links": "^6.3.2",
"@storybook/node-logger": "^6.3.2",
"@storybook/preset-create-react-app": "^3.2.0",
"@storybook/react": "^6.3.2",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/user-event": "^13.1.9",
"@types/file-saver": "^2.0.2",
"@types/googlemaps": "^3.43.3",
"@types/jest": "^26.0.24",
"@types/node": "^16.0.0",
"@types/react": "^17.0.13",
"@types/react-dom": "^17.0.8",
"@types/react-leaflet": "^2.8.1",
"@types/recharts": "^2.0.0",
"eslint": "7.30.0",
"eslint-config-prettier": "8.3.0",
"husky": "7.0.1",
"lint-staged": "11.0.0",
"prettier": "2.3.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix"
],
"*.{html,css,scss,stylus,js,ts,tsx,json,yml,md}": [
"prettier --write"
]
}
}