{
  "name": "@elasticapi/wpengine-typescript-sdk",
  "version": "0.0.3",
  "description": "Unofficial TypeScript SDK for the WP Engine API",
  "main": "./dist/index.js",
  "module": "./dist/esm/index.js",
  "types": "./dist/types/index.d.ts",
  "exports": {
    ".": {
      "require": "./dist/index.js",
      "import": "./dist/esm/index.js",
      "types": "./dist/types/index.d.ts"
    }
  },
  "publishConfig": {
    "access": "public"
  },  
  "scripts": {
    "build": "npm run build:cjs && npm run build:esm",
    "build:cjs": "tsc",
    "build:esm": "tsc -p tsconfig.esm.json",
    "clean": "rimraf dist",
    "prebuild": "npm run clean",
    "prepare": "npm run build",
    "test": "jest",
    "test:watch": "jest --watch",
    "test:coverage": "jest --coverage",
    "setup": "ts-node scripts/setup.ts",
    "example:basic": "ts-node -P tsconfig.examples.json examples/basic-usage.ts",
    "example:user": "ts-node -P tsconfig.examples.json examples/user-management.ts",
    "example:validation": "ts-node -P tsconfig.examples.json examples/validation-example.ts",
    "example:ratelimit": "ts-node -P tsconfig.examples.json examples/rate-limit-example.ts",
    "example:site": "ts-node -P tsconfig.examples.json examples/site-management.ts",
    "example:backup": "ts-node -P tsconfig.examples.json examples/backup-management.ts",
    "lint": "eslint . --ext .ts",
    "lint:fix": "eslint . --ext .ts --fix",
    "docs": "typedoc --out docs src/index.ts",
    "prepack": "npm run build",
    "prepublishOnly": "npm test && npm run lint",
    "version": "npm run docs && git add docs"
  },
  "keywords": [
    "wpengine",
    "wordpress",
    "api",
    "sdk",
    "typescript"
  ],
  "author": "Jeremy Pollock <jeremy.pollock@wpengine.com>",
  "license": "MIT",
  "dependencies": {
    "axios": "^1.6.2",
    "dotenv": "^16.3.1",
    "winston": "^3.17.0"
  },
  "devDependencies": {
    "@openapitools/openapi-generator-cli": "^2.7.0",
    "@types/jest": "^29.5.11",
    "@types/node": "^20.10.4",
    "@typescript-eslint/eslint-plugin": "^6.13.2",
    "@typescript-eslint/parser": "^6.13.2",
    "eslint": "^8.55.0",
    "jest": "^29.7.0",
    "rimraf": "^5.0.5",
    "ts-jest": "^29.7.1",
    "ts-node": "^10.9.1",
    "typedoc": "^0.25.4",
    "typescript": "^5.3.3"
  },
  "files": [
    "dist",
    "src",
    "README.md",
    "LICENSE"
  ],
  "engines": {
    "node": ">=14.0.0"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/your-username/wpengine-typescript-sdk.git"
  },
  "bugs": {
    "url": "https://github.com/your-username/wpengine-typescript-sdk/issues"
  },
  "homepage": "https://github.com/your-username/wpengine-typescript-sdk#readme",
  "jest": {
    "preset": "ts-jest",
    "testEnvironment": "node",
    "roots": [
      "<rootDir>/src",
      "<rootDir>/test"
    ],
    "testMatch": [
      "**/__tests__/**/*.+(ts|tsx|js)",
      "**/?(*.)+(spec|test).+(ts|tsx|js)"
    ],
    "transform": {
      "^.+\\.(ts|tsx)$": "ts-jest"
    },
    "collectCoverageFrom": [
      "src/**/*.{ts,tsx}",
      "!src/generated/**/*"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 80,
        "functions": 80,
        "lines": 80,
        "statements": 80
      }
    }
  }
}
