Files
prompt-optimizer/packages/ui/package.json
T
linshen ca877ea794 build(ui): add vue-tsc typecheck
- Add vue-tsc typecheck to UI build pipeline
2026-01-18 16:43:00 +08:00

68 lines
1.9 KiB
JSON

{
"name": "@prompt-optimizer/ui",
"version": "0.0.1",
"private": true,
"license": "AGPL-3.0-only",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"style": "./dist/style.css",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./style.css": "./dist/style.css",
"./dist/style.css": "./dist/style.css"
},
"files": [
"dist"
],
"readme": "在Windows环境下,请使用分号(;)而不是&&作为命令分隔符,或使用build:win脚本",
"scripts": {
"dev": "vite",
"build": "vite build",
"build:win": "vite build",
"test": "vitest run",
"typecheck": "vue-tsc --noEmit",
"lint": "eslint src --ext .ts,.vue --no-eslintrc --config .eslintrc.json",
"lint:fix": "eslint src --ext .ts,.vue --no-eslintrc --config .eslintrc.json --fix"
},
"dependencies": {
"@codemirror/autocomplete": "^6.19.0",
"@codemirror/language": "^6.11.3",
"@codemirror/state": "^6.5.2",
"@codemirror/tooltip": "^0.19.16",
"@codemirror/view": "^6.38.6",
"@prompt-optimizer/core": "workspace:*",
"@vicons/tabler": "^0.13.0",
"codemirror": "^6.0.2",
"dompurify": "^3.2.4",
"highlight.js": "^11.11.1",
"markdown-it": "^14.1.0",
"naive-ui": "^2.42.0",
"pinia": "^3.0.3",
"uuid": "^11.0.5",
"vue": "^3.3.4",
"vue-router": "4"
},
"devDependencies": {
"@types/node": "^22.13.10",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.49.0",
"@typescript-eslint/parser": "^8.49.0",
"@vitejs/plugin-vue": "^6.0.2",
"@vue/test-utils": "^2.4.5",
"@vue/tsconfig": "^0.5.1",
"eslint": "^8.57.0",
"vue-tsc": "^2.2.12",
"eslint-plugin-vue": "^10.4.0",
"jsdom": "^26.0.0",
"typescript": "^5.8.2",
"vite": "^7.2.7",
"vite-plugin-dts": "^4.5.3",
"vitest": "^4.0.15"
}
}