mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 05:26:24 +09:00
## Description 1. What is this PR about (link the issue and add a short description) ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file
67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"name": "@webstudio-is/react-sdk",
|
|
"version": "0.179.0",
|
|
"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": "NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "^29.7.0",
|
|
"@types/react": "^18.2.70",
|
|
"@types/react-dom": "^18.2.25",
|
|
"@webstudio-is/jest-config": "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.24.0",
|
|
"typescript": "5.5.2",
|
|
"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.1",
|
|
"title-case": "^4.3.1"
|
|
},
|
|
"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
|
|
}
|