-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
199 lines (199 loc) · 5.97 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
192
193
194
195
196
197
198
199
{
"name": "jore-map-ui",
"version": "1.4.1",
"private": true,
"dependencies": {
"@babel/core": "7.10.5",
"@babel/preset-env": "7.10.4",
"apollo-cache-inmemory": "^1.6.5",
"apollo-client": "^2.4.1",
"apollo-link-batch-http": "^1.2.13",
"autoprefixer": "7.1.6",
"babel-jest": "26.1.0",
"babel-loader": "8.1.0",
"babel-preset-react-app": "9.1.2",
"case-sensitive-paths-webpack-plugin": "2.1.1",
"chalk": "1.1.3",
"chroma-js": "^1.3.7",
"classnames": "^2.2.6",
"css-loader": "0.28.7",
"date-fns": "^2.6.0",
"dotenv": "4.0.0",
"dotenv-expand": "4.2.0",
"extract-text-webpack-plugin": "3.0.2",
"file-loader": "0.11.2",
"forever": "^1.0.0",
"fork-ts-checker-webpack-plugin": "^0.2.8",
"fs-extra": "3.0.1",
"graphql": "^14.5.8",
"graphql-tag": "^2.9.2",
"history": "^4.7.2",
"html-webpack-plugin": "2.29.0",
"jest": "26.4.0",
"leaflet": "1.6.0",
"leaflet-editable": "^1.2.0",
"leaflet-polylinedecorator": "^1.6.0",
"leaflet.vectorgrid": "github:chriszrc/Leaflet.VectorGrid#6bdad6d07290db04ff02ebf44830b85bcfe6c020",
"lodash": "^4.17.11",
"mobx": "5.15.6",
"mobx-react": "6.2.5",
"mobx-react-lite": "2.0.7",
"mobx-react-router": "^4.0.4",
"moment": "^2.22.2",
"object-assign": "4.1.1",
"postcss-flexbugs-fixes": "3.2.0",
"postcss-loader": "2.0.8",
"prettier": "^2.0.5",
"proj4": "^2.4.4",
"promise": "8.0.1",
"qs": "^6.5.2",
"raf": "3.4.0",
"react": "16.13.1",
"react-apollo": "3.1.5",
"react-datepicker": "^3.0.0",
"react-dom": "16.13.1",
"react-icons": "3.0.5",
"react-leaflet": "2.7.0",
"react-router": "5.2.0",
"react-router-dom": "5.2.0",
"react-select": "^3.0.4",
"resolve": "1.6.0",
"serve": "^11.1.0",
"source-map-loader": "^0.2.1",
"style-loader": "0.19.0",
"sw-precache-webpack-plugin": "0.11.4",
"ts-jest": "26.2.0",
"ts-loader": "^6.2.1",
"tsconfig-paths-webpack-plugin": "^2.0.0",
"tslint": "^5.11.0",
"tslint-react": "^3.2.0",
"tslint-react-hooks": "^2.2.2",
"uglifyjs-webpack-plugin": "^1.1.8",
"url-loader": "0.6.2",
"validatorjs": "3.19.2",
"webpack-dev-server": "3.0.0",
"webpack-manifest-plugin": "1.3.2",
"whatwg-fetch": "2.0.3"
},
"scripts": {
"start": "node scripts/start.js",
"build": "node scripts/build.js",
"test": "node scripts/test.js --env=jsdom",
"test:ci": "CI=true node scripts/test.js --env=jsdom",
"test-coverage": "node scripts/test.js --env=jsdom --coverage",
"lint": "tslint --project tsconfig.json --format codeFrame",
"lint-fix": "tslint --fix --project tsconfig.json --format codeFrame 'src/**/*.ts'",
"release-patch": "bumped release patch",
"release-minor": "bumped release minor",
"release-major": "bumped release major",
"production": "forever start -c \"yarn run serve -s -l 5000\" build && forever logs -f 0",
"cypress": "CYPRESS_E2E=true cypress",
"cypress:run:dev": "CYPRESS_E2E=true cypress run --env configFile=dev",
"cypress:run:stage": "CYPRESS_E2E=true cypress run --env configFile=stage",
"prettify-all-files": "npx prettier --write '**/*.ts'"
},
"devDependencies": {
"@types/chroma-js": "^1.3.5",
"@types/classnames": "^2.2.6",
"@types/graphql": "14.5.0",
"@types/history": "^4.7.0",
"@types/jest": "^23.1.3",
"@types/leaflet": "^1.2.7",
"@types/leaflet-polylinedecorator": "^1.1.3",
"@types/lodash": "^4.14.118",
"@types/node": "^10.5.1",
"@types/proj4": "^2.3.4",
"@types/prop-types": "^15.5.3",
"@types/qs": "^6.5.1",
"@types/query-string": "^6.1.0",
"@types/react": "16.9.43",
"@types/react-datepicker": "^2.9.5",
"@types/react-dom": "16.9.8",
"@types/react-leaflet": "^1.1.6",
"@types/react-router-dom": "5.1.5",
"@types/react-select": "^3.0.0",
"@types/validatorjs": "3.15.0",
"bumped": "^0.10.11",
"bumped-changelog": "0.3.13",
"bumped-terminal": "^0.7.6",
"cypress": "5.5.0",
"cypress-commands": "^0.3.1",
"cypress-wait-until": "^1.6.1",
"del-cli": "^1.1.0",
"mobx-react-devtools": "^6.0.1",
"npm-run-all": "^4.1.3",
"react-dev-utils": "^5.0.1",
"sass": "^1.26.1",
"sass-loader": "^7.1.0",
"tslint": "^5.11.0",
"tslint-config-airbnb": "^5.9.2",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.3.1",
"tslint-origin-ordered-imports-rule": "^1.1.2",
"typescript": "3.9.7",
"typings-for-css-modules-loader": "^1.7.0",
"webpack": "^3.8.1"
},
"resolutions": {
"@types/react": "^16.8.23"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
],
"coveragePathIgnorePatterns": [
".*\\.d\\.ts",
"<rootDir>/node_modules/"
],
"setupFiles": [
"<rootDir>/config/polyfills.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.(j|t)s?(x)",
"<rootDir>/src/**/?(*.)(spec|test).(j|t)s?(x)"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.tsx?$": "<rootDir>/config/jest/typescriptTransform.js",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|ts|tsx)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"~/(.*)": "<rootDir>/src/$1"
},
"moduleFileExtensions": [
"web.ts",
"ts",
"web.tsx",
"tsx",
"web.js",
"js",
"web.jsx",
"jsx",
"json",
"node",
"mjs"
],
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.test.json"
}
}
},
"eslintConfig": {
"extends": "react-app"
},
"prettier": {
"printWidth": 100,
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"jsxSingleQuote": true
}
}