/
package.json
118 lines (118 loc) 路 4.06 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
115
116
117
118
{
"name": "apollo-server-monorepo",
"private": true,
"license": "MIT",
"repository": "github:apollographql/apollo-server",
"type": "module",
"scripts": {
"clean": "git clean -dfqX -- ./node_modules **/{dist,node_modules}/ **/tsconfig*tsbuildinfo",
"precompile": "node scripts/precompile.mjs",
"postcompile": "node scripts/postcompile.mjs",
"compile": "tsc --build tsconfig.build.json packages/server/tsconfig.cjs.json; x=$?; mv packages/server/src/.packageVersion.ts.original packages/server/src/packageVersion.ts; exit $x",
"watch": "tsc --build tsconfig.build.json --watch",
"install-with-npm-8.5": "npm i -g npm@^8.5.0 && npm i",
"postinstall": "npm run compile",
"pretest": "tsc --build tsconfig.json",
"test": "jest --verbose",
"test:clean": "jest --clearCache",
"test:watch": "jest --verbose --watchAll",
"test:smoke": "npm run test:smoke:prepare && npm run test:smoke:run",
"test:smoke:prepare": "npm run compile && smoke-test/prepare.sh",
"test:smoke:run": "smoke-test/smoke-test.sh",
"testonly": "npm test",
"test:ci": "npm test -- --ci --maxWorkers=2 --reporters=default --reporters=jest-junit",
"//": "reinstate the test:ci below after https://github.com/facebook/jest/issues/12998 is resolved",
"//test:ci": "npm run coverage -- --ci --maxWorkers=2 --reporters=default --reporters=jest-junit",
"coverage": "npm test -- --coverage",
"coverage:upload": "codecov",
"codegen": "graphql-codegen",
"lint": "eslint .",
"prettier-check": "prettier --check .",
"prettier-fix": "prettier --write .",
"spell-check": "cspell lint '**' --no-progress || (echo 'Add any real words to cspell-dict.txt.'; exit 1)",
"changeset-publish": "changeset publish"
},
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=14",
"npm": "^8.5.0"
},
"devDependencies": {
"@apollo/client": "3.6.9",
"@apollo/utils.createhash": "1.1.0",
"@changesets/changelog-github": "^0.4.5",
"@changesets/cli": "2.23.1",
"@graphql-codegen/cli": "2.7.0",
"@graphql-codegen/typescript-operations": "2.4.3",
"@graphql-tools/mock": "8.7.0",
"@graphql-tools/schema": "8.5.0",
"@graphql-tools/utils": "8.8.0",
"@josephg/resolvable": "1.0.1",
"@rollup/plugin-commonjs": "22.0.1",
"@types/async-retry": "1.4.4",
"@types/body-parser": "1.19.2",
"@types/cors": "2.8.12",
"@types/express": "4.17.13",
"@types/express-serve-static-core": "4.17.29",
"@types/jest": "28.1.4",
"@types/lodash": "4.14.182",
"@types/lodash.sumby": "4.6.7",
"@types/lodash.xorby": "4.7.7",
"@types/negotiator": "0.6.1",
"@types/node": "14.18.21",
"@types/node-fetch": "2.6.2",
"@types/qs-middleware": "1.0.1",
"@types/request": "2.48.8",
"@types/request-promise": "4.1.48",
"@types/retry": "0.12.2",
"@types/superagent": "4.1.15",
"@types/supertest": "2.0.12",
"@types/test-listen": "1.1.0",
"@types/type-is": "1.6.3",
"@types/uuid": "8.3.4",
"@types/whatwg-mimetype": "2.1.1",
"@typescript-eslint/eslint-plugin": "5.30.5",
"@typescript-eslint/parser": "5.30.5",
"@vendia/serverless-express": "4.9.0",
"awaiting": "3.0.0",
"body-parser": "1.20.0",
"codecov": "3.8.3",
"cors": "2.8.5",
"cspell": "6.2.3",
"eslint": "8.19.0",
"eslint-plugin-import": "^2.26.0",
"express": "4.18.1",
"graphql": "16.5.0",
"graphql-tag": "2.12.6",
"jest": "28.1.2",
"jest-config": "28.1.2",
"jest-junit": "14.0.0",
"jest-mock": "28.1.1",
"jest-mock-random": "1.1.1",
"jest-serializer-html": "^7.1.0",
"lodash.sumby": "4.6.0",
"nock": "13.2.8",
"node-fetch": "2.6.7",
"prettier": "2.7.1",
"qs-middleware": "1.0.3",
"request-promise": "4.2.6",
"requisition": "1.7.0",
"rimraf": "3.0.2",
"rollup": "2.76.0",
"supertest": "6.2.4",
"test-listen": "1.1.0",
"ts-jest": "28.0.5",
"typescript": "4.7.4"
},
"jest": {
"projects": [
"<rootDir>/packages/*/jest.config.js"
]
},
"volta": {
"node": "16.16.0",
"npm": "8.13.2"
}
}