You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.7 KiB
JSON

{
"name": "@phc/problemi-server",
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"dev": "run-s build:server serve:dev",
"build": "run-s build:client build:ssr build:server",
"build:server": "esbuild server.ts --bundle --platform=node --format=esm --external:./node_modules/* --outdir=dist/server",
"build:client": "vite build --outDir dist/entry-client",
"build:ssr": "vite build --ssr client/entry-server.tsx --outDir dist/entry-server",
"serve:dev": "MODE=development node dist/server/server.js",
"serve": "node dist/server/server.js"
},
2 years ago
"license": "MIT",
"dependencies": {
"@preact/preset-vite": "^2.4.0",
"@preact/signals": "^1.1.2",
"body-parser": "^1.20.1",
"chalk": "^5.1.2",
2 years ago
"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"
2 years ago
},
"devDependencies": {
"@types/cookie-parser": "^1.4.3",
"@types/express": "^4.17.14",
"@types/morgan": "^1.9.3",
"@types/node": "^18.11.9",
2 years ago
"concurrently": "^7.5.0",
"esbuild": "^0.15.13",
"npm-run-all": "^4.1.5",
"typescript": "^4.8.4"
}
}