A Deno-powered backend service for Plants vs. Zombies: MODDED. [Read-only GitHub mirror] docs.pvzm.net
express typescript expressjs plant deno jspvz pvzm game online backend plants-vs-zombies zombie javascript plants modded vs plantsvszombies openapi pvz noads
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

use new permission system and add compilation

Clay 42e5ab23 632d97c1

+20 -11
+20 -11
deno.jsonc
··· 1 1 { 2 2 "tasks": { 3 - "dev": "deno run --watch --allow-env --allow-read --allow-write --allow-net --allow-ffi --allow-run --env-file=.env main.ts", 4 - "start": "deno run --allow-env --allow-read --allow-write --allow-net --allow-ffi --allow-run --env-file=.env main.ts", 3 + "dev": "deno run --watch -P=dev --env-file=.env main.ts", 4 + "start": "deno run -P --env-file=.env main.ts", 5 + "compile": "deno compile -P main.ts", 6 + "compile-aarch64": "deno compile -P --target=aarch64-unknown-linux-gnu main.ts", 7 + }, 8 + "permissions": { 9 + "default": { 10 + "env": true, 11 + "net": true, 12 + "ffi": true, 13 + "read": true, 14 + "write": true 15 + }, 16 + "dev": { 17 + "env": true, 18 + "net": true, 19 + "ffi": true, 20 + "read": true, 21 + "write": true 22 + } 5 23 }, 6 24 "lint": { 7 25 "rules": { ··· 26 44 "passport": "npm:passport@^0.7.0", 27 45 "passport-github2": "npm:passport-github2@^0.1.12", 28 46 "pako": "npm:pako@^2.1.0", 29 - }, 30 - "fmt": { 31 - "useTabs": true, 32 - "lineWidth": 80, 33 - "indentWidth": 4, 34 - "semiColons": true, 35 - "singleQuote": false, 36 - "proseWrap": "preserve", 37 - "include": ["**/*.js", "**/*.ts", "**/*.json", "**/*.jsonc", "**/*.css", "**/*.html"], 38 47 }, 39 48 "compilerOptions": { 40 49 "strict": true,