forked from openforis/fra-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
273 lines (273 loc) · 10.3 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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
{
"license": "UNLICENSED",
"name": "frap",
"engines": {
"node": "^18.12.1",
"yarn": ">=1.16.0"
},
"scripts": {
"migrate-fra": "run-s migrate-fra:migration migrate-fra:post-migration",
"migrate-fra:migration": "ts-node tools/dataMigration/index.ts",
"migrate-fra:post-migration": "yarn jest --no-cache --detectOpenHandles --setupFiles dotenv/config --config src/test/dataMigration/jest.config.js",
"migrate-fra:test:persist-node-value": "yarn jest --no-cache --detectOpenHandles --setupFiles dotenv/config --config jest.config.test.js",
"migrate-fra:data-export:compare": "yarn jest --no-cache --detectOpenHandles --setupFiles dotenv/config --config src/test/dataExportComparison/jest.config.js",
"migrate-fra:bulk-download:compare": "yarn jest --no-cache --detectOpenHandles --setupFiles dotenv/config --config src/test/bulkDownloadComparison/jest.config.js",
"migrate-panEuropean:migration": "ts-node tools/dataMigration/panEuropean.ts",
"build": "yarn build:client && yarn build:server && yarn build:copy && yarn run-migrations",
"build:server": "yarn tsc --project tsconfig.server.json && yarn tscpaths -v -p tsconfig.server.paths.json -s ./server -o ./dist",
"build:client": "cross-env NODE_ENV=production webpack --config webpack.config.babel.js",
"build:copy": "shx cp -Rf src/server/db/migration/* dist/server/db/migration/. && shx cp -Rf web-resources dist/ && shx cp -Rf src/server/static dist/server/",
"build:watch": "cross-env NODE_ENV=development webpack --config webpack.config.babel.js --watch",
"build:dev-server": "cross-env NODE_ENV=development webpack serve --config webpack.config.babel.js",
"build:prod:report": "cross-env NODE_ENV=production BUILD_REPORT=true webpack --display-error-details -p --config webpack.config.babel.js",
"build:prod": "cross-env NODE_ENV=production webpack --display-error-details -p --config webpack.config.babel.js",
"clean": "shx rm -rf dist/",
"start": "node dist/server",
"watch": "run-p build:dev-server watch:server",
"watch-debug": "run-p build:dev-server watch:server-debug",
"watch:server": "ts-node-dev src/server",
"watch:server-debug": "cross-env NODE_ENV=development nodemon -e js --inspect --watch server src/server/serverLocal.js",
"create-migration": "./src/server/db/migration/create-migration.sh",
"run-migrations": "./src/server/db/migration/run-migrations.sh",
"//test": "mochapack --webpack-config webpack.config.babel.test.js",
"test": "run-s test:integration",
"test:integration": "yarn jest --no-cache --detectOpenHandles --setupFiles dotenv/config",
"test:e2e": "playwright test --config ./src/test/e2e/jest-playwright.config.ts",
"test:watch": "yarn jest --no-cache --detectOpenHandles --watchAll --setupFiles dotenv/config",
"preversion": "git diff --quiet || { echo \"Working directory is dirty\"; exit 1; };",
"postversion": "git push --tags && git push && echo \"Successfully released version $npm_package_version!\"",
"prepare": "husky install",
"postinstall": "husky install",
"prod": "yarn build && yarn start",
"pre-commit": "lint-staged && eslint --cache --fix",
"heroku-prebuild": "echo \"//npm.pkg.github.com/:_authToken=${NPM_GITHUB_TOKEN}\" >> .npmrc",
"geo:forest-estimations-import": "ts-node tools/geo/forestEstimationsImport.ts"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.8",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-object-rest-spread": "^7.17.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@babel/register": "^7.17.7",
"@babel/runtime-corejs3": "^7.17.8",
"@playwright/test": "^1.27.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
"@types/bcrypt": "^5.0.0",
"@types/bluebird-global": "^3.5.12",
"@types/body-parser": "^1.19.1",
"@types/chai": "^4.2.21",
"@types/chart.js": "^2.9.36",
"@types/compression": "^1.7.1",
"@types/connect-pg-simple": "^7.0.0",
"@types/cookie-parser": "^1.4.2",
"@types/d3": "^7.0.0",
"@types/d3-interpolate-path": "^2.0.0",
"@types/d3-tip": "^3.5.5",
"@types/express": "^4.17.13",
"@types/google.maps": "^3.48.3",
"@types/jest": "^27.4.1",
"@types/json2csv": "^5.0.3",
"@types/jsonwebtoken": "^8.5.6",
"@types/lodash.clonedeep": "^4.5.6",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.differencewith": "^4.5.6",
"@types/lodash.isequal": "^4.5.5",
"@types/lodash.isfunction": "^3.0.6",
"@types/lodash.isnil": "^4.0.6",
"@types/lodash.pick": "^4.4.7",
"@types/lodash.range": "^3.2.6",
"@types/lodash.reverse": "^4.0.6",
"@types/lodash.throttle": "^4.1.6",
"@types/lodash.uniqwith": "^4.5.6",
"@types/marked": "^4.0.3",
"@types/mocha": "^9.1.0",
"@types/morgan": "^1.9.3",
"@types/node": "^17.0.23",
"@types/node-schedule": "^1.3.2",
"@types/nodemailer": "^6.4.4",
"@types/passport": "^1.0.7",
"@types/passport-google-oauth": "^1.0.42",
"@types/passport-jwt": "^3.0.7",
"@types/passport-local": "^1.0.34",
"@types/pg": "^8.6.5",
"@types/ramda": "^0.27.44",
"@types/react": "^18.0.12",
"@types/react-csv": "^1.1.2",
"@types/react-dom": "^18.0.5",
"@types/react-redux": "^7.1.24",
"@types/react-responsive": "^8.0.3",
"@types/react-router-dom": "^5.1.8",
"@types/redux-debounced": "^0.2.19",
"@types/to-snake-case": "^1.0.0",
"@types/turndown": "^5.0.1",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"babel-loader": "^8.2.4",
"chai": "^4.3.4",
"clean-webpack-plugin": "^4.0.0-alpha.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^3.0.2",
"csv": "^6.0.5",
"eslint": "8.22.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-webpack": "^0.13.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"git-revision-webpack-plugin": "^5.0.0",
"html-webpack-plugin": "^5.3.2",
"husky": "^7.0.0",
"jest": "^27.5.1",
"jsondiffpatch": "^0.4.1",
"less": "^4.1.1",
"less-loader": "^10.0.1",
"lint-staged": ">=12.3.7",
"mini-css-extract-plugin": "^2.6.0",
"mocha": "^9.2.2",
"mochapack": "^2.1.2",
"nodemon": "^2.0.12",
"npm-run-all": "^4.1.5",
"null-loader": "^4.0.0",
"pdfjs-dist": "^2.13.216",
"prettier": "^2.6.1",
"puppeteer": "^13.5.2",
"react-refresh": "^0.11.0",
"sass": "^1.49.10",
"sass-loader": "^12.6.0",
"shx": "^0.3.3",
"source-map-loader": "^3.0.0",
"style-loader": "^3.0.0",
"terser-webpack-plugin": "^5.1.4",
"ts-jest": "^27.1.4",
"ts-migrate": "^0.1.28",
"ts-node": "^10.7.0",
"ts-node-dev": "^2.0.0",
"tscpaths": "^0.0.9",
"turndown": "^7.1.1",
"typescript": "^4.6.3",
"webpack": "^5.71.0",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^4.7.4"
},
"dependencies": {
"@google/earthengine": "^0.1.316",
"@googlemaps/js-api-loader": "^1.13.10",
"@googlemaps/react-wrapper": "^1.1.29",
"@openforis/arena-core": "^0.0.79",
"@reduxjs/toolkit": "^1.8.1",
"@types/multer": "^1.4.7",
"@uiw/react-md-editor": "^3.17.0",
"assert": "^2.0.0",
"axios": "^0.25.0",
"bcrypt": "^5.0.1",
"bignumber.js": "^9.0.1",
"bluebird": "^3.7.2",
"body-parser": "^1.19.2",
"bullmq": "^3.4.0",
"camelize": "^1.0.0",
"chart.js": "^3.7.1",
"classnames": "^2.3.1",
"clipboard-polyfill": "^3.0.3",
"cluster": "^0.7.7",
"compression": "^1.6.2",
"connect-pg-simple": "^7.0.0",
"connect-wwwhisper": "^0.1.21",
"cookie-parser": "^1.4.5",
"core-js": "^3.21.1",
"d3": "^7.4.0",
"d3-interpolate-path": "^2.2.3",
"d3-tip": "^0.9.1",
"date-fns": "^2.28.0",
"db-migrate": "^0.11.12",
"db-migrate-pg": "^1.2.2",
"dotenv": "^16.0.0",
"downshift": "^6.1.12",
"emoji-mart-lite": "^0.6.1",
"express": "^4.17.3",
"express-queue": "^0.0.13",
"express-session": "^1.17.2",
"express-validator": "^6.14.2",
"extract-zip": "^2.0.1",
"fast-csv": "^4.3.6",
"http-proxy-middleware": "^2.0.4",
"i18next": "^21.6.14",
"ioredis": "^5.2.4",
"jsep": "^1.3.4",
"json2csv": "^5.0.7",
"jsonwebtoken": "^8.5.1",
"jszip": "^3.8.0",
"lodash.clonedeep": "^4.5.0",
"lodash.debounce": "^4.0.8",
"lodash.differencewith": "^4.5.0",
"lodash.isequal": "^4.5.0",
"lodash.isfunction": "^3.0.9",
"lodash.isnil": "^4.0.0",
"lodash.pick": "^4.4.0",
"lodash.range": "^3.2.0",
"lodash.reverse": "^4.0.1",
"lodash.throttle": "^4.1.1",
"lodash.uniqwith": "^4.5.0",
"marked": "^4.0.10",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"node-schedule": "^2.0.0",
"nodemailer": "^6.7.3",
"passport": "^0.5.2",
"passport-google-oauth": "^2.0.0",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"pg": "^8.7.3",
"pg-promise": "^10.10.2",
"ramda": "^0.27.1",
"react": "^18.1.0",
"react-csv": "^2.0.3",
"react-dom": "^18.1.0",
"react-i18next": "^11.16.2",
"react-paginate": "^8.1.4",
"react-redux": "^8.0.2",
"react-responsive": "^9.0.0-beta.6",
"react-router": "^5.2.0",
"react-router-dom": "^6.3.0",
"redux": "^4.1.1",
"redux-debounced": "^0.5.0",
"redux-promise": "^0.6.0",
"rehype-raw": "^6.1.1",
"rehype-sanitize": "^5.0.1",
"socket.io": "^4.5.0",
"socket.io-client": "^4.5.0",
"to-snake-case": "^1.0.0",
"tsconfig-paths": "^3.14.1",
"turndown-plugin-gfm": "^1.0.2",
"uuid": "^8.3.2",
"webpack-node-externals": "^3.0.0",
"winston": "^3.8.2"
},
"browserslist": [
"last 2 versions"
],
"version": "3.0.0-alpha.2",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{ts,tsx}": [
"eslint --cache --fix --rule 'no-console:2'"
],
"**/*.{ts,tsx,js,scss}": [
"prettier --write"
]
}
}