UNPKG

@tipe/graphql-apollo-errors

Version:

A small library to handle graphql and apollo errors in a better way

63 lines (62 loc) 2.01 kB
{ "name": "@tipe/graphql-apollo-errors", "version": "2.0.3", "description": "A small library to handle graphql and apollo errors in a better way", "main": "dist/index.js", "scripts": { "compile": "babel -d dist/ lib/", "watch": "babel --watch -d dist/ lib/", "prepublishOnly": "npm run compile", "version": "git add .", "preversion": "npm test", "postversion": "git push && git push --tags", "test": "mocha --compilers js:babel-core/register \"lib/**/*.spec.js\"", "coverage": "istanbul cover _mocha -- --compilers js:babel-core/register \"lib/**/*.spec.js\" -R spec", "coveralls": "istanbul cover _mocha --report lcovonly -- --compilers js:babel-core/register \"lib/**/*.spec.js\" -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage" }, "repository": { "type": "git", "url": "https://github.com/GiladShoham/graphql-apollo-errors" }, "bugs": { "url": "https://github.com/GiladShoham/graphql-apollo-errors/issues" }, "keywords": [ "error", "apollostack", "graphql", "error", "api", "http" ], "author": "Gilad Shoham <shoham.gilad@gmail.com>", "license": "MIT", "devDependencies": { "babel-cli": "^6.7.5", "babel-core": "^6.10.4", "babel-eslint": "^6.0.4", "babel-plugin-syntax-async-functions": "^6.8.0", "babel-plugin-transform-object-rest-spread": "^6.8.0", "babel-plugin-transform-regenerator": "^6.9.0", "babel-preset-es2015": "^6.6.0", "babel-preset-react": "^6.11.1", "chai": "^3.5.0", "chai-as-promised": "^5.3.0", "chai-date-string": "^0.1.0", "coveralls": "^2.11.11", "eslint": "^3.15.0", "istanbul": "^1.1.0-alpha.1", "mocha": "^2.5.3", "mocha-lcov-reporter": "^1.2.0", "regenerator-runtime": "^0.10.1", "rewire": "^2.5.2", "sinon": "^1.17.4", "sinon-chai": "^2.8.0", "winston": "^2.2.0" }, "dependencies": { "lodash": "^4.17.4", "minilog": "^3.1.0", "seven-boom": "^1.0.3" } }