{ "name": "@phc/problemi-server", "version": "1.0.0", "description": "", "main": "index.js", "type": "module", "scripts": { "build:client": "vite build --outDir dist/entry-client", "build:ssr": "vite build --ssr client/entry-server.tsx --outDir dist/entry-server", "build:server": "esbuild server.ts --bundle --platform=node --format=esm --external:./node_modules/* --outdir=dist/server", "build": "run-s build:client build:ssr build:server", "serve:dev": "MODE=development node dist/server/server.js", "dev": "run-s build:server serve:dev", "serve": "node dist/server/server.js" }, "license": "MIT", "dependencies": { "@preact/preset-vite": "^2.4.0", "@preact/signals": "^1.1.2", "body-parser": "^1.20.1", "chalk": "^5.1.2", "cookie-parser": "^1.4.6", "express": "^4.18.2", "katex": "^0.16.3", "morgan": "^1.10.0", "preact": "^10.11.2", "preact-render-to-string": "^5.2.6", "preact-router": "^4.1.0", "rehype-katex": "^6.0.2", "rehype-stringify": "^9.0.3", "remark-math": "^5.1.1", "remark-parse": "^10.0.1", "remark-rehype": "^10.1.0", "sass": "^1.55.0", "unified": "^10.1.2", "url-pattern": "^1.0.3", "vite": "^3.2.2" }, "devDependencies": { "@types/cookie-parser": "^1.4.3", "@types/express": "^4.17.14", "@types/morgan": "^1.9.3", "@types/node": "^18.11.9", "concurrently": "^7.5.0", "esbuild": "^0.15.13", "npm-run-all": "^4.1.5", "typescript": "^4.8.4" } }