forked from graphql-community/koa-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
109 lines (109 loc) · 3.17 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
{
"name": "koa-graphql",
"version": "0.9.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": "BSD-3-Clause",
"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"
},
"main": "dist/index.js",
"directories": {
"lib": "./dist"
},
"files": [
"dist",
"README.md",
"LICENSE",
"PATENTS"
],
"scripts": {
"test": "npm run lint && npm run testonly",
"lint": "eslint .",
"testonly": "mocha --exit src/**/__tests__/**/*.ts",
"testonly:cover": "nyc npm run testonly",
"prettier": "prettier --write --list-different .",
"prettier:check": "prettier --check .",
"check": "flow check",
"build": "rm -rf dist/* && babel src --ignore __tests__ --out-dir dist -b regenerator && npm run build:flow",
"build:flow": "find ./src -name '*.js' -not -path '*/__tests__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/dist\\//g'`.flow; done",
"watch": "node resources/watch.js",
"preversion": "npm test",
"start": "node -r babel-register examples/index.js"
},
"dependencies": {
"express-graphql": "0.9.0",
"http-errors": "^1.7.3"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.14.8",
"@babel/plugin-transform-flow-strip-types": "^7.14.5",
"@babel/preset-env": "^7.14.9",
"@babel/register": "^7.14.5",
"@types/chai": "^4.2.21",
"@types/co-body": "^6.1.0",
"@types/koa": "^2.13.4",
"@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",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"babel-eslint": "^10.1.0",
"chai": "^4.2.0",
"co-body": "^6.0.0",
"codemirror": "^5.62.2",
"eslint": "^7.31.0",
"eslint-plugin-flowtype": "^5.9.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",
"flow-bin": "^0.123.0",
"graphiql": "^1.4.2",
"graphql": "^15.1.0",
"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",
"supertest": "^4.0.2",
"ts-node": "^10.1.0",
"typescript": "^4.3.5",
"unfetch": "^4.2.0"
},
"peerDependencies": {
"graphql": "^14.7.0 || ^15.3.0"
}
}