{
  "name": "graphql-yup-middleware",
  "version": "1.0.0",
  "description": "GraphQL middleware to validate mutations arguments using yup",
  "repository": "https://github.com/JCMais/graphql-yup-middleware",
  "license": "MIT",
  "author": "Jonathan Cardoso Machado",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "yarn clean && tsc",
    "clean": "rimraf dist",
    "lint": "eslint src/**/*.ts",
    "prepublishOnly": "yarn lint && yarn test && yarn build",
    "prettier:all": "prettier --write src/**/*.ts",
    "test": "jest",
    "test:watch": "jest --watchAll"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "**/*.{ts,js,tsx,jsx}": [
      "prettier --write",
      "eslint --fix"
    ],
    "**/*.{json,css,md,yaml,yml,html,graphql}": [
      "prettier --write"
    ],
    "**/package.json": [
      "sort-package-json"
    ]
  },
  "jest": {
    "globals": {
      "ts-jest": {
        "babelConfig": false
      }
    },
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json",
      "node"
    ],
    "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
    "transform": {
      "^.+\\.tsx?$": "ts-jest"
    }
  },
  "dependencies": {
    "@types/lodash.groupby": "^4.6.6",
    "@types/yup": "^0.29.11",
    "lodash.groupby": "^4.6.0"
  },
  "devDependencies": {
    "@jcm/eslint-config": "^0.0.2",
    "@types/jest": "^26.0.20",
    "@typescript-eslint/eslint-plugin": "^4.14.0",
    "@typescript-eslint/parser": "^4.14.0",
    "eslint": "^7.18.0",
    "eslint-config-prettier": "^7.2.0",
    "eslint-plugin-prettier": "^3.3.1",
    "graphql": "^15.4.0",
    "graphql-middleware": "^6.0.2",
    "graphql-tools": "^7.0.2",
    "husky": "^4.3.8",
    "jest": "^26.6.3",
    "lint-staged": "^10.5.3",
    "np": "^7.2.0",
    "prettier": "^2.2.1",
    "rimraf": "^3.0.2",
    "sort-package-json": "^1.48.1",
    "ts-jest": "^26.4.4",
    "typescript": "^4.1.3",
    "yup": "^0.32.8"
  },
  "peerDependencies": {
    "graphql": "^15.0.0",
    "graphql-middleware": ">= 6.0.2",
    "yup": ">= 0.25 < 1"
  },
  "engines": {
    "node": ">= 12"
  }
}
