Files
webstudio/packages/jsx-utils/package.json
T
Giuseppe 2ca3907988 feat: JSX utils (#2396)
Adds utils to work with JSX and transform it to Webstudio Embed Template
as well as converting Tailwind styles to Webstudio Embed Template style
declarations and a fake `<HeroIcon>` component to `HtmlEmbed` with
inline SVG taken from heroicons (we will need this for ai).
2023-10-01 12:17:43 +02:00

47 lines
1.3 KiB
JSON

{
"private": true,
"name": "@webstudio-is/jsx-utils",
"version": "0.1.0",
"description": "Utilities to convert JSX to Webstudio",
"author": "Webstudio <github@webstudio.is>",
"homepage": "https://webstudio.is",
"type": "module",
"scripts": {
"typecheck": "tsc",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"checks": "pnpm typecheck && pnpm test",
"dev": "pnpm build --watch",
"build": "esbuild 'src/**/*.ts' --outdir=lib",
"dts": "tsc --project tsconfig.dts.json"
},
"devDependencies": {
"@webstudio-is/jest-config": "workspace:^",
"@webstudio-is/scripts": "workspace:^",
"@webstudio-is/tsconfig": "workspace:^",
"fast-glob": "^3.2.12",
"jest": "^29.6.4",
"type-fest": "^4.3.1",
"typescript": "5.2.2"
},
"exports": {
"webstudio": "./src/index.ts",
"types": "./lib/types/index.d.ts",
"import": "./lib/index.js"
},
"files": [
"lib/*",
"!*.test.*"
],
"license": "AGPL-3.0-or-later",
"sideEffects": false,
"dependencies": {
"@babel/parser": "^7.23.0",
"@babel/types": "^7.23.0",
"@webstudio-is/css-data": "workspace:*",
"@webstudio-is/react-sdk": "workspace:*",
"@webstudio-is/sdk": "workspace:*",
"json5": "^2.2.3",
"zod": "^3.21.4"
}
}