Files
EllyDiscordBot/deno.json
2026-05-28 23:46:40 +00:00

58 lines
1.9 KiB
JSON

{
"workspace": [
"./crates/shared",
"./crates/core",
"./crates/bot"
],
"compilerOptions": {
"strict": true,
"lib": ["deno.window", "deno.unstable", "esnext"],
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": false
},
"imports": {
"zod": "npm:zod@^3.23.8",
"kysely": "npm:kysely@^0.27.4",
"@db/sqlite": "jsr:@db/sqlite@^0.12.0",
"@std/toml": "jsr:@std/toml@^1.0.2",
"@std/path": "jsr:@std/path@^1.0.8",
"@std/fs": "jsr:@std/fs@^1.0.6",
"@std/ulid": "jsr:@std/ulid@^1.0.0",
"@std/fmt": "jsr:@std/fmt@^1.0.3"
},
"tasks": {
"check": "deno check crates/shared/mod.ts crates/core/src/main.ts crates/bot/src/main.ts",
"lint": "deno lint crates/",
"fmt": "deno fmt crates/",
"fmt:check": "deno fmt --check crates/",
"core:start": "deno run --allow-read=./config.toml,./data,./logs --allow-write=./data,./logs --allow-net=127.0.0.1:8787,0.0.0.0:8787 --allow-env --allow-ffi --unstable-kv --unstable-cron --env-file=.env crates/core/src/main.ts",
"core:dev": "deno run --watch --allow-read=./config.toml,./data,./logs --allow-write=./data,./logs --allow-net=127.0.0.1:8787,0.0.0.0:8787 --allow-env --allow-ffi --unstable-kv --unstable-cron --env-file=.env crates/core/src/main.ts",
"bot:start": "deno run --allow-read=./config.toml,./logs --allow-write=./logs --allow-env --env-file=.env crates/bot/src/main.ts",
"bot:dev": "deno run --watch --allow-read=./config.toml,./logs --allow-write=./logs --allow-env --env-file=.env crates/bot/src/main.ts"
},
"fmt": {
"useTabs": false,
"lineWidth": 100,
"indentWidth": 2,
"singleQuote": false,
"proseWrap": "preserve",
"exclude": ["src/", "data/", "logs/"]
},
"lint": {
"rules": {
"tags": ["recommended"]
},
"exclude": ["src/", "data/", "logs/"]
},
"exclude": [
"src/",
"data/",
"logs/"
]
}