{
  "name": "@planetscale/database",
  "version": "1.6.0",
  "description": "A Fetch API-compatible PlanetScale database driver",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "files": [
    "dist"
  ],
  "engines": {
    "node": ">=16"
  },
  "type": "module",
  "prettier": {
    "semi": false,
    "trailingComma": "none",
    "singleQuote": true,
    "printWidth": 120,
    "tabWidth": 2,
    "useTabs": false,
    "bracketSpacing": true
  },
  "scripts": {
    "clean": "rm -rf dist/",
    "prebuild": "npm run clean",
    "build": "tsc",
    "lint": "eslint src/ __tests__/",
    "pretest": "npm run build",
    "test": "jest",
    "version": "echo \"export const Version = '$npm_package_version'\" > src/version.ts && git add src/version.ts && npm run build",
    "prepublishOnly": "npm run build",
    "postpublish": "npm publish --ignore-scripts --@planetscale:registry='https://npm.pkg.github.com'"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/planetscale/database-js.git"
  },
  "keywords": [
    "planetscale",
    "database",
    "mysql",
    "vitess",
    "serverless",
    "vercel",
    "lambda"
  ],
  "author": "PlanetScale",
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/planetscale/database-js/issues"
  },
  "homepage": "https://github.com/planetscale/database-js#readme",
  "devDependencies": {
    "@types/jest": "^28.1.6",
    "@types/sqlstring": "^2.3.0",
    "@typescript-eslint/eslint-plugin": "^5.31.0",
    "@typescript-eslint/parser": "^5.31.0",
    "eslint": "^8.20.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-prettier": "^4.2.1",
    "jest": "^28.1.3",
    "prettier": "^2.7.1",
    "sqlstring": "^2.3.3",
    "ts-jest": "^28.0.7",
    "ts-node": "^10.9.1",
    "typescript": "^4.7.4",
    "undici": "^5.8.0"
  },
  "eslintConfig": {
    "extends": [
      "eslint:recommended",
      "plugin:@typescript-eslint/recommended",
      "plugin:prettier/recommended"
    ],
    "parser": "@typescript-eslint/parser",
    "plugins": [
      "@typescript-eslint"
    ],
    "rules": {
      "no-control-regex": "off",
      "prettier/prettier": [
        "error",
        {},
        {
          "usePrettierrc": true
        }
      ],
      "@typescript-eslint/no-explicit-any": "off",
      "@typescript-eslint/no-empty-function": "off",
      "@typescript-eslint/ban-ts-comment": "off"
    },
    "root": true,
    "env": {
      "browser": true,
      "node": true
    }
  }
}
