forked from graphql/express-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.86 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
{
"name": "express-graphql",
"version": "0.6.12",
"description": "Production ready GraphQL HTTP middleware.",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/graphql/express-graphql/issues"
},
"repository": {
"type": "git",
"url": "http://github.com/graphql/express-graphql.git"
},
"keywords": [
"express",
"restify",
"connect",
"http",
"graphql",
"middleware",
"api"
],
"main": "dist/index.js",
"directories": {
"lib": "./dist"
},
"files": [
"dist",
"README.md",
"LICENSE",
"PATENTS"
],
"options": {
"mocha": "--require resources/mocha-bootload src/**/__tests__/**/*.js"
},
"babel": {
"presets": [
"es2015"
],
"plugins": [
"transform-class-properties",
"transform-flow-strip-types"
]
},
"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 && 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": {
"accepts": "^1.3.0",
"content-type": "^1.0.4",
"http-errors": "^1.3.0",
"raw-body": "^2.3.2"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.1",
"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",
"babel-runtime": "^6.26.0",
"body-parser": "1.18.2",
"chai": "^4.1.2",
"connect": "3.6.6",
"coveralls": "3.0.0",
"eslint": "^4.18.0",
"eslint-plugin-flowtype": "^2.44.0",
"eslint-plugin-prettier": "^2.6.0",
"express": "^4.16.2",
"express3": "*",
"flow-bin": "^0.65.0",
"graphql": "^0.13.1",
"isparta": "4.0.0",
"mocha": "5.0.1",
"multer": "1.3.0",
"prettier": "^1.10.2",
"restify": "4.3.2",
"sane": "2.4.1",
"sinon": "^4.3.0",
"supertest": "3.0.0"
},
"peerDependencies": {
"graphql": "^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0"
}
}