Files
stackrender/package.json
T
Alberto Arena fe84e0d748 build: raise Node heap for production build
The production build renders thousands of modules and exceeds V8's
default heap ceiling, so `npm run build` fails with a JavaScript
heap out-of-memory error during "rendering chunks". Set
NODE_OPTIONS=--max-old-space-size=8192 on the Vite build step via
cross-env (kept portable for Windows), so a fresh clone builds
without any manual environment setup. Document the matching Docker
memory requirement in DOCKER.md, since the container build hits the
same limit when the Docker VM has too little RAM.
2026-08-04 18:06:11 +02:00

111 lines
3.6 KiB
JSON

{
"name": "StackRender",
"private": true,
"version": "1.4.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build",
"lint": "eslint -c .eslintrc.json ./src/**/**/*.{ts,tsx} --fix",
"preview": "vite preview"
},
"dependencies": {
"@codemirror/lang-sql": "^6.9.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@guanmingchiu/sqlparser-ts": "^0.61.1",
"@internationalized/date": "^3.8.2",
"@nextui-org/react": "^2.6.11",
"@powersync/drizzle-driver": "^0.4.0",
"@powersync/react": "^1.5.3",
"@powersync/web": "^1.20.0",
"@radix-ui/react-accordion": "^1.2.12",
"@radix-ui/react-avatar": "^1.1.10",
"@radix-ui/react-collapsible": "^1.1.12",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-label": "^2.1.7",
"@radix-ui/react-menubar": "^1.1.16",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-radio-group": "^1.3.8",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.7",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-toggle": "^1.1.10",
"@radix-ui/react-toggle-group": "^1.1.11",
"@radix-ui/react-tooltip": "^1.2.8",
"@react-aria/visually-hidden": "3.8.21",
"@react-types/shared": "3.28.0",
"@reecelucas/react-use-hotkeys": "^2.0.0",
"@tabler/icons-react": "^3.34.1",
"@tailwindcss/typography": "^0.5.16",
"@tailwindcss/vite": "^4.1.12",
"@uiw/react-codemirror": "^4.23.12",
"@xyflow/react": "^12.6.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"date-fns": "^4.1.0",
"dayjs": "^1.11.13",
"drizzle-orm": "^0.43.1",
"elkjs": "^0.10.0",
"fast-json-patch": "^3.1.1",
"framer-motion": "11.15.0",
"i18next-browser-languagedetector": "^8.0.5",
"lodash": "^4.18.1",
"lucide-react": "^0.501.0",
"node-sql-parser": "^5.3.9",
"object-hash": "^3.0.0",
"pgsql-ast-parser": "^12.0.1",
"pluralize": "^8.0.0",
"react": "18.3.1",
"react-day-picker": "^9.10.0",
"react-dom": "18.3.1",
"react-i18next": "^15.5.1",
"react-resizable-panels": "^2.1.9",
"react-router-dom": "6.30.3",
"react-tag-input": "^6.10.6",
"sonner": "^2.0.7",
"sql-formatter": "^15.6.3",
"tailwind-merge": "^3.3.1",
"tailwind-variants": "0.3.0",
"tailwindcss": "^4.1.13",
"tailwindcss-animate": "^1.0.7",
"use-undo": "^1.1.1",
"uuid": "^11.1.0",
"vaul": "^1.1.2"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/node": "20.19.0",
"@types/object-hash": "^3.0.6",
"@types/pluralize": "^0.0.33",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "8.11.0",
"@typescript-eslint/parser": "8.11.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "10.4.19",
"cross-env": "^7.0.3",
"esbuild": "^0.28.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "4.1.4",
"prettier": "3.3.3",
"rollup": "^4.61.1",
"tw-animate-css": "^1.3.6",
"typescript": "5.6.3",
"vite": "^5.2.0",
"vite-plugin-top-level-await": "^1.5.0",
"vite-tsconfig-paths": "^4.3.2"
}
}