forked from OpenBeta/openbeta-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 3.27 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
{
"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"
},
"dependencies": {
"@babel/runtime": "^7.17.2",
"@google-cloud/storage": "^6.9.5",
"@graphql-tools/schema": "^8.3.1",
"@openbeta/sandbag": "^0.0.37",
"@turf/area": "^6.5.0",
"@turf/bbox": "^6.5.0",
"@turf/bbox-polygon": "^6.5.0",
"@turf/centroid": "^6.5.0",
"@turf/circle": "^6.5.0",
"@types/uuid": "^8.3.3",
"apollo-datasource-mongodb": "^0.5.4",
"apollo-server": "^3.9.0",
"auth0": "^3.4.0",
"axios": "^1.3.6",
"cors": "^2.8.5",
"date-fns": "^2.30.0",
"dot-object": "^2.1.4",
"dotenv": "^10.0.0",
"glob": "^10.2.2",
"graphql": "^16.5.0",
"graphql-middleware": "^6.1.31",
"graphql-shield": "^7.5.0",
"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",
"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": "yarn build && 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",
"refresh-db": "./refresh-db.sh",
"seed-usa": "yarn build && node build/db/import/usa/USADay0Seed.js",
"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": "tsc ; node build/db/utils/jobs/migration/CreateUsersCollection.js"
},
"standard": {
"plugins": [
"html"
],
"parser": "babel-eslint"
},
"ts-standard": {
"ignore": [
"build",
"hacks",
"**/*.test.ts",
"db-migrations"
]
},
"type": "module",
"engines": {
"node": ">=16.14.0"
}
}