feat: 后端改为deno
This commit is contained in:
12
backend-deno/deno.json
Normal file
12
backend-deno/deno.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"imports": {
|
||||
"hono": "https://deno.land/x/hono@v3.12.8/mod.ts",
|
||||
"ws": "https://deno.land/std@0.208.0/ws/mod.ts",
|
||||
"cors": "https://deno.land/x/hono@v3.12.8/middleware/cors/index.ts",
|
||||
"logger": "https://deno.land/x/hono@v3.12.8/middleware/logger/index.ts"
|
||||
},
|
||||
"tasks": {
|
||||
"start": "deno run --allow-net --allow-run --allow-read --allow-write --allow-env main.ts",
|
||||
"dev": "deno run --allow-net --allow-run --allow-read --allow-write --watch --allow-env main.ts"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user