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.

64 lines
2.0 KiB
JSON

{
"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",
2 years ago
"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",
"dev": "run-s build:server serve:dev",
2 years ago
"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",
"dotenv": "^16.0.3",
"express": "^4.18.2",
2 years ago
"http-status-codes": "^2.2.0",
"katex": "^0.16.3",
"morgan": "^1.10.0",
"node-fetch": "^3.3.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",
"simple-oauth2": "^5.0.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",
"@types/simple-oauth2": "^4.1.1",
2 years ago
"concurrently": "^7.5.0",
"esbuild": "^0.15.13",
"npm-run-all": "^4.1.5",
2 years ago
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
},
"prettier": {
"printWidth": 140,
"singleQuote": true,
"quoteProps": "consistent",
"tabWidth": 4,
"semi": false,
"arrowParens": "avoid"
}
}