{
  "name": "fastify-oapi",
  "version": "2.1.2",
  "description": "Fastify plugin to make your fastify server fully compliant with Open API v3",
  "author": "Touchify <dev@touchify.co>",
  "license": "MIT",
  "main": "index.js",
  "homepage": "https://github.com/touchifyapp/fastify-oapi#readme",
  "repository": {
    "type": "git",
    "url": "https://github.com/touchifyapp/fastify-oapi"
  },
  "files": [
    "*.js",
    "*.d.ts",
    "lib/**/*.js",
    "lib/**/*.d.ts"
  ],
  "scripts": {
    "build": "npm run clean && npm run lint && npm run build:ts",
    "build:ts": "tsc -p .",
    "test": "npm run clean && npm run lint && npm run test:jest",
    "test:jest": "jest",
    "test:coverage": "npm run test -- -- --coverage",
    "test:ci": "npm run test:coverage -- --ci",
    "lint": "npm run lint:ts",
    "lint:ts": "eslint --ext .ts '*.ts' 'lib/**/*.ts'",
    "clean": "npm run clean:ts",
    "clean:ts": "del 'index.{js,d.ts}' 'lib/**/*.{js,d.ts}'"
  },
  "dependencies": {
    "@apidevtools/json-schema-ref-parser": "^10.1.0",
    "fastify-plugin": "^5.0.1",
    "openapi3-ts": "^4.0.4"
  },
  "devDependencies": {
    "@types/jest": "^29.5.0",
    "@types/node": "^12.0.0",
    "@typescript-eslint/eslint-plugin": "^6.7.2",
    "@typescript-eslint/parser": "^6.7.2",
    "del-cli": "^5.0.0",
    "eslint": "^8.49.0",
    "fastify": "^5.5.0",
    "jest": "^29.5.0",
    "ts-jest": "^29.1.0",
    "typescript": "^5.0.4"
  },
  "eslintConfig": {
    "parser": "@typescript-eslint/parser",
    "parserOptions": {
      "project": [
        "./tsconfig.json",
        "./tests/tsconfig.json"
      ]
    },
    "env": {
      "node": true
    },
    "plugins": [
      "@typescript-eslint"
    ],
    "extends": [
      "eslint:recommended",
      "plugin:@typescript-eslint/eslint-recommended",
      "plugin:@typescript-eslint/recommended"
    ],
    "rules": {
      "@typescript-eslint/no-explicit-any": [
        "off"
      ],
      "@typescript-eslint/no-use-before-define": [
        "error",
        {
          "functions": false,
          "classes": false,
          "typedefs": false
        }
      ],
      "@typescript-eslint/explicit-function-return-type": [
        "error",
        {
          "allowExpressions": true
        }
      ],
      "@typescript-eslint/array-type": [
        "error",
        {
          "default": "array-simple",
          "readonly": "array-simple"
        }
      ]
    }
  }
}
