{
  "name": "openai-api-mock",
  "version": "0.4.1",
  "description": "A Node.js module for mocking OpenAI-compatible API responses (chat, embeddings, images) in a development environment with consistency mechanisms for deterministic testing",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/chihebnabil/openai-api-mock.git"
  },
  "type": "module",
  "types": "./index.d.ts",
  "keywords": [
    "openai",
    "mock",
    "api",
    "development",
    "testing",
    "chatgpt",
    "interceptor",
    "sandbox",
    "fake",
    "mocking",
    "ai",
    "artificial intelligence",
    "machine learning",
    "deterministic",
    "consistency",
    "seeding",
    "templates",
    "embeddings",
    "rag",
    "vector",
    "similarity",
    "semantic-search"
  ],
  "scripts": {
    "build": "vite build",
    "pretest": "npm run build",
    "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
    "coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
    "prepublishOnly": "npm run build",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "format:src": "prettier --write src/**/*.js __tests__/**/*.js"
  },
  "author": "Chiheb Nabil",
  "license": "MIT",
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "exports": {
    ".": {
      "types": "./index.d.ts",
      "require": "./dist/index.cjs",
      "import": "./dist/index.js"
    }
  },
  "files": [
    "dist",
    "index.d.ts"
  ],
  "dependencies": {
    "@faker-js/faker": "^10.0.0",
    "nock": "^14.0.0"
  },
  "devDependencies": {
    "jest": "^30.0.0",
    "node-fetch": "^3.3.2",
    "openai": "^6.0.0",
    "prettier": "^3.0.0",
    "vite": "^8.0.0"
  },
  "engines": {
    "node": ">=20.0.0"
  }
}
