-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
114 lines (114 loc) · 3.7 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
{
"name": "openbeta-graphql",
"version": "0.2.0",
"description": "Rock climbing GraphQL API by OpenBeta",
"exports": "./build/index.js",
"repository": "https://github.com/OpenBeta/openbeta-graphql.git",
"author": "<openbeta@noreply>",
"license": "AGPL-3.0-or-later",
"devDependencies": {
"@types/auth0": "^3.3.2",
"@types/jest": "^29.4.0",
"@types/node": "^18.13.0",
"@types/supertest": "^2.0.12",
"@types/underscore": "^1.11.4",
"cross-env": "^7.0.3",
"husky": "^8.0.1",
"jest": "29.4.2",
"jest-extended": "^3.2.3",
"mongodb-memory-server": "^8.12.2",
"nock": "^13.3.0",
"supertest": "^6.3.3",
"ts-jest": "^29.0.5",
"ts-standard": "^12.0.0",
"typescript": "4.9.5",
"wait-for-expect": "^3.0.2"
},
"dependencies": {
"@babel/runtime": "^7.17.2",
"@google-cloud/storage": "^6.9.5",
"@graphql-tools/schema": "^8.3.1",
"@openbeta/sandbag": "^0.0.51",
"@turf/area": "^6.5.0",
"@turf/bbox": "^6.5.0",
"@turf/bbox-polygon": "^6.5.0",
"@turf/circle": "^6.5.0",
"@turf/convex": "^6.5.0",
"@turf/helpers": "^6.5.0",
"@types/uuid": "^8.3.3",
"apollo-datasource-mongodb": "^0.5.4",
"apollo-server-core": "^3.13.0",
"apollo-server-express": "^3.13.0",
"auth0": "^3.4.0",
"axios": "^1.3.6",
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"date-fns": "^2.30.0",
"dot-object": "^2.1.4",
"dotenv": "^16.4.4",
"express": "^4.18.2",
"glob": "^10.2.2",
"graphql": "^16.8.1",
"graphql-middleware": "^6.1.31",
"graphql-shield": "^7.5.0",
"graphql-type-json": "^0.3.2",
"i18n-iso-countries": "^7.5.0",
"immer": "^9.0.15",
"jsonwebtoken": "^8.5.1",
"jwks-rsa": "^2.1.4",
"mongoose": "6.4.7",
"mongoose-lean-virtuals": "^0.9.1",
"node-fetch": "2",
"p-limit": "^4.0.0",
"pino": "^8.2.0",
"pino-logflare": "^0.4.2",
"sanitize-html": "^2.7.2",
"sharp": "^0.32.0",
"typesense": "^1.2.1",
"underscore": "^1.13.2",
"uuid": "^8.3.2",
"uuid-mongodb": "^2.5.1",
"yup": "^1.1.1"
},
"scripts": {
"lint": "yarn ts-standard",
"fix": "yarn ts-standard --fix",
"test": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" jest --runInBand",
"build": "tsc -p tsconfig.json",
"build-release": "tsc -p tsconfig.release.json",
"clean": "tsc -b --clean && rm -rf build/*",
"serve": "yarn build && node --experimental-json-modules build/main.js",
"serve-dev": "echo \"🚨 LOCAL_DEV_BYPASS_AUTH enabled 🚨\" && LOCAL_DEV_BYPASS_AUTH=true yarn serve",
"seed-db": "./seed-db.sh",
"add-countries": "yarn build && node build/db/utils/jobs/AddCountriesJob.js",
"update-stats": "yarn build && node build/db/utils/jobs/UpdateStatsJob.js",
"update-climb-search": "tsc ; node build/db/export/Typesense/Typesense.js --climbs",
"update-area-search": "tsc ; node build/db/export/Typesense/Typesense.js --areas",
"update-search": "tsc ; node build/db/export/Typesense/Typesense.js --areas --climbs",
"export:json:full": "yarn build && node build/db/export/json/index.js",
"export-prod": "./export.sh",
"prepare": "husky install",
"import-users": "yarn build && node build/db/utils/jobs/migration/CreateUsersCollection.js",
"maptiles:export-db": "node build/db/utils/jobs/MapTiles/exportCmd.js",
"maptiles:upload": "./scripts/upload-tiles.sh",
"maptiles:full": "yarn build && yarn maptiles:export-db && yarn maptiles:upload"
},
"standard": {
"plugins": [
"html"
],
"parser": "babel-eslint"
},
"ts-standard": {
"ignore": [
"build",
"hacks",
"**/*.test.ts",
"db-migrations"
]
},
"type": "module",
"engines": {
"node": ">=16.14.0"
}
}