Files
prompt-optimizer/packages/web/package.json
T
linshen 5e42a81aa4 refactor: Extract UI components to separate package
- Move common Vue components from web package to new @prompt-optimizer/ui package
- Update import statements in web package to use @prompt-optimizer/ui
- Add necessary dependencies for UI package
- Simplify component imports and improve code modularity
- Update package.json files to include new UI package dependency
2025-02-15 15:18:59 +08:00

43 lines
1.1 KiB
JSON

{
"name": "@prompt-optimizer/web",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"test:unit": "vitest run tests/unit"
},
"dependencies": {
"@langchain/anthropic": "^0.3.12",
"@langchain/core": "^0.3.33",
"@langchain/google-genai": "^0.1.6",
"@langchain/openai": "^0.3.17",
"@prompt-optimizer/core": "workspace:*",
"@prompt-optimizer/ui": "workspace:*",
"dotenv": "^16.4.7",
"element-plus": "^2.9.3",
"js-yaml": "^4.1.0",
"langchain": "^0.3.12",
"uuid": "^11.0.5",
"vue": "^3.5.13"
},
"devDependencies": {
"@pinia/testing": "^0.1.7",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/typography": "^0.5.16",
"@vitejs/plugin-basic-ssl": "^1.2.0",
"@vitejs/plugin-vue": "^5.2.1",
"@vue/test-utils": "^2.4.6",
"autoprefixer": "^10.4.20",
"jsdom": "^26.0.0",
"postcss": "^8.5.1",
"tailwindcss": "^3.4.17",
"vite": "^6.0.7",
"vitest": "^3.0.2"
}
}