generated from vexuas/djs-typescript-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.79 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
54
55
{
"name": "nino",
"version": "0.3.3",
"description": "Random waifu image discord bot",
"license": "MIT",
"scripts": {
"start": "yarn build && yarn build:watch",
"build": "tsc",
"build:watch": "yarn tsc-watch --onSuccess 'node dist/App.js'",
"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",
"test": "jest --watch",
"lint": "eslint 'src/**/*.{ts,tsx}'",
"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"
},
"dependencies": {
"date-fns": "^2.29.3",
"discord.js": "^14.8.0",
"flagsmith-nodejs": "^2.5.2",
"got": "11.8.6",
"lodash": "^4.17.21",
"mixpanel": "^0.17.0",
"pg": "^8.10.0",
"topgg-autoposter": "^2.0.1",
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/got": "^9.6.12",
"@types/jest": "^29.5.0",
"@types/lodash": "^4.14.191",
"@types/pg": "^8.6.6",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"auto": "^10.43.0",
"eslint": "^8.38.0",
"eslint-plugin-unused-imports": "^2.0.0",
"jest": "^29.5.0",
"ts-jest": "^29.0.5",
"tsc-watch": "^6.0.0",
"typescript": "^5.0.2"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/src/**/*.test.ts"
]
},
"engines": {
"node": ">=16.13.0"
}
}