UNPKG

3.04 kBJSONView Raw
1{
2 "name": "express-graphql",
3 "version": "0.6.6",
4 "description": "Production ready GraphQL HTTP middleware.",
5 "contributors": [
6 "Lee Byron <lee@leebyron.com> (http://leebyron.com/)",
7 "Daniel Schafer <dschafer@fb.com>",
8 "Caleb Meredith <calebmeredith8@gmail.com>"
9 ],
10 "license": "BSD-3-Clause",
11 "bugs": {
12 "url": "https://github.com/graphql/express-graphql/issues"
13 },
14 "repository": {
15 "type": "git",
16 "url": "http://github.com/graphql/express-graphql.git"
17 },
18 "keywords": [
19 "express",
20 "restify",
21 "connect",
22 "http",
23 "graphql",
24 "middleware",
25 "api"
26 ],
27 "main": "dist/index.js",
28 "directories": {
29 "lib": "./dist"
30 },
31 "files": [
32 "dist",
33 "README.md",
34 "LICENSE",
35 "PATENTS"
36 ],
37 "options": {
38 "mocha": "--require resources/mocha-bootload src/**/__tests__/**/*.js"
39 },
40 "babel": {
41 "presets": [
42 "es2015"
43 ],
44 "plugins": [
45 "transform-class-properties",
46 "transform-flow-strip-types"
47 ]
48 },
49 "scripts": {
50 "prepublish": ". ./resources/prepublish.sh",
51 "test": "npm run lint && npm run pretty-check && npm run check && npm run testonly",
52 "testonly": "mocha $npm_package_options_mocha",
53 "lint": "eslint src",
54 "check": "flow check",
55 "build": "rm -rf dist/* && babel src --ignore __tests__ --out-dir dist && npm run build:flow",
56 "build:flow": "find ./src -name '*.js' -not -path '*/__tests__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/dist\\//g'`.flow; done",
57 "watch": "node resources/watch.js",
58 "cover": "babel-node node_modules/.bin/isparta cover --root src --report html node_modules/.bin/_mocha -- $npm_package_options_mocha",
59 "cover:lcov": "babel-node node_modules/.bin/isparta cover --root src --report lcovonly node_modules/.bin/_mocha -- $npm_package_options_mocha",
60 "pretty": "node resources/pretty.js",
61 "pretty-check": "node resources/pretty.js --check",
62 "preversion": "npm test"
63 },
64 "dependencies": {
65 "accepts": "^1.3.0",
66 "content-type": "^1.0.2",
67 "http-errors": "^1.3.0",
68 "prettier": "^1.3.1",
69 "raw-body": "^2.1.0"
70 },
71 "devDependencies": {
72 "babel-cli": "6.24.1",
73 "babel-eslint": "7.2.3",
74 "babel-plugin-transform-async-to-generator": "6.24.1",
75 "babel-plugin-transform-class-properties": "6.24.1",
76 "babel-plugin-transform-flow-strip-types": "6.22.0",
77 "babel-plugin-transform-runtime": "6.22.0",
78 "babel-preset-es2015": "6.24.1",
79 "babel-register": "6.24.1",
80 "babel-runtime": "6.23.0",
81 "body-parser": "1.17.2",
82 "chai": "3.5.0",
83 "connect": "3.6.2",
84 "coveralls": "2.13.1",
85 "eslint": "3.19.0",
86 "eslint-plugin-flowtype": "2.33.0",
87 "express": "4.14.1",
88 "express3": "*",
89 "flow-bin": "0.47.0",
90 "graphql": "0.10.0",
91 "isparta": "4.0.0",
92 "mocha": "3.4.2",
93 "multer": "1.3.0",
94 "restify": "4.3.0",
95 "sane": "1.7.0",
96 "sinon": "2.3.1",
97 "supertest": "3.0.0"
98 },
99 "peerDependencies": {
100 "graphql": "^0.10.0"
101 }
102}