mirror of
https://github.com/decolua/9router.git
synced 2026-05-08 12:01:28 +00:00
Move better-sqlite3 to optionalDependencies so npm install doesn't fail on platforms without native build tools. Add it to serverExternalPackages so Next.js doesn't try to bundle the native addon into webpack chunks. Fixes #243
53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"name": "9router-app",
|
|
"version": "0.3.57",
|
|
"description": "9Router web dashboard",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --webpack --port 20128",
|
|
"build": "NODE_ENV=production next build --webpack",
|
|
"start": "NODE_ENV=production next start",
|
|
"dev:bun": "bun --bun next dev --webpack --port 20128",
|
|
"build:bun": "NODE_ENV=production bun --bun next build --webpack",
|
|
"start:bun": "NODE_ENV=production bun ./.next/standalone/server.js"
|
|
},
|
|
"dependencies": {
|
|
"@monaco-editor/react": "^4.7.0",
|
|
"@xyflow/react": "^12.10.1",
|
|
"bcryptjs": "^3.0.3",
|
|
"confbox": "^0.2.4",
|
|
"express": "^5.2.1",
|
|
"fs": "^0.0.1-security",
|
|
"http-proxy-middleware": "^3.0.5",
|
|
"jose": "^6.1.3",
|
|
"lowdb": "^7.0.1",
|
|
"monaco-editor": "^0.55.1",
|
|
"next": "^16.1.6",
|
|
"node-forge": "^1.3.3",
|
|
"node-machine-id": "^1.1.12",
|
|
"open": "^11.0.0",
|
|
"ora": "^9.1.0",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"react-is": "^16.13.1",
|
|
"recharts": "^3.7.0",
|
|
"selfsigned": "^5.5.0",
|
|
"socks-proxy-agent": "^8.0.5",
|
|
"undici": "^7.19.2",
|
|
"uuid": "^13.0.0",
|
|
"zustand": "^5.0.10"
|
|
},
|
|
"optionalDependencies": {
|
|
"better-sqlite3": "^12.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.1.18",
|
|
"esbuild": "^0.27.4",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.1.6",
|
|
"javascript-obfuscator": "^5.3.0",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4"
|
|
}
|
|
}
|