{
	"name": "llmock",
	"version": "3.16.1",
	"description": "A configurable mock LLM API server for testing and development",
	"main": "./src/index.ts",
	"type": "module",
	"bin": {
		"llmock": "./bin/llmock.js"
	},
	"keywords": [
		"llm",
		"mock",
		"mock-server",
		"api",
		"server",
		"testing",
		"development",
		"openai",
		"chatgpt",
		"gemini",
		"anthropic",
		"claude",
		"embeddings",
		"streaming",
		"docker"
	],
	"author": "Piyook <contact@piyook.com>",
	"license": "MIT",
	"repository": {
		"type": "git",
		"url": "https://github.com/piyook/llm-mock.git"
	},
	"bugs": {
		"url": "https://github.com/piyook/llm-mock/issues"
	},
	"homepage": "https://llmock.piyook.com/",
	"engines": {
		"node": ">=24.0.0"
	},
	"files": [
		"bin/**/*",
		"src/**/*",
		"scripts/**/*",
		"!scripts/prepare-publish.mjs",
		"ui/dist/**/*",
		"src/request-templates/**/*",
		"src/response-templates/**/*",
		".llm-mock-rc.json",
		"README.md",
		"llms.txt",
		"LICENSE"
	],
	"scripts": {
		"postinstall": "node scripts/postinstall.mjs",
		"ui-dev": "npm --prefix ui run dev",
		"compile-ui": "npm --prefix ui run build",
		"docs:dev": "npm --prefix docs run dev",
		"docs:build": "npm --prefix docs run build",
		"docs:preview": "npm --prefix docs run preview",
		"prep": "node scripts/prepare-publish.mjs",
		"prepare": "husky || true",
		"lint": "oxlint",
		"lint-fix": "oxlint --fix",
		"pretty": "prettier 'src/**/*.{js,jsx,ts,tsx,css,scss,md}' --check",
		"pretty-fix": "prettier 'src/**/*.{js,jsx,ts,tsx,css,scss,md}' --write",
		"test:unit": "vitest run",
		"torch": "torch-it",
		"torch:test": "torch-it --test",
		"cypress:open": "cypress open",
		"test:e2e": "node scripts/run-e2e.mjs",
		"validate-branch-name": "node scripts/validate-branch-name.mjs",
		"llmock": "node scripts/llmock.mjs",
		"llmock:chatgpt": "node scripts/llmock.mjs --model=chatgpt",
		"llmock:gemini": "node scripts/llmock.mjs --model=gemini",
		"llmock:streaming": "node scripts/llmock.mjs --model=streaming",
		"llmock:embeddings": "node scripts/llmock.mjs --model=embeddings",
		"llmock:claude": "node scripts/llmock.mjs --model=claude",
		"llmock:start:chatgpt": "node scripts/llmock.mjs start --model=chatgpt",
		"llmock:start:gemini": "node scripts/llmock.mjs start --model=gemini",
		"llmock:start:streaming": "node scripts/llmock.mjs start --model=streaming",
		"llmock:start:embeddings": "node scripts/llmock.mjs start --model=embeddings",
		"llmock:start:claude": "node scripts/llmock.mjs start --model=claude",
		"llmock:start:stored": "node scripts/llmock.mjs start --model=stored",
		"llmock:start:chaos": "node scripts/llmock.mjs start --model=chaos",
		"llmock:start:chaos-stream": "node scripts/llmock.mjs start --model=chaos-stream",
		"llmock:start:admin-off": "node scripts/llmock.mjs start --model=claude --admin=off",
		"llmock:start:llmspy": "node scripts/llmock.mjs start --model=chatgpt --llmspy",
		"llmock:start:replay": "node scripts/llmock.mjs start --model=claude --recordings=cypress/fixtures/recordings",
		"llmock:stop": "node bin/llmock.js stop"
	},
	"dependencies": {
		"@faker-js/faker": "^10.6.0",
		"env-paths": "^4.0.0",
		"fastify": "^5.12.5",
		"tsx": "^4.23.15",
		"typescript": "^7.0.2"
	},
	"devDependencies": {
		"@anthropic-ai/sdk": "^1.12.0",
		"@commitlint/cli": "^21.2.3",
		"@commitlint/config-conventional": "^21.2.3",
		"@types/chai-json-schema": "^1.4.10",
		"@types/node": "^26.6.5",
		"chai-json-schema": "^2.0.1",
		"cypress": "^16.1.1",
		"husky": "^9.1.7",
		"lint-staged": "^17.6.2",
		"openai": "^7.62.0",
		"oxlint": "^1.94.0",
		"prettier": "3.10.1",
		"torch-it": "^3.0.0",
		"validate-branch-name": "^1.3.2",
		"vitest": "^5.1.1"
	},
	"lint-staged": {
		"src/**/*.{js,jsx,ts,tsx}": "oxlint",
		"src/**/*.{js,jsx,ts,tsx,css,scss,md}": "oxlint"
	},
	"commitlint": {
		"extends": [
			"@commitlint/config-conventional"
		]
	},
	"validate-branch-name": {
		"pattern": "^(main|dev){1}$|^(feat|fix|hotfix|release|chore)/.+$",
		"errorMsg": "INVALID BRANCH NAME: use format 'feat|fix|hotfix|release|core/your-branch-name'"
	},
	"allowScripts": {
		"cypress": true,
		"esbuild": true
	}
}
