-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
59 lines (59 loc) · 1.69 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
{
"name": "subgraph-template-typescript-apollo-server",
"private": true,
"description": "A template for TypeScript projects with pre-configured tooling",
"version": "0.0.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apollographql/subgraph-template-typescript-apollo-server"
},
"homepage": "https://github.com/apollographql/subgraph-template-typescript-apollo-server#readme",
"bugs": {
"url": "https://github.com/apollographql/subgraph-template-typescript-apollo-server/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=18.0"
},
"scripts": {
"build": "npm run codegen && tsc",
"codegen": "graphql-codegen",
"postinstall": "npm run build",
"start": "node dist/index.js",
"dev": "nodemon --watch \"src/**\" --ext \"ts,json,graphql\" --exec \"npm run build && npm run start\" --ignore ./src/__generated__/ --ignore ./src/datasources/BarAPI.ts",
"test": "jest"
},
"dependencies": {
"@apollo/server": "^4.3.3",
"@apollo/subgraph": "^2.3.1",
"graphql": "latest",
"graphql-tag": "latest"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/typescript": "^4.0.0",
"@graphql-codegen/typescript-resolvers": "^4.0.0",
"@types/jest": "^29.0.3",
"@types/node": "^22.0.0",
"jest": "^29.0.3",
"nodemon": "^3.0.0",
"ts-jest": "^29.0.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.0"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"src"
],
"globals": {
"ts-jest": {
"testRegext": "/__tests__/.*.test.ts",
"verbose": true
}
}
}
}