mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 05:26:24 +09:00
Upgraded to 5.8 and bumped all type definitions. Enabled erasable syntax only flag and got rid from one case in expression editor.
65 lines
1.8 KiB
JSON
65 lines
1.8 KiB
JSON
{
|
|
"name": "@webstudio-is/react-sdk",
|
|
"version": "0.0.0-webstudio-version",
|
|
"description": "Webstudio JavaScript / TypeScript API",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "rm -rf lib && esbuild src/index.ts src/runtime.ts --outdir=lib --bundle --format=esm --packages=external",
|
|
"dts": "tsc --project tsconfig.dts.json",
|
|
"typecheck": "tsc",
|
|
"test": "vitest run"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.2.70",
|
|
"@types/react-dom": "^18.2.25",
|
|
"@webstudio-is/template": "workspace:*",
|
|
"@webstudio-is/tsconfig": "workspace:*",
|
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
"react-dom": "18.3.0-canary-14898b6a9-20240318",
|
|
"strip-indent": "^4.0.0",
|
|
"type-fest": "^4.37.0",
|
|
"vitest": "^3.0.8",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
"react-dom": "18.3.0-canary-14898b6a9-20240318",
|
|
"zod": "^3.19.1"
|
|
},
|
|
"dependencies": {
|
|
"@webstudio-is/css-engine": "workspace:*",
|
|
"@webstudio-is/fonts": "workspace:*",
|
|
"@webstudio-is/icons": "workspace:^",
|
|
"@webstudio-is/image": "workspace:*",
|
|
"@webstudio-is/sdk": "workspace:*",
|
|
"change-case": "^5.4.4",
|
|
"html-tags": "^4.0.0",
|
|
"nanoid": "^5.0.9"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"webstudio": "./src/index.ts",
|
|
"types": "./lib/types/index.d.ts",
|
|
"import": "./lib/index.js"
|
|
},
|
|
"./runtime": {
|
|
"webstudio": "./src/runtime.ts",
|
|
"types": "./lib/types/runtime.d.ts",
|
|
"import": "./lib/runtime.js"
|
|
},
|
|
"./placeholder": {
|
|
"types": "./placeholder.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"lib/*",
|
|
"./placeholder.d.ts",
|
|
"!*.{test,stories}.*"
|
|
],
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": false,
|
|
"sideEffects": false
|
|
}
|