-
Notifications
You must be signed in to change notification settings - Fork 61
/
package.json
113 lines (113 loc) · 3.34 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
{
"name": "koa-graphql",
"version": "0.12.0",
"description": "Production ready GraphQL Koa middleware.",
"contributors": [
"Lee Byron <[email protected]> (https://leebyron.com/)",
"Daniel Schafer <[email protected]>",
"C.T. Lin <[email protected]>"
],
"license": "MIT",
"private": true,
"main": "index.js",
"types": "index.d.ts",
"typesVersions": {
"<3.8": {
"*": [
"ts3.4/*"
]
}
},
"sideEffects": false,
"homepage": "https://github.com/graphql-community/koa-graphql",
"bugs": {
"url": "https://github.com/graphql-community/koa-graphql/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/graphql-community/koa-graphql.git"
},
"keywords": [
"koa",
"http",
"graphql",
"middleware",
"api"
],
"engines": {
"node": ">= 10.x"
},
"scripts": {
"preversion": ". ./resources/checkgit.sh && npm ci",
"version": "npm test",
"changelog": "node resources/gen-changelog.js",
"test": "npm run lint && npm run check && npm run testonly:cover && npm run prettier:check && npm run check:spelling && npm run build:npm",
"lint": "eslint .",
"check": "tsc --noEmit",
"testonly": "mocha --exit src/**/__tests__/**/*.ts",
"testonly:cover": "nyc npm run testonly",
"prettier": "prettier --write --list-different .",
"prettier:check": "prettier --check .",
"check:spelling": "cspell '**/*'",
"build:npm": "node resources/build-npm.js",
"start": "node -r ./resources/register.js examples/index.ts",
"start:subscription": "node -r ./resources/register.js examples/index_subscription.ts",
"start:subscription_legacy": "node -r ./resources/register.js examples/index_subscription_legacy.ts"
},
"dependencies": {
"@types/koa": "^2.13.4",
"express-graphql": "0.12.0",
"http-errors": "^1.7.3"
},
"devDependencies": {
"@graphiql/toolkit": "^0.1.0",
"@types/chai": "^4.2.21",
"@types/co-body": "^6.1.0",
"@types/http-errors": "^1.8.1",
"@types/koa-mount": "^4.0.0",
"@types/koa-session": "^5.10.4",
"@types/mocha": "^9.0.0",
"@types/multer": "^1.4.7",
"@types/sinon": "^10.0.2",
"@types/supertest": "^2.0.11",
"@types/ws": "^5.1.2",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"chai": "^4.2.0",
"co-body": "^6.0.0",
"codemirror": "^5.62.2",
"cspell": "^4.2.2",
"downlevel-dts": "^0.7.0",
"eslint": "^7.31.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-internal-rules": "file:./resources/eslint-internal-rules",
"eslint-plugin-istanbul": "^0.1.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.3",
"graphiql": "^1.4.2",
"graphiql-subscriptions-fetcher": "^0.0.2",
"graphql": "^15.7.2",
"graphql-ws": "4.1.2",
"koa": "^2.11.0",
"koa-mount": "^4.0.0",
"koa-session": "^5.13.1",
"mocha": "^8.2.1",
"multer": "^1.4.2",
"nyc": "^15.1.0",
"prettier": "^2.3.2",
"promise-polyfill": "^8.2.0",
"raw-body": "^2.4.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"sinon": "^11.1.2",
"subscriptions-transport-ws": "^0.9.18",
"supertest": "^4.0.2",
"ts-node": "^10.1.0",
"typescript": "^4.3.5",
"unfetch": "^4.2.0",
"ws": "^5.2.2"
},
"peerDependencies": {
"graphql": "^14.7.0 || ^15.3.0"
}
}