26 lines
706 B
JSON
26 lines
706 B
JSON
|
{
|
||
|
"name": "doordesk",
|
||
|
"private": true,
|
||
|
"version": "0.0.0",
|
||
|
"type": "module",
|
||
|
"scripts": {
|
||
|
"dev": "node server",
|
||
|
"build": "npm run build:client && npm run build:server",
|
||
|
"build:client": "vite build --ssrManifest --outDir dist/client",
|
||
|
"build:server": "vite build --ssr src/entry-server.tsx --outDir dist/server",
|
||
|
"preview": "cross-env NODE_ENV=production node server"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"compression": "^1.7.4",
|
||
|
"express": "^4.18.2",
|
||
|
"sirv": "^2.0.2",
|
||
|
"solid-js": "^1.6.4"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/express": "^4.17.16",
|
||
|
"@types/node": "^18.11.12",
|
||
|
"cross-env": "^7.0.3",
|
||
|
"vite": "^4.0.4",
|
||
|
"vite-plugin-solid": "^2.5.0"
|
||
|
}
|
||
|
}
|