-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
37 lines (37 loc) · 1.26 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
{
"type": "module",
"lint-staged": {
"*.ts": "eslint --cache --fix",
"*.{ts,css,md}": "prettier --write"
},
"scripts": {
"prepare": "husky install",
"lint": "eslint --cache --fix src",
"prettier": "prettier --write src",
"compile": "tsc && npm run copy",
"clean": "rimraf dist/",
"copy": "npx copyfiles -u 1 src/.env src/**/*.json dist/",
"build": "npm run lint && npm run prettier && npm run clean && npm run compile",
"start": "npx copyfiles -u 1 src/.env src/**/*.json dist/ && cd dist && node . && cd ..",
"dev": "npm run clean && tsc-watch --onSuccess \"npm run start\"",
"prod": "npm run build && npm run start"
},
"dependencies": {
"@discordjs/rest": "^2.0.1",
"discord.js": "^14.13.0",
"dotenv": "^16.3.1"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.1",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"prettier": "^3.0.2",
"typescript": "^5.1.6",
"rimraf": "^5.0.1",
"tsc-watch": "^6.0.4"
}
}