Files
webstudio/apps/builder/package.json
T
Bogdan Chadkin d0a00a3ebc refactor: render canvas only client side (#3199)
We don't need canvas to be rendered server side either.

```diff
build/server
- 1164 kB
+ 812 kB
```

Removed components metas form static json since we not longer bundle all
components on server.

Also refactor client only component with useSyncExternalStore which
render without waiting for effect commit and avoids hydration errors at
the same time.
2024-04-18 13:58:26 +07:00

157 lines
5.6 KiB
JSON

{
"name": "@webstudio-is/builder",
"version": "0.145.0",
"private": true,
"description": "Webstudio Builder UI as a service",
"type": "module",
"scripts": {
"prebuild": "which remix",
"build": "remix vite:build",
"start": "remix-serve build/server/index.js",
"start-local": "NODE_OPTIONS='-r dotenv/config' remix-serve build/server/index.js",
"dev": "remix vite:dev",
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"checks": "pnpm typecheck && pnpm test",
"storybook:dev": "storybook dev -p 6006",
"storybook:build": "storybook build",
"ci:migrate": "migrations migrate --force",
"middleware:link": "pnpx vercel link",
"middleware:env": "pnpx vercel env pull --environment=preview ./.env.preview",
"middleware:dev": "DOTENV_CONFIG_PATH=.env.preview tsx watch -r dotenv/config ./middleware.js"
},
"dependencies": {
"@codemirror/autocomplete": "^6.16.0",
"@codemirror/commands": "^6.3.3",
"@codemirror/lang-html": "^6.4.9",
"@codemirror/lang-javascript": "^6.2.2",
"@codemirror/language": "^6.10.1",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.26.3",
"@floating-ui/dom": "^1.5.3",
"@fontsource-variable/inter": "^5.0.13",
"@fontsource-variable/manrope": "^5.0.15",
"@fontsource/roboto-mono": "^5.0.13",
"@lexical/headless": "^0.14.3",
"@lexical/link": "^0.14.3",
"@lexical/react": "^0.14.3",
"@lexical/selection": "^0.14.3",
"@lexical/utils": "^0.14.3",
"@lezer/common": "^1.2.1",
"@lezer/highlight": "^1.2.0",
"@nanostores/react": "^0.7.1",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-tooltip": "^1.0.7",
"@react-aria/interactions": "^3.19.0",
"@react-aria/utils": "^3.21.0",
"@remix-run/cloudflare": "^2.8.1",
"@remix-run/node": "^2.8.1",
"@remix-run/react": "^2.8.1",
"@remix-run/serve": "^2.8.1",
"@remix-run/server-runtime": "^2.8.1",
"@trpc/client": "^10.38.1",
"@trpc/server": "^10.38.1",
"@upstash/ratelimit": "^0.4.4",
"@vercel/edge": "^1.1.0",
"@vercel/kv": "^0.2.3",
"@webstudio-is/ai": "workspace:*",
"@webstudio-is/asset-uploader": "workspace:*",
"@webstudio-is/authorization-token": "workspace:*",
"@webstudio-is/css-data": "workspace:*",
"@webstudio-is/css-engine": "workspace:*",
"@webstudio-is/dashboard": "workspace:*",
"@webstudio-is/design-system": "workspace:*",
"@webstudio-is/domain": "workspace:*",
"@webstudio-is/error-utils": "workspace:*",
"@webstudio-is/feature-flags": "workspace:*",
"@webstudio-is/fonts": "workspace:*",
"@webstudio-is/http-client": "workspace:*",
"@webstudio-is/icons": "workspace:*",
"@webstudio-is/image": "workspace:*",
"@webstudio-is/prisma-client": "workspace:*",
"@webstudio-is/project": "workspace:*",
"@webstudio-is/project-build": "workspace:*",
"@webstudio-is/react-sdk": "workspace:*",
"@webstudio-is/sdk": "workspace:*",
"@webstudio-is/sdk-components-react": "workspace:*",
"@webstudio-is/sdk-components-react-radix": "workspace:*",
"@webstudio-is/sdk-components-react-remix": "workspace:*",
"@webstudio-is/trpc-interface": "workspace:*",
"bcp-47": "^2.1.0",
"change-case": "^5.0.2",
"colord": "^2.9.3",
"cookie": "^0.6.0",
"date-fns": "^3.6.0",
"detect-font": "^0.1.5",
"downshift": "^6.1.7",
"fast-deep-equal": "^3.1.3",
"hono": "^3.7.3",
"hyphenate-style-name": "^1.0.4",
"immer": "^10.0.3",
"immerhin": "^0.9.0",
"lexical": "^0.14.3",
"match-sorter": "^6.3.1",
"mdast-util-from-markdown": "^2.0.0",
"mdast-util-gfm": "^3.0.0",
"memoize-one": "^6.0.0",
"micromark-extension-gfm": "^3.0.0",
"nanoevents": "^8.0.0",
"nanoid": "^5.0.1",
"nanostores": "^0.9.3",
"pretty-bytes": "^6.1.1",
"prismjs": "^1.29.0",
"react": "18.3.0-canary-14898b6a9-20240318",
"react-colorful": "^5.6.1",
"react-dom": "18.3.0-canary-14898b6a9-20240318",
"react-error-boundary": "^4.0.12",
"react-hotkeys-hook": "^4.4.1",
"react-script-hook": "^1.7.2",
"remix-auth": "^3.6.0",
"remix-auth-form": "^1.4.0",
"remix-auth-github": "^1.7.0",
"remix-auth-google": "^2.0.0",
"remix-island": "^0.2.0",
"shallow-equal": "^3.1.0",
"slugify": "^1.6.6",
"string-argv": "^0.3.2",
"strip-indent": "^4.0.0",
"title-case": "^4.1.0",
"ultraflag": "^0.1.0",
"untruncate-json": "^0.0.1",
"urlpattern-polyfill": "^9.0.0",
"use-debounce": "^9.0.4",
"uuid": "^9.0.0",
"warn-once": "^0.1.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@hono/node-server": "^1.2.0",
"@jest/globals": "^29.7.0",
"@remix-run/dev": "^2.8.1",
"@storybook/addon-actions": "^7.4.0",
"@storybook/addon-essentials": "^7.4.0",
"@storybook/addon-links": "^7.4.0",
"@storybook/react": "^7.4.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/cookie": "^0.6.0",
"@types/hyphenate-style-name": "^1.0.0",
"@types/lodash.debounce": "^4.0.6",
"@types/prismjs": "^1.26.0",
"@types/react": "^18.2.70",
"@types/react-dom": "^18.2.25",
"@types/uuid": "^8.3.4",
"@webstudio-is/jest-config": "workspace:*",
"@webstudio-is/storybook-config": "workspace:*",
"@webstudio-is/tsconfig": "workspace:*",
"dotenv": "^16.3.1",
"html-tags": "^3.3.1",
"react-router-dom": "^6.22.3",
"react-test-renderer": "18.3.0-canary-14898b6a9-20240318",
"type-fest": "^4.3.1",
"typescript": "5.4.5",
"vite": "^5.2.8"
},
"sideEffects": false,
"license": "AGPL-3.0-or-later"
}