first commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "sebrief-dashboard",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"typecheck": "tsc --noEmit",
|
||||
"build:server": "esbuild src/server.ts --bundle --platform=node --target=node24 --format=esm --outfile=dist/server.js",
|
||||
"build:client": "esbuild src/client/main.ts --bundle --minify --target=es2022 --outfile=dist/public/app.js",
|
||||
"build:static": "mkdir -p dist/public && cp web/index.html web/styles.css dist/public/",
|
||||
"build": "npm run typecheck && npm run build:server && npm run build:client && npm run build:static",
|
||||
"start": "node dist/server.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.3.0",
|
||||
"dompurify": "^3.2.4",
|
||||
"esbuild": "^0.25.0",
|
||||
"marked": "^16.0.0",
|
||||
"typescript": "^5.9.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user