website/package.json

25 lines
688 B
JSON

{
"name": "website",
"module": "index.ts",
"type": "module",
"devDependencies": {
"@types/nunjucks": "3.2.6",
"@types/express": "5.0.0"
},
"peerDependencies": {
"typescript": "5.7.2"
},
"dependencies": {
"express": "4.21.2",
"nunjucks": "3.2.4"
},
"scripts": {
"build": "tsc -p .",
"start": "NODE_PATH=./dist node dist/index.js",
"buildandpush": "docker buildx build --push --platform=linux/amd64,linux/arm64 -t git.fai.st/bizcochito/bizcochito.onion .",
"deploy": "npm run buildandpush && sleep 3 && kubectl rollout restart deploy/web -n web",
"local": "npm run build && npm run start",
"dev": "docker compose watch"
}
}