gramps-graphql/data-source-base

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@gramps/data-source-base",
  "description": "GrAMPS GraphQL Data Source Base",
  "contributors": [
    "Jason Lengstorf <jason@lengstorf.com>"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/gramps-graphql/data-source-base.git"
  },
  "main": "dist/index.js",
  "directories": {
    "test": "test"
  },
  "files": [
    "dist/"
  ],
  "scripts": {
    "prepush": "npm test",
    "prebuild": "del-cli ./dist",
    "build": "babel src -d dist",
    "postbuild": "cpy ./src/schema.graphql ./dist",
    "dev": "gramps dev --data-source .",
    "dev:mock-data": "gramps dev --data-source . --mock",
    "lint": "eslint src/",
    "test:unit": "cross-env NODE_ENV=test jest --coverage",
    "test": "npm run lint --silent && npm run test:unit --silent",
    "semantic-release": "semantic-release pre && npm publish && semantic-release post"
  },
  "keywords": [
    "graphql"
  ],
  "license": "MIT",
  "dependencies": {
    "casual": "^1.5.19"
  },
  "peerDependencies": {
    "graphql": "^0.12.0",
    "graphql-tools": "^1.2.1 || ^2.5.1"
  },
  "devDependencies": {
    "@gramps/cli": "^1.1.3",
    "@gramps/gramps": "^1.1.0",
    "babel-cli": "^6.24.1",
    "babel-eslint": "^8.0.3",
    "babel-jest": "^22.0.4",
    "babel-plugin-inline-import": "^2.0.6",
    "babel-preset-env": "^1.6.1",
    "cpy-cli": "^1.0.1",
    "cross-env": "^5.1.3",
    "del-cli": "^1.1.0",
    "eslint": "^4.13.1",
    "eslint-config-airbnb-base": "^12.1.0",
    "eslint-config-prettier": "^2.9.0",
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-prettier": "^2.4.0",
    "globby": "^7.1.1",
    "graphql": "^0.12.3",
    "graphql-tools": "^2.14.1",
    "husky": "^0.14.3",
    "inquirer": "^4.0.1",
    "jest": "^22.0.4",
    "prettier": "^1.9.2",
    "semantic-release": "^11.0.2"
  },
  "jest": {
    "coverageReporters": [
      "text",
      "lcov"
    ],
    "collectCoverageFrom": [
      "src/**/*.js"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 80,
        "functions": 80,
        "lines": 80,
        "statements": 80
      }
    }
  },
  "version": "0.0.0-development"
}