mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 12:33:36 +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-builder/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env.example` and the `builder/env-check.js` if mandatory
78 lines
2.3 KiB
JSON
78 lines
2.3 KiB
JSON
{
|
|
"name": "@webstudio-is/react-sdk",
|
|
"version": "0.89.0",
|
|
"description": "Webstudio JavaScript / TypeScript API",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "build-package --watch",
|
|
"build": "build-package",
|
|
"build:args": "generate-arg-types './src/components/*.tsx ./src/app/custom-components/*.tsx !./src/**/*.stories.tsx !./src/**/*.ws.tsx' && prettier --write \"**/*.props.ts\"",
|
|
"dts": "tsc --project tsconfig.dts.json",
|
|
"typecheck": "tsc",
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
|
|
"checks": "pnpm typecheck && pnpm test"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "^29.6.2",
|
|
"@remix-run/react": "^1.19.2",
|
|
"@types/react": "^18.2.20",
|
|
"@types/react-dom": "^18.2.7",
|
|
"@webstudio-is/jest-config": "workspace:^",
|
|
"@webstudio-is/scripts": "workspace:^",
|
|
"@webstudio-is/tsconfig": "workspace:^",
|
|
"jest": "^29.6.2",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"type-fest": "^4.2.0",
|
|
"typescript": "5.1.6",
|
|
"zod": "^3.21.4"
|
|
},
|
|
"peerDependencies": {
|
|
"@remix-run/react": "^1.19.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"zod": "^3.19.1"
|
|
},
|
|
"dependencies": {
|
|
"@jsep-plugin/assignment": "^1.2.1",
|
|
"@nanostores/react": "^0.7.1",
|
|
"@webstudio-is/asset-uploader": "workspace:^",
|
|
"@webstudio-is/css-data": "workspace:^",
|
|
"@webstudio-is/css-engine": "workspace:^",
|
|
"@webstudio-is/fonts": "workspace:^",
|
|
"@webstudio-is/generate-arg-types": "workspace:^",
|
|
"@webstudio-is/project-build": "workspace:^",
|
|
"html-tags": "^3.3.1",
|
|
"jsep": "^1.3.8",
|
|
"nanoevents": "^8.0.0",
|
|
"nanoid": "^4.0.2",
|
|
"nanostores": "^0.9.3",
|
|
"no-case": "^3.0.4",
|
|
"title-case": "^3.0.3"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"source": "./src/index.ts",
|
|
"types": "./lib/types/index.d.ts",
|
|
"import": "./lib/index.js",
|
|
"require": "./lib/cjs/index.js"
|
|
},
|
|
"./css-normalize": {
|
|
"source": "./src/css/normalize.ts",
|
|
"types": "./lib/types/css/normalize.d.ts",
|
|
"import": "./lib/css/normalize.js",
|
|
"require": "./lib/cjs/css/normalize.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"lib/*",
|
|
"src/*",
|
|
"!*.test.*"
|
|
],
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": false,
|
|
"sideEffects": false
|
|
}
|