feat: modernize and harden bot deployment
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"tasks": {
|
||||
"check": "deno fmt --check && deno lint && deno check src/index.ts && deno test",
|
||||
"start": "deno run --allow-env=TOKEN,CLIENT_ID,CONFIG_PATH --allow-net=discord.com,gateway.discord.gg --allow-read=./config.json,/data/config.json --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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user