mirror of
https://github.com/linshenkx/prompt-optimizer.git
synced 2026-05-08 06:28:50 +08:00
- 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
48 lines
1.3 KiB
JSON
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"
|
|
}
|
|
}
|