UNPKG

graphql-interceptor

Version:

Intercept GraphQL resolver functions for logging or whatever you want

53 lines (52 loc) 1.42 kB
{ "name": "graphql-interceptor", "version": "0.2.0", "description": "Intercept GraphQL resolver functions for logging or whatever you want", "main": "./dist/", "options": { "mocha": "--require scripts/mocha_runner lib/**/__tests__/**/*.js" }, "scripts": { "prepublish": ". ./scripts/prepublish.sh", "lint": "eslint ./lib", "lintfix": "eslint ./lib --fix", "testonly": "mocha $npm_package_options_mocha", "test": "npm run lint && npm run testonly" }, "repository": { "type": "git", "url": "git+https://github.com/restorando/graphql-interceptor.git" }, "keywords": [ "graphql" ], "author": "Restorando", "license": "MIT", "bugs": { "url": "https://github.com/restorando/graphql-interceptor/issues" }, "homepage": "https://github.com/restorando/graphql-interceptor#readme", "devDependencies": { "babel-cli": "^6.8.0", "babel-core": "^6.8.0", "babel-eslint": "^6.0.4", "babel-plugin-transform-runtime": "^6.8.0", "babel-polyfill": "^6.8.0", "babel-preset-es2015": "^6.6.0", "babel-preset-stage-2": "^6.5.0", "chai": "^3.5.0", "eslint": "^2.9.0", "eslint-plugin-babel": "^3.2.0", "graphql": ">0.4.0", "logtrap": "0.0.1", "mocha": "^2.4.5", "nodemon": "^1.9.2" }, "dependencies": { "babel-runtime": "^6.6.1", "uuid": "^2.0.2" }, "peerDependencies": { "graphql": ">0.4.0" } }