{
  "name": "neonctl",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/neondatabase/neonctl.git"
  },
  "type": "module",
  "version": "2.22.0",
  "description": "CLI tool for NeonDB Cloud management",
  "main": "index.js",
  "author": "NeonDB",
  "license": "MIT",
  "private": false,
  "engines": {
    "node": ">=18"
  },
  "bin": {
    "neonctl": "cli.js",
    "neon": "cli.js"
  },
  "devDependencies": {
    "@apidevtools/swagger-parser": "^10.1.0",
    "@commitlint/cli": "^17.6.5",
    "@commitlint/config-conventional": "^17.6.5",
    "@eslint/js": "^9.23.0",
    "@rollup/plugin-commonjs": "^25.0.2",
    "@rollup/plugin-json": "^6.0.0",
    "@rollup/plugin-node-resolve": "^15.1.0",
    "@semantic-release/exec": "^6.0.3",
    "@semantic-release/git": "^10.0.1",
    "@types/bun": "^1.1.4",
    "@yao-pkg/pkg": "^6.10.0",
    "@types/cli-table": "^0.3.0",
    "@types/diff": "^5.2.1",
    "@types/eslint__js": "^8.42.3",
    "@types/express": "^4.17.17",
    "@types/node": "^18.7.13",
    "@types/prompts": "2.4.9",
    "@types/which": "^3.0.0",
    "@types/yargs": "^17.0.24",
    "emocks": "^3.0.1",
    "eslint": "^9.23.0",
    "express": "^4.18.2",
    "husky": "^8.0.3",
    "lint-staged": "^13.0.3",
    "oauth2-mock-server": "^8.1.0",
    "prettier": "^3.1.0",
    "rollup": "^3.26.2",
    "semantic-release": "^23.0.8",
    "strip-ansi": "^7.1.0",
    "typescript": "^4.7.4",
    "typescript-eslint": "8.28.0",
    "vitest": "^1.6.0"
  },
  "dependencies": {
    "@neondatabase/api-client": "2.6.0",
    "@segment/analytics-node": "^1.0.0-beta.26",
    "axios": "^1.4.0",
    "axios-debug-log": "^1.0.0",
    "chalk": "^5.2.0",
    "cli-table": "^0.3.11",
    "diff": "^5.2.0",
    "neon-init": "^0.14.0",
    "open": "^10.1.0",
    "openid-client": "^6.8.1",
    "prompts": "2.4.2",
    "which": "^3.0.1",
    "yaml": "^2.1.1",
    "yargs": "^17.7.2"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "pkg": {
    "assets": [
      "callback.html",
      "package.json"
    ],
    "scripts": [
      "bundle/*.js"
    ],
    "targets": [
      "node22-linux-x64",
      "node22-macos-x64",
      "node22-win-x64",
      "node22-linux-arm64"
    ]
  },
  "scripts": {
    "watch": "tsc --watch",
    "typecheck": "tsc --noEmit",
    "lint": "npm run typecheck && eslint src && prettier --check .",
    "lint:fix": "npm run typecheck && eslint src --fix && prettier --w .",
    "build": "bun generateParams && bun clean && tsc && cp src/*.html package*.json README.md ./dist",
    "clean": "rm -rf dist",
    "generateParams": "bun generateOptionsFromSpec.ts",
    "start": "bun dist/index.js",
    "pretest": "bun run build",
    "test": "vitest run",
    "prepare": "test -d .git && husky install || true"
  },
  "lint-staged": {
    ".{cjs,js,json,md,html}": [
      "prettier --write"
    ],
    "*.ts": [
      "eslint --cache --fix",
      "prettier --write"
    ]
  }
}
