gramps-graphql/data-source-xkcd

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@gramps/data-source-xkcd",
  "description": "GrAMPS GraphQL data source to load xkcd comics.",
  "contributors": [
    "Jason Lengstorf <jason@lengstorf.com>"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/gramps-graphql/data-source-xkcd.git"
  },
  "main": "dist/index.js",
  "directories": {
    "test": "test"
  },
  "files": [
    "dist/"
  ],
  "scripts": {
    "prepush": "npm test",
    "prepare": "npm run build",
    "prebuild": "del-cli ./dist",
    "build": "babel src -d dist",
    "postbuild": "cpy ./src/schema.graphql ./dist",
    "dev": "gramps dev -d ./",
    "mock-data": "npm run dev -- --mock",
    "live-data": "npm run dev -- --live",
    "lint": "eslint src/",
    "test:unit": "NODE_ENV=test jest --coverage",
    "test": "npm run lint --silent && npm run test:unit --silent",
    "semantic-release": "semantic-release"
  },
  "keywords": [
    "graphql"
  ],
  "license": "MIT",
  "dependencies": {
    "@gramps/errors": "^1.0.0",
    "@gramps/rest-helpers": "^1.0.0",
    "casual": "^1.5.14"
  },
  "peerDependencies": {
    "graphql": "^0.9.0 || ^0.10.0 || ^0.11.0",
    "graphql-tools": "^1.2.1 || ^2.5.1"
  },
  "devDependencies": {
    "@babel/cli": "^7.0.0-beta.37",
    "@babel/core": "^7.0.0-beta.37",
    "@babel/plugin-proposal-class-properties": "^7.0.0-beta.37",
    "@babel/preset-env": "^7.0.0-beta.37",
    "@gramps/cli": "^1.1.4",
    "@gramps/gramps": "^1.2.0",
    "babel-core": "^7.0.0-0",
    "babel-eslint": "^8.2.1",
    "babel-jest": "^22.0.6",
    "babel-plugin-inline-import": "^2.0.6",
    "cpy-cli": "^1.0.1",
    "del-cli": "^1.1.0",
    "eslint": "^4.15.0",
    "eslint-config-airbnb-base": "^12.1.0",
    "eslint-config-prettier": "^2.3.0",
    "eslint-plugin-import": "^2.7.0",
    "eslint-plugin-prettier": "^2.1.2",
    "graphql": "^0.12.3",
    "graphql-tools": "^2.18.0",
    "husky": "^0.14.3",
    "jest": "^22.0.6",
    "nodemon": "^1.14.11",
    "prettier": "^1.10.2",
    "semantic-release": "^12.4.1"
  },
  "jest": {
    "coverageReporters": [
      "text",
      "lcov"
    ],
    "collectCoverageFrom": [
      "src/**/*.js"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 80,
        "functions": 80,
        "lines": 80,
        "statements": 80
      }
    }
  },
  "version": "1.0.3-beta4"
}