/
package.json
191 lines (191 loc) · 5.17 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
{
"name": "shamash",
"version": "0.1.0",
"private": true,
"dependencies": {
"@apollo/client": "3.10.3",
"@babel/core": "7.24.5",
"@entur/form": "3.4.7",
"@entur/icons": "1.20.0",
"@entur/sdk": "1.11.1",
"@entur/table": "4.8.7",
"@mapbox/polyline": "1.2.1",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.13",
"@svgr/webpack": "5.5.0",
"@testing-library/jest-dom": "4.2.4",
"@testing-library/react": "9.5.0",
"@testing-library/user-event": "7.2.1",
"@turf/bbox": "6.5.0",
"@turf/helpers": "6.5.0",
"@turf/line-to-polygon": "6.5.0",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"babel-eslint": "10.1.0",
"babel-jest": "26.6.3",
"babel-loader": "8.3.0",
"babel-plugin-named-asset-import": "0.3.8",
"babel-preset-react-app": "10.0.1",
"bfj": "7.1.0",
"camelcase": "6.3.0",
"case-sensitive-paths-webpack-plugin": "2.4.0",
"css-loader": "4.3.0",
"dotenv": "8.6.0",
"dotenv-expand": "5.1.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.8",
"eslint": "7.32.0",
"eslint-config-react-app": "6.0.0",
"eslint-plugin-flowtype": "5.10.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "24.7.0",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-testing-library": "3.10.2",
"eslint-webpack-plugin": "2.7.0",
"file-loader": "6.2.0",
"fs-extra": "9.1.0",
"graphiql": "1.11.5",
"graphiql-explorer": "0.9.0",
"graphql": "15.8.0",
"graphql-ws": "5.16.0",
"history": "4.10.1",
"html-webpack-plugin": "4.5.2",
"husky": "3.1.0",
"identity-obj-proxy": "3.0.0",
"isomorphic-fetch": "2.2.1",
"jest": "26.6.3",
"jest-circus": "26.6.3",
"jest-resolve": "26.6.2",
"jest-watch-typeahead": "0.6.5",
"leaflet": "1.9.4",
"lint-staged": "9.5.0",
"lodash.debounce": "4.0.8",
"mini-css-extract-plugin": "0.12.0",
"optimize-css-assets-webpack-plugin": "5.0.8",
"pnp-webpack-plugin": "1.7.0",
"postcss-flexbugs-fixes": "4.2.1",
"postcss-loader": "3.0.0",
"postcss-normalize": "8.0.1",
"postcss-preset-env": "6.7.2",
"postcss-safe-parser": "5.0.2",
"prompts": "2.4.2",
"query-string": "6.14.1",
"react": "16.14.0",
"react-app-polyfill": "2.0.0",
"react-dev-utils": "11.0.4",
"react-dom": "16.14.0",
"react-helmet": "5.2.1",
"react-leaflet": "3.2.5",
"react-refresh": "0.14.2",
"react-test-renderer": "16.14.0",
"resolve": "1.22.8",
"resolve-url-loader": "3.1.5",
"sass-loader": "10.5.2",
"semver": "7.6.2",
"style-loader": "1.3.0",
"subscriptions-transport-ws": "0.11.0",
"terser-webpack-plugin": "4.2.3",
"ts-pnp": "1.2.0",
"url-loader": "4.1.1",
"uuid": "3.4.0",
"webpack": "4.47.0",
"webpack-dev-server": "3.11.3",
"webpack-manifest-plugin": "2.2.0",
"workbox-webpack-plugin": "5.1.4"
},
"scripts": {
"start": "node scripts/start.js",
"start:server": "node server.js",
"build": "node scripts/build.js",
"test": "node scripts/test.js",
"lint": "eslint src && yarn format:check",
"format:check": "prettier --check .",
"format": "prettier --write ."
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": true
},
"devDependencies": {
"eslint-plugin-prettier": "3.4.1",
"prettier": "2.8.8"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"setupFiles": [
"react-app-polyfill/jsdom"
],
"setupFilesAfterEnv": [
"<rootDir>/src/setupTests.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"testEnvironment": "jsdom",
"testRunner": "<rootDir>/node_modules/jest-circus/runner.js",
"transform": {
"^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"modulePaths": [
"<rootDir>/src"
],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"web.js",
"js",
"web.ts",
"ts",
"web.tsx",
"tsx",
"json",
"web.jsx",
"jsx",
"node"
],
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
],
"resetMocks": true
},
"babel": {
"presets": [
"react-app"
]
},
"eslintConfig": {
"extends": "react-app"
}
}