Files
webstudio/packages/ai/package.json
T
Bogdan Chadkin aa52e9fa35 feat: support tables in content and markdown embed (#4679)
Markdown embed now can convert tables like this into html

```
| Month    | Savings |
| -------- | ------- |
| January  | $250    |
| February | $80     |
| March    | $420    |
```

Both markdown embed and content embed have descendants to style tables.
Added table, row, header and cell.
2025-01-01 01:49:05 +07:00

41 lines
1.0 KiB
JSON

{
"private": true,
"name": "@webstudio-is/ai",
"version": "0.0.0",
"description": "Webstudio AI Tools",
"author": "Webstudio <github@webstudio.is>",
"homepage": "https://webstudio.is",
"type": "module",
"scripts": {
"typecheck": "tsc",
"build:prompts": "tsx ./bin/build-prompts.ts \"./src/chains/**/*.prompt.md\""
},
"devDependencies": {
"@webstudio-is/tsconfig": "workspace:^",
"fast-glob": "^3.3.2"
},
"exports": {
".": {
"webstudio": "./src/index.ts"
},
"./index.server": {
"webstudio": "./src/index.server.ts"
}
},
"license": "AGPL-3.0-or-later",
"sideEffects": false,
"dependencies": {
"@webstudio-is/css-data": "workspace:*",
"@webstudio-is/jsx-utils": "workspace:*",
"@webstudio-is/react-sdk": "workspace:*",
"@webstudio-is/sdk": "workspace:*",
"ai": "^2.2.12",
"escape-string-regexp": "^5.0.0",
"mdast-util-from-markdown": "^2.0.2",
"openai": "^4.8.0",
"unist-util-visit-parents": "^6.0.1",
"zod": "^3.22.4",
"zod-to-json-schema": "^3.21.4"
}
}