-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
53 lines (53 loc) · 1.77 KB
/
package.json
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
{
"name": "discord-ttl",
"version": "1.1.1",
"main": "dist/app.js",
"repository": "[email protected]:ayubun/discord-ttl.git",
"author": "ayu <[email protected]>",
"license": "MIT",
"packageManager": "[email protected]",
"pre-commit": [
"lint-fix-echo",
"lint-fix",
"pretty-fix-echo",
"pretty-fix"
],
"dependencies": {
"discord.js": "^14.15.0",
"dotenv": "^16.0.3",
"drizzle-orm": "^0.29.3",
"figlet": "^1.7.0",
"pretty-seconds": "^3.0.1",
"typescript": "^5.0.4"
},
"scripts": {
"clean": "rm -rf ./dist && find src -type d -name 'dist' -exec rm -r {} +",
"clean-all": "bun clean && rm -rf ./node_modules ./bun.lockb",
"lint": "bun eslint './src/**/*.ts'",
"pretty": "bun prettier -c './src/**/*.ts'",
"lint-fix": "bun eslint './src/**/*.ts' --fix",
"lint-fix-echo": "echo 'Running lint-fix...'",
"pretty-fix": "bun prettier -w './src/**/*.ts'",
"pretty-fix-echo": "echo 'Running pretty-fix...'",
"compile": "bun tsc",
"start": "bun clean && bun compile && bun run dist/app.js",
"start-container": "bun clean && docker compose --file dev-docker-compose.yaml up --build",
"watch": "bun --watch run src/app.ts"
},
"devDependencies": {
"@types/bun": "latest",
"@types/figlet": "^1.5.8",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.4.0",
"drizzle-kit": "^0.20.9",
"eslint": "^8.38.0",
"eslint-plugin-import": "^2.27.5",
"pre-commit": "^1.2.2",
"prettier": "^2.8.7"
},
"description": "A simple-to-selfhost Discord bot which gives users the ability to have their server messages automatically deleted if they are older than a configurable TTL (time to live)",
"peerDependencies": {
"typescript": "^5.0.0"
}
}