Files
webstudio/packages/template/package.json
T
Bogdan Chadkin 178ad00bc3 refactor: rewrite webhook form template with jsx (#4721)
Big one

- added `new Variable(name, initialValue)` to defined unique variable
- added `expression\`${variable}\`` to access variables by reference
- added `new Action(args, expression\`\`)` support
- added `ws:show` prop which is converted to data-ws-show under the hood

All these features are necessary to represent all webhook form features.
They also may be handy in tests.
2025-01-08 18:37:27 +07:00

30 lines
786 B
JSON

{
"name": "@webstudio-is/template",
"version": "0.0.0-webstudio-version",
"description": "Webstudio templates based on React",
"author": "Webstudio <github@webstudio.is>",
"homepage": "https://webstudio.is",
"license": "AGPL-3.0-or-later",
"private": true,
"type": "module",
"exports": {
"webstudio": "./src/index.ts"
},
"sideEffects": false,
"scripts": {
"typecheck": "tsc",
"test": "vitest run"
},
"dependencies": {
"@webstudio-is/css-data": "workspace:*",
"@webstudio-is/css-engine": "workspace:*",
"@webstudio-is/sdk": "workspace:*",
"@webstudio-is/react-sdk": "workspace:*",
"react": "18.3.0-canary-14898b6a9-20240318"
},
"devDependencies": {
"@webstudio-is/tsconfig": "workspace:*",
"vitest": "^2.1.8"
}
}