diff --git a/deno.json b/deno.json index c74b807..b926120 100644 --- a/deno.json +++ b/deno.json @@ -3,9 +3,8 @@ "lume/": "https://deno.land/x/lume@v2.2.0/" }, "tasks": { - "lume": "echo \"import 'lume/cli.ts'\" | 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' -", - "build": "deno task lume", - "serve": "deno task lume -s", + "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/" }, diff --git a/lume.ts b/lume.ts new file mode 100644 index 0000000..7d21deb --- /dev/null +++ b/lume.ts @@ -0,0 +1 @@ +import "lume/cli.ts";