-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
64 lines (64 loc) · 1.85 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
{
"name": "sul-folio-graphql-server",
"version": "1.0.0",
"description": "",
"main": "dist/server.js",
"type": "module",
"scripts": {
"build": "npm run codegen && npm run compile",
"compile": "tsc -p tsconfig-build.json && cp src/schema.graphql dist/schema.graphql",
"start": "npm run codegen && node --loader ts-node/esm src/server.ts",
"start:dev": "nodemon",
"codegen": "graphql-codegen-esm --config codegen.yml",
"lint": "eslint src -c eslint.config.mjs",
"test": "jest",
"update-graphql-schema": "node scripts/generate-graphql-from-json-schemas.js json-schemas/"
},
"jest": {
"preset": "ts-jest",
"resolver": "ts-jest-resolver",
"setupFilesAfterEnv": [
"<rootDir>/__tests__/setupJest.ts"
],
"testPathIgnorePatterns": [
"<rootDir>/__tests__/setupJest.ts"
]
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@apollo/datasource-rest": "^6.0.0",
"@apollo/server": "^4.7.1",
"@honeybadger-io/js": "^6.4.0",
"body-parser": "^1.20.2",
"config": "^3.3.7",
"cors": "^2.8.5",
"express": "^4.18.2",
"graphql": "^16.6.0",
"graphql-scalars": "^1.18.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/typescript": "^4.0.0",
"@graphql-codegen/typescript-resolvers": "^4.0.0",
"@lifeomic/json-schema-to-graphql-types": "^1.4.2",
"@types/config": "^3.3.0",
"@types/jest": "^29.5.1",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"eslint": "^9.1.0",
"glob": "^10.2.6",
"jest": "^29.5.0",
"jest-fetch-mock": "^3.0.3",
"nodemon": "^3.0.0",
"ts-jest": "^29.1.0",
"ts-jest-resolver": "^2.0.1",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"overrides": {
"graphql": "$graphql"
}
}