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.

41 lines
1.2 KiB
JSON

{
"name": "@phc/problemi-server",
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"dev": "MODE=development node server.js",
"build": "run-s build:client build:server",
"build:client": "vite build --outDir dist/client",
"build:server": "vite build --ssr client/entry-server.jsx --outDir dist/server",
"serve": "node 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",
"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": {
"concurrently": "^7.5.0",
"npm-run-all": "^4.1.5"
}
}