mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 05:26:24 +09:00
## Description ### Not finished, should be merged as has small issues fixed https://video-viking.wstd.work/ https://video-viking.wstd.work/entry ## 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: 0000) - [ ] 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
80 lines
2.6 KiB
JSON
80 lines
2.6 KiB
JSON
{
|
|
"name": "@webstudio-is/sdk-components-react",
|
|
"version": "0.0.0-webstudio-version",
|
|
"description": "Webstudio default library for react",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": false,
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"files": [
|
|
"lib/*",
|
|
"!*.{test,stories}.*"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"webstudio": "./src/components.ts",
|
|
"types": "./lib/types/components.d.ts",
|
|
"import": "./lib/components.js"
|
|
},
|
|
"./metas": {
|
|
"webstudio": "./src/metas.ts",
|
|
"types": "./lib/types/metas.d.ts",
|
|
"import": "./lib/metas.js"
|
|
},
|
|
"./props": {
|
|
"webstudio": "./src/props.ts",
|
|
"types": "./lib/types/props.d.ts",
|
|
"import": "./lib/props.js"
|
|
},
|
|
"./hooks": {
|
|
"webstudio": "./src/hooks.ts",
|
|
"types": "./lib/types/hooks.d.ts",
|
|
"import": "./lib/hooks.js"
|
|
},
|
|
"./templates": {
|
|
"webstudio": "./src/templates.ts",
|
|
"types": "./lib/types/templates.d.ts",
|
|
"import": "./lib/templates.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "vite build --config ../../vite.sdk-components.config.ts",
|
|
"build:args": "NODE_OPTIONS=--conditions=webstudio generate-arg-types './src/*.tsx !./src/*.stories.tsx !./src/*.test.{ts,tsx} !./src/*.ws.ts !./src/*.ws.ts !./src/*.template.tsx' && prettier --write \"**/*.props.ts\"",
|
|
"build:stories": "webstudio-sdk generate-stories && prettier --write \"src/__generated__/*.stories.tsx\"",
|
|
"dts": "tsc --project tsconfig.dts.json",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
"react-dom": "18.3.0-canary-14898b6a9-20240318"
|
|
},
|
|
"dependencies": {
|
|
"@react-aria/utils": "^3.27.0",
|
|
"@webstudio-is/icons": "workspace:*",
|
|
"@webstudio-is/image": "workspace:*",
|
|
"@webstudio-is/react-sdk": "workspace:*",
|
|
"@webstudio-is/sdk": "workspace:*",
|
|
"await-interaction-response": "^0.0.2",
|
|
"colord": "^2.9.3",
|
|
"micromark": "^4.0.2",
|
|
"micromark-extension-gfm-table": "^2.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@testing-library/react": "^16.2.0",
|
|
"@types/react": "^18.2.70",
|
|
"@types/react-dom": "^18.2.25",
|
|
"@webstudio-is/generate-arg-types": "workspace:*",
|
|
"@webstudio-is/sdk-cli": "workspace:*",
|
|
"@webstudio-is/template": "workspace:*",
|
|
"@webstudio-is/tsconfig": "workspace:*",
|
|
"nanostores": "^0.11.3",
|
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
"react-dom": "18.3.0-canary-14898b6a9-20240318",
|
|
"vitest": "^3.0.8"
|
|
}
|
|
}
|