{
  "name": "@xg-wang/openai-js",
  "version": "0.0.2",
  "description": "Node.js wrapper for the OpenAI API",
  "repository": {
    "type": "git",
    "url": "https://github.com/xg-wang/openai-js.git"
  },
  "homepage": "https://github.com/xg-wang/openai-js#readme",
  "keywords": [
    "typescript",
    "node",
    "openai"
  ],
  "author": "Thomas Wang <hi@xgwang.me>",
  "license": "MIT",
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "src",
    "dist",
    "!dist/**/*.d.ts.map",
    "docs"
  ],
  "scripts": {
    "build": "rimraf dist && tsc && rollup -c rollup.config.js",
    "docs": "api-extractor run --local --verbose && api-documenter markdown -i ./temp -o docs/api && prettier --write docs/api/*",
    "lint": "npm-run-all lint:*",
    "lint:eslint": "eslint .",
    "lint:tsc": "tsc --noEmit",
    "lint:tsc-test": "tsc -p test --noEmit",
    "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
    "test:api": "NOCK_OFF=true npm run test",
    "prepack": "npm run docs",
    "prepare": "husky install && npm run build && npm run docs"
  },
  "devDependencies": {
    "@microsoft/api-documenter": "^7.13.47",
    "@microsoft/api-extractor": "^7.18.7",
    "@types/jest": "^27.0.1",
    "@types/node": "^16.9.1",
    "@typescript-eslint/eslint-plugin": "^4.31.0",
    "@typescript-eslint/parser": "^4.31.0",
    "cross-env": "^7.0.3",
    "dotenv": "^10.0.0",
    "eslint": "^7.32.0",
    "eslint-config-prettier": "^8.3.0",
    "husky": "^7.0.2",
    "jest": "^27.2.0",
    "lint-staged": ">=11",
    "nock": "^13.1.3",
    "nodemon": "^2.0.12",
    "npm-run-all": "^4.1.5",
    "prettier": "^2.4.0",
    "rimraf": "^3.0.2",
    "rollup": "^2.57.0",
    "rollup-plugin-sourcemaps": "^0.6.3",
    "ts-jest": "^27.0.5",
    "ts-node": "^10.2.1",
    "typescript": "^4.4.3"
  },
  "engines": {
    "node": ">=14"
  },
  "volta": {
    "node": "16.9.1"
  },
  "lint-staged": {
    "*": "prettier --write --ignore-unknown"
  },
  "dependencies": {
    "node-fetch": "^3.0.0"
  }
}
