-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 3.54 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 3.54 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "nessie",
"version": "2.4.2",
"description": "Apex Legends Map Rotation Discord Bot",
"license": "MIT",
"scripts": {
"config:init": "yarn config:file && yarn config:bot && yarn config:als && yarn config:env && yarn config:notification && yarn config:database && yarn config:product && yarn config:topgg && yarn config:sentry",
"config:file": "mkdir src/config && touch src/config/environment.ts",
"config:bot": "echo \"//Bot Configuration; Required\nexport const BOT_TOKEN = '';\nexport const BOT_ID = '';\nexport const GUILD_ID = '';\n\" >> src/config/environment.ts",
"config:als": "echo \"//API key to retrieve apex data\nexport const ALS_API_KEY = '';\n\" >> src/config/environment.ts",
"config:env": "echo \"//Environment\nexport const ENV = 'dev';\n\" >> src/config/environment.ts",
"config:notification": "echo \"//Notifications\nexport const GUILD_NOTIFICATION_WEBHOOK_URL = '';\nexport const ERROR_NOTIFICATION_WEBHOOK_URL = '';\nexport const STATUS_LOG_WEBHOOK_URL = '';\nexport const BOOT_NOTIFICATION_CHANNEL_ID = '';\n\" >> src/config/environment.ts",
"config:database": "echo \"//Database\nexport const DATABASE_CONFIG = null;\n\" >> src/config/environment.ts",
"config:product": "echo \"//Product Tracking\nexport const MIXPANEL_ID = '';\n\" >> src/config/environment.ts",
"config:topgg": "echo \"//TopGG Tracking\nexport const TOP_GG_TOKEN = '';\n\" >> src/config/environment.ts",
"config:sentry": "echo \"//Error Logging\nexport const SENTRY_DSN_KEY = '';\n\" >> src/config/environment.ts",
"start": "yarn build && yarn build:watch",
"build": "tsc",
"build:watch": "yarn tsc-watch --onSuccess 'node dist/App.js'",
"test": "jest --watch",
"lint": "eslint 'src/**/*.{ts,tsx}'",
"update:version": "node -p \"'export const BOT_VERSION = ' + JSON.stringify(require('./package.json').version) + ';' + 'export const BOT_UPDATED_AT = ' + JSON.stringify('$(date +'%d-%b-%Y')')\" > src/version.ts",
"auto:changelog": "yarn auto changelog",
"auto:version": "yarn version --`auto version`",
"auto:release": "yarn auto:changelog && yarn auto:version",
"release": "git fetch --tags --force && git checkout -b release/$(date +'%Y-%m-%d') && yarn auto:release && yarn update:version && git add . && git commit -m 'Update version' && git push -u origin head",
"migrate": "node-pg-migrate -j ts create --migrations-dir src/migrations",
"migrate:up": "node-pg-migrate --migrations-dir dist/migrations up",
"migrate:down": "node-pg-migrate --migrations-dir dist/migrations down"
},
"dependencies": {
"@sentry/node": "^9.29.0",
"config": "^4.0.0",
"cron": "^4.3.1",
"date-fns": "^4.1.0",
"discord.js": "^14.19.3",
"got": "11.8.6",
"lodash": "^4.17.21",
"mixpanel": "^0.18.1",
"pg": "^8.16.3",
"redis": "^4.7.0",
"topgg-autoposter": "^2.0.2",
"uuid": "^11.1.0"
},
"devDependencies": {
"@types/cron": "^2.0.1",
"@types/got": "^9.6.12",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.20",
"@types/pg": "^8.15.4",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.59.11",
"auto": "^11.3.0",
"eslint": "^8.42.0",
"eslint-plugin-unused-imports": "^4.1.4",
"jest": "^29.7.0",
"node-pg-migrate": "^8.0.2",
"ts-jest": "^29.4.1",
"tsc-watch": "^7.1.1",
"typescript": "^5.8.3"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/src/**/*.test.ts"
]
},
"engines": {
"node": ">=20.11.0"
}
}