/
package.json
53 lines (53 loc) · 1.22 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-bot",
"version": "1.0.0",
"main": "dist/index.js",
"author": "Danilo Miranda",
"license": "MIT",
"scripts": {
"lint": "yarn eslint . --ext .js,.jsx,.ts,.tsx",
"dev": "node dist/index.js",
"postinstall": "tsc --build",
"watch": "rm -rf dist && tsc-watch --onSuccess 'yarn dev'",
"start": "node dist/index.js"
},
"dependencies": {
"ascii-table": "^0.0.9",
"discord.js": "^12.5.1",
"dotenv": "^8.2.0",
"jsdom": "^16.5.1",
"knex": "^0.95.4",
"node-fetch": "^2.6.1",
"pg": "^8.5.1"
},
"devDependencies": {
"@types/jsdom": "^16.2.7",
"@types/node": "^14.14.36",
"@types/node-fetch": "^2.5.8",
"@types/pg": "^7.14.11",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"eslint": "^7.22.0",
"husky": "4",
"lint-staged": ">=10",
"prettier": "2.2.1",
"simple-git-hooks": ">=2.0.3",
"ts-node": "^9.1.1",
"tsc-watch": "^4.2.9",
"typescript": "^4.2.3"
},
"engines": {
"node": "12.x",
"yarn": "1.x"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix --max-warnings=0"
]
}
}