19 lines
740 B
JSON
19 lines
740 B
JSON
{
|
|
"tasks": {
|
|
"check": "deno fmt --check && deno lint && deno check src/index.ts && deno test",
|
|
"start": "deno run --allow-env=TOKEN,CLIENT_ID,CONFIG_PATH,NODE_V8_COVERAGE,UNDICI_NO_FG,JEST_WORKER_ID,SHARDS,SHARD_COUNT,SHARDING_MANAGER,SHARDING_MANAGER_MODE,DISCORD_TOKEN,WS_NO_BUFFER_UTIL,WS_NO_UTF_8_VALIDATE --allow-net=discord.com,gateway.discord.gg --allow-read=./config.json,./config.json.tmp,/data/config.json,/data/config.json.tmp --allow-write=.,/data src/index.ts"
|
|
},
|
|
"compilerOptions": {
|
|
"lib": ["deno.window"]
|
|
},
|
|
"imports": {
|
|
"@std/assert": "jsr:@std/assert@1.0.19",
|
|
"discord.js": "npm:discord.js@14.27.0"
|
|
},
|
|
"fmt": {
|
|
"lineWidth": 100,
|
|
"semiColons": true,
|
|
"singleQuote": false
|
|
}
|
|
}
|