-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.66 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"name": "discord-bot-template-cfworker",
"version": "1.0.0",
"description": "A clean, modular Discord bot template for Cloudflare Workers with command class pattern",
"license": "SEE LICENSE IN LICENSE",
"author": "PineFruitDev <contact@pinefruit.dev>",
"type": "module",
"private": true,
"main": "src/worker.ts",
"scripts": {
"compile": "tsc",
"clean": "rimraf dist",
"build": "npm-run-all clean qa:fix compile",
"register": "npm run build && node dist/register.js",
"deploy": "wrangler deploy",
"deploy:dev": "wrangler deploy --env dev",
"deploy:prod": "wrangler deploy --env prod",
"tail": "wrangler tail",
"tail:dev": "wrangler tail --env dev",
"tail:prod": "wrangler tail --env prod",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"type-check": "tsc --noEmit",
"qa": "npm-run-all lint format:check type-check",
"qa:fix": "npm-run-all lint:fix format"
},
"keywords": [
"discord",
"bot",
"template",
"typescript",
"cloudflare",
"workers"
],
"dependencies": {
"discord-api-types": "^0.37.0",
"discord-interactions": "^4.4.0",
"discord.js": "^14.22.1",
"dotenv": "^16.6.1"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240117.0",
"@eslint/js": "^9.17.0",
"@types/node": "^24.5.2",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"rimraf": "^6.1.2",
"typescript": "^5.9.2",
"typescript-eslint": "^8.18.0",
"wrangler": "^4.51.0"
}
}