donation-site/deno.json
Foster Hangdaan 0d7c70de80
Move lume task to its own file
This is to encourage use of the predefined tasks and also means that
upgrades must now be performed manually.
2024-09-08 11:28:58 -04:00

23 lines
902 B
JSON

{
"imports": {
"lume/": "https://deno.land/x/lume@v2.2.0/"
},
"tasks": {
"build": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000' --allow-sys=networkInterfaces --allow-env='LUME_ENV,LUME_LIVE_RELOAD,LUME_LOGS,LUME_NOCACHE,LUME_DRAFTS' lume.ts",
"serve": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000' --allow-sys=networkInterfaces --allow-env='LUME_ENV,LUME_LIVE_RELOAD,LUME_LOGS,LUME_NOCACHE,LUME_DRAFTS' lume.ts -s",
"check": "deno fmt --check && deno lint && deno check .",
"deploy": "rsync -avh --progress --delete ./_site/ podman:/srv/www/pay.fosterhangdaan.com/"
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "npm:preact",
"types": [
"lume/types.ts"
]
},
"fmt": {
"exclude": [
"LICENSE.md"
]
}
}