workflow底层UI库整合至项目,优化构建逻辑

This commit is contained in:
2026-02-24 11:20:18 +08:00
parent 094b185c49
commit 12accb2575
91 changed files with 6820 additions and 115 deletions

View File

@@ -0,0 +1,76 @@
{
"name": "@tinyflow-ai/ui",
"version": "1.2.2",
"type": "module",
"keywords": [
"tinyflow",
"ai",
"ai flow",
"agent flow",
"agents flow"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.js",
"browser": "./dist/index.umd.js",
"license": "LGPL-3.0-or-later",
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"dev": "vite",
"build": "vite build",
"build:watch": "vite build --watch --emptyOutDir false",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json"
},
"devDependencies": {
"@rollup/plugin-replace": "^6.0.2",
"@sveltejs/vite-plugin-svelte": "^6.2.1",
"@tsconfig/svelte": "^5.0.5",
"@types/node": "^22.18.12",
"autoprefixer": "^10.4.21",
"less": "^4.2.2",
"svelte": "^5.45.2",
"svelte-check": "^4.3.4",
"typescript": "^5.6.2",
"vite": "^7.2.4",
"vite-plugin-dts": "^4.5.4"
},
"dependencies": {
"@floating-ui/dom": "^1.7.4",
"@xyflow/svelte": "^1.4.2"
},
"imports": {
"#*": [
"./src/*.ts",
"./src/*.svelte"
]
},
"exports": {
".": {
"svelte": "./src/index.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./dist/index.css": {
"import": "./dist/index.css",
"require": "./dist/index.css"
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/tinyflow-ai/tinyflow"
},
"bugs": {
"url": "https://github.com/tinyflow-ai/tinyflow/issues"
},
"homepage": "https://github.com/tinyflow-ai/tinyflow#readme"
}