- Move services from web package to core package - Update import statements across web package to use @prompt-optimizer/core - Add LangChain and related dependencies to package.json - Refactor and standardize service interfaces and implementations - Update test suites to work with new package structure - Improve module exports and type consistency
35 lines
869 B
JSON
35 lines
869 B
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",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"tsup": "^8.0.2",
|
|
"typescript": "^5.3.3",
|
|
"vitest": "^3.0.2"
|
|
},
|
|
"dependencies": {
|
|
"@langchain/core": "^0.3.33",
|
|
"@langchain/google-genai": "^0.1.6",
|
|
"@langchain/openai": "^0.3.17",
|
|
"uuid": "^11.0.5"
|
|
}
|
|
} |