UNPKG

express-graphql

Version:

Production ready GraphQL HTTP middleware.

101 lines (100 loc) 2.82 kB
{ "name": "express-graphql", "version": "0.6.1", "description": "Production ready GraphQL HTTP middleware.", "contributors": [ "Lee Byron <lee@leebyron.com> (http://leebyron.com/)", "Daniel Schafer <dschafer@fb.com>", "Caleb Meredith <calebmeredith8@gmail.com>" ], "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", "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", "check": "flow check", "build": "rm -rf dist/* && babel src --ignore __tests__ --out-dir dist", "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" }, "dependencies": { "accepts": "^1.3.0", "content-type": "^1.0.0", "http-errors": "^1.3.0", "raw-body": "^2.1.0" }, "devDependencies": { "babel-cli": "6.18.0", "babel-eslint": "7.1.0", "babel-plugin-transform-async-to-generator": "6.16.0", "babel-plugin-transform-class-properties": "6.18.0", "babel-plugin-transform-flow-strip-types": "6.18.0", "babel-plugin-transform-runtime": "6.15.0", "babel-preset-es2015": "6.18.0", "babel-register": "6.18.0", "babel-runtime": "6.18.0", "body-parser": "1.15.2", "chai": "3.5.0", "connect": "3.5.0", "content-type": "1.0.2", "coveralls": "2.11.15", "eslint": "3.10.0", "eslint-plugin-babel": "3.3.0", "eslint-plugin-flowtype": "2.25.0", "express": "4.14.0", "express3": "*", "flow-bin": "0.35.0", "graphql": "0.8.1", "isparta": "4.0.0", "mocha": "3.1.2", "multer": "1.2.0", "raw-body": "2.1.7", "sane": "1.4.1", "sinon": "1.17.6", "supertest": "2.0.1", "supertest-as-promised": "4.0.2" }, "peerDependencies": { "graphql": "^0.5.0-b || ^0.6.0 || ^0.7.0 || ^0.8.0-b" } }