Move to Deno+Bunny.net, add a way to test webring locally.
This commit is contained in:
parent
9f66f0b37b
commit
8670aa3412
33 changed files with 599 additions and 3360 deletions
25
deno.json
Normal file
25
deno.json
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"tasks": {
|
||||
"dev": "deno run --watch --allow-read --allow-net src/main.ts",
|
||||
"clean": "rm -rf build",
|
||||
"build-index": {
|
||||
"command": "mkdir -p build && deno run --allow-read --allow-write scripts/build_index.ts",
|
||||
"dependencies": ["clean"]
|
||||
},
|
||||
"bundle": {
|
||||
"command": "mkdir -p build/bunny && deno run --allow-read --allow-write --allow-env --allow-run scripts/bundle_bunny.ts",
|
||||
"dependencies": ["clean"]
|
||||
},
|
||||
"deploy": {
|
||||
"command": "deno run --env-file --allow-env --allow-net --allow-read scripts/deploy_bunny.ts",
|
||||
"dependencies": ["clean", "build-index", "bundle"]
|
||||
}
|
||||
},
|
||||
"imports": {
|
||||
"@bunny.net/edgescript-sdk": "npm:@bunny.net/edgescript-sdk@^0.11.3",
|
||||
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.11.1",
|
||||
"@std/assert": "jsr:@std/assert@1",
|
||||
"@std/path": "jsr:@std/path@^1.0.8",
|
||||
"esbuild": "npm:esbuild@^0.25"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue