Files
prompt-optimizer/packages/core/package.json
linshen bb7af28d3d fix(repo): harden english-first checks and MCP packaging
- strengthen locale parity checks and related regression coverage
- stabilize repo-level english-first test expectations
- harden MCP packaging, install entrypoints, and supporting script validation
- tighten related config and model checks used by the rollout
2026-04-09 20:31:52 +08:00

48 lines
1.3 KiB
JSON

{
"name": "@prompt-optimizer/core",
"version": "0.0.0",
"private": true,
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts",
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:gate": "vitest run tests/unit/utils/vcr.spec.ts tests/unit/utils/llm-mock-service.spec.ts",
"test:unit": "vitest run tests/unit",
"test:integration": "vitest run tests/integration",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"devDependencies": {
"@types/node": "^22.19.15",
"@types/mustache": "^4.2.6",
"dotenv": "^17.3.1",
"msw": "^2.12.14",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.1.2"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.80.0",
"@google/genai": "^1.46.0",
"dexie": "^4.4.1",
"diff": "^8.0.4",
"jsonrepair": "^3.13.3",
"mustache": "^4.2.0",
"openai": "^6.33.0",
"uuid": "^13.0.0",
"zod": "^4.3.6"
}
}