website/package.json

24 lines
658 B
JSON

{
"name": "website",
"module": "index.ts",
"type": "module",
"devDependencies": {
"@types/nunjucks": "^3.2.6",
"@types/express": "^4.17.21"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"express": "^4.19.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",
"dev": "npm run build && npm run start"
}
}