forked from apollographql/federation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 3.77 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
{
"name": "apollo-federation-monorepo",
"private": true,
"license": "SEE LICENSE IN ./LICENSE",
"repository": "github:apollographql/federation",
"scripts": {
"clean": "git clean -dfqX -- ./target ./node_modules **/{dist,node_modules}/ ./*/tsconfig*tsbuildinfo",
"compile": "tsc --build tsconfig.build.json",
"compile:clean": "npm run compile -- --clean",
"watch": "npm run compile && tsc --build tsconfig.json --watch",
"version": "npm i --package-lock-only && git add package-lock.json",
"release:version-bump": "lerna version",
"release:start-ci-publish": "node -p '`Publish (dist-tag:${process.env.APOLLO_DIST_TAG || \"latest\"})`' | git tag -F - \"publish/$(date -u '+%Y%m%d%H%M%S')\" && git push origin \"$(git describe --match='publish/*' --tags --exact-match HEAD)\"",
"pretest": "npm run compile && tsc --build tsconfig.test.json",
"postinstall": "lerna run monorepo-prepare --stream && npm run compile",
"test": "jest --verbose",
"test:clean": "jest --clearCache",
"test:watch": "jest --verbose --watchAll",
"testonly": "npm test",
"test:ci": "npm test -- --ci --maxWorkers=2 --reporters=default --reporters=jest-junit",
"codegen": "graphql-codegen --config codegen.yml",
"codegen:check": "npm run codegen && git diff --exit-code",
"lint": "eslint . --ext .ts",
"error-code-doc": "ts-node ./internals-js/src/genErrorCodeDoc.ts > ./docs/source/errors.md",
"error-code-doc:check": "npm run error-code-doc && git diff --exit-code",
"hints-doc": "ts-node ./composition-js/src/genHintDoc.ts > ./docs/source/hints.md",
"hints-doc:check": "npm run hints-doc && git diff --exit-code"
},
"engines": {
"node": ">=12.13.0",
"npm": ">=7 <9"
},
"dependencies": {
"@apollo/composition": "file:composition-js",
"@apollo/federation-internals": "file:internals-js",
"@apollo/gateway": "file:gateway-js",
"@apollo/query-graphs": "file:query-graphs-js",
"@apollo/query-planner": "file:query-planner-js",
"@apollo/subgraph": "file:subgraph-js",
"apollo-federation-integration-testsuite": "file:federation-integration-testsuite-js"
},
"devDependencies": {
"@apollo/cache-control-types": "1.0.2",
"@apollo/client": "3.6.9",
"@apollo/utils.fetcher": "1.1.0",
"@graphql-codegen/cli": "2.11.6",
"@graphql-codegen/typescript": "2.7.3",
"@graphql-codegen/typescript-operations": "2.5.3",
"@josephg/resolvable": "1.0.1",
"@opentelemetry/node": "0.24.0",
"@types/async-retry": "1.4.4",
"@types/bunyan": "1.8.8",
"@types/deep-equal": "1.0.1",
"@types/deep-freeze": "0.1.2",
"@types/jest": "28.1.7",
"@types/js-levenshtein": "1.1.1",
"@types/lodash.xorby": "4.7.7",
"@types/loglevel": "1.5.4",
"@types/make-fetch-happen": "10.0.0",
"@types/nock": "10.0.3",
"@types/node": "12.20.55",
"@types/node-fetch": "2.6.2",
"@types/whatwg-url": "8.2.2",
"@typescript-eslint/eslint-plugin": "5.33.1",
"apollo-server": "3.10.1",
"bunyan": "1.8.15",
"deep-freeze": "0.0.1",
"graphql": "16.5.0",
"graphql-tag": "2.12.6",
"jest": "28.1.3",
"jest-config": "28.1.3",
"jest-cucumber": "3.0.1",
"jest-junit": "14.0.0",
"lerna": "4.0.0",
"log4js": "6.6.1",
"mocked-env": "1.3.5",
"nock": "13.2.9",
"node-fetch": "2.6.7",
"prettier": "2.7.1",
"strip-indent": "3.0.0",
"ts-jest": "28.0.8",
"ts-node": "10.9.1",
"typescript": "4.7.4",
"winston": "3.8.1",
"winston-transport": "4.5.0"
},
"jest": {
"projects": [
"<rootDir>/composition-js",
"<rootDir>/gateway-js",
"<rootDir>/internals-js",
"<rootDir>/query-graphs-js",
"<rootDir>/query-planner-js",
"<rootDir>/subgraph-js"
]
},
"volta": {
"node": "16.16.0",
"npm": "8.17.0"
}
}