forked from graphql-community/koa-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.11 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 <lee@leebyron.com> (http://leebyron.com/)",
"Daniel Schafer <dschafer@fb.com>",
"C.T. Lin <chentsulin@gmail.com>"
],
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/chentsulin/koa-graphql/issues"
},
"repository": {
"type": "git",
"url": "http://github.com/chentsulin/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"
],
"options": {
"mocha": "--harmony --exit --require resources/mocha-bootload src/**/__tests__/**/*.js"
},
"babel": {
"presets": [
"es2015"
],
"plugins": [
"transform-class-properties",
"transform-flow-strip-types",
[
"transform-runtime",
{
"polyfill": false,
"regenerator": true
}
]
]
},
"scripts": {
"prepublish": ". ./resources/prepublish.sh",
"test": "npm run lint && npm run check && npm run testonly",
"testonly": "mocha $npm_package_options_mocha",
"lint": "eslint src",
"prettier": "prettier --write 'src/**/*.js'",
"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",
"cover": "babel-node node_modules/.bin/isparta cover --root src --report html node_modules/.bin/_mocha -- $npm_package_options_mocha",
"cover:lcov": "babel-node node_modules/.bin/isparta cover --root src --report lcovonly node_modules/.bin/_mocha -- $npm_package_options_mocha",
"preversion": "npm test",
"start": "babel-node examples/index.js"
},
"dependencies": {
"babel-runtime": "^6.26.0",
"express-graphql": "0.9.0",
"http-errors": "^1.7.3",
"thenify": "^3.3.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^10.1.0",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-register": "^6.26.0",
"chai": "^4.2.0",
"co-body": "^6.0.0",
"coveralls": "^3.0.13",
"eslint": "^6.8.0",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-prettier": "^3.1.3",
"flow-bin": "^0.123.0",
"graphql": "^14.0.2",
"isparta": "^4.1.1",
"koa": "^2.11.0",
"koa-mount": "^4.0.0",
"koa-session": "^5.13.1",
"mocha": "^7.1.1",
"multer": "^1.4.2",
"prettier": "^2.0.5",
"raw-body": "^2.4.1",
"sane": "^4.1.0",
"supertest": "^4.0.2"
},
"peerDependencies": {
"graphql": "^15.0.0"
}
}