-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
173 lines (173 loc) · 5.11 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
{
"name": "transitlog-ui",
"version": "1.1.0",
"private": true,
"dependencies": {
"@apollo/react-common": "^3.1.3",
"@apollo/react-components": "^3.1.3",
"@apollo/react-hoc": "^3.1.3",
"@apollo/react-hooks": "^3.1.3",
"@apollo/react-testing": "^3.1.3",
"@date-fns/upgrade": "^1.0.1",
"@fmidev/metolib": "^2.0.6",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@turf/turf": "^6.5.0",
"@types/jest": "^25.1.2",
"@types/moment-timezone": "^0.5.12",
"@types/react": "^16.9.19",
"apollo-cache-inmemory": "^1.6.5",
"apollo-client": "^2.6.8",
"apollo-link": "^1.2.13",
"apollo-link-batch-http": "^1.2.13",
"apollo-link-context": "^1.0.19",
"apollo-link-error": "^1.1.12",
"apollo-link-http": "^1.5.16",
"apollo-upload-client": "^13.0.0",
"copy-text-to-clipboard": "^2.1.1",
"date-fns": "^2.9.0",
"forever": "^1.0.0",
"fs-extra": "^8.1.0",
"fuse.js": "^3.4.6",
"graphql": "^14.6.0",
"graphql-tag": "^2.10.3",
"history": "^4.10.1",
"leaflet": "^1.6.0",
"leaflet-draw": "^1.0.4",
"lodash": "^4.17.15",
"mapillary-js": "4.0.0",
"mobx": "^5.15.4",
"mobx-app": "^1.0.3",
"mobx-react-lite": "^1.5.2",
"mobx-utils": "^5.5.3",
"moment": "^2.24.0",
"moment-timezone": "^0.5.27",
"p-all": "^2.1.0",
"p-each-series": "^2.1.0",
"p-finally": "^2.0.1",
"p-map": "^3.0.0",
"p-queue": "^6.2.1",
"polished": "^3.4.4",
"prop-types": "^15.6.2",
"react": "16.13.1",
"react-autosuggest": "^9.4.3",
"react-datepicker": "2.7.0",
"react-dev-utils": "^10.1.0",
"react-dom": "16.13.1",
"react-fetch-hook": "^1.8.0",
"react-icons": "^3.9.0",
"react-leaflet": "^2.7.0",
"react-leaflet-draw": "^0.19.0",
"react-markdown": "^4.3.1",
"react-primitives-svg": "^0.0.3",
"react-scripts": "3.4.3",
"react-spring": "^8.0.27",
"react-timer-hook": "^1.1.10",
"react-virtualized": "^9.21.2",
"react-vis": "^1.11.7",
"serve": "^11.3.0",
"styled-components": "^4.4.1",
"styled-react-modal": "^2.0.0",
"use-debounce": "^3.3.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^1.12.2",
"@graphql-codegen/fragment-matcher": "^1.12.2",
"@graphql-codegen/introspection": "^1.12.2",
"@graphql-codegen/typescript": "^1.12.2",
"@types/react-leaflet": "^2.5.2",
"babel-plugin-polished": "^1.1.0",
"babel-plugin-styled-components": "^1.10.7",
"customize-cra": "^0.9.1",
"customize-cra-react-refresh": "^1.0.1",
"cypress": "^4.5.0",
"cypress-commands": "^1.1.0",
"cypress-wait-until": "^1.7.1",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-cypress": "^2.9.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react-hooks": "^2.3.0",
"husky": "^4.2.3",
"jest-environment-jsdom-thirteen": "^1.0.1",
"jest-resolve": "^25.1.0",
"jest-styled-components": "^6.3.4",
"lint-staged": "^10.0.7",
"prettier": "^1.19.1",
"react-app-polyfill": "^1.0.6",
"react-app-rewired": "^2.1.5",
"react-test-renderer": "^16.12.0"
},
"scripts": {
"start": "BROWSER=none react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test --env=jsdom",
"eject": "react-app-rewired eject",
"test:ci": "CI=true react-app-rewired test --env=jsdom",
"test:staged": "CI=true react-app-rewired test --env=jsdom --bail --findRelatedTests",
"codestyle": "prettier \"src/**/*.{css,js}\" --write",
"lint": "eslint \"src/**/*.js\" --fix",
"production": "forever start -c \"yarn run serve -s -l 3000\" build && forever logs -f 0",
"codegen": "gql-gen --config codegen.yml",
"cypress": "cypress",
"cypress:run:dev": "cypress run --env configFile=dev",
"cypress:run:stage": "cypress run --env configFile=stage",
"cypress:run:production": "cypress run --env configFile=production"
},
"eslintConfig": {
"extends": [
"react-app",
"plugin:prettier/recommended"
],
"plugins": [
"react-hooks"
],
"rules": {
"import/no-webpack-loader-syntax": 0,
"import/first": 0,
"react-hooks/rules-of-hooks": 2,
"react-hooks/exhaustive-deps": 0,
"prettier/prettier": 1,
"array-callback-return": 0,
"react/jsx-no-target-blank": 0
},
"overrides": []
},
"lint-staged": {
"src/**/*.js": [
"prettier --write",
"eslint --fix",
"npm run test:staged"
],
"*.css": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.(spec|test).{js,jsx,ts,tsx}",
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx,ts,tsx}"
],
"testEnvironment": "jest-environment-jsdom-thirteen",
"modulePathIgnorePatterns": [
"util"
]
}
}