-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 2.33 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "cram_support",
"version": "1.0.0",
"description": "Support bot for cram/account related questions on the Fiveable Discord server",
"main": "dist/index.js",
"scripts": {
"build": "npx rimraf dist/ && tsc",
"lint": "npx eslint src --ext .js,.ts",
"lint:fix": "npm run lint -- --fix",
"start": "node -r dotenv/config dist/index.js",
"dev": "npm run build && npm start",
"deploy": "heroku container:push worker --app=fiveable-cram-support-bot && heroku container:release worker --app=fiveable-cram-support-bot"
},
"author": "Zaid (Nico)",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^12.0.1",
"@commitlint/config-angular": "^12.0.1",
"@types/common-tags": "^1.8.0",
"@types/mongoose": "^5.10.3",
"@types/node-fetch": "^2.5.10",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.24.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"typescript": "^4.2.3"
},
"dependencies": {
"common-tags": "^1.8.0",
"discord-akairo": "^8.1.0",
"discord.js": "^12.5.1",
"dotenv": "^8.2.0",
"email-validator": "^2.0.4",
"mongoose": "^5.11.15",
"node-fetch": "^2.6.1",
"tslib": "^1.14.1"
},
"prettier": {
"printWidth": 110,
"tabWidth": 4,
"useTabs": true,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"arrowParens": "always",
"proseWrap": "always",
"endOfLine": "auto"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"build": "npm run build",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --fix"
},
"commitlint": {
"extends": [
"@commitlint/config-angular"
],
"rules": {
"scope-case": [
2,
"always",
"pascal-case"
],
"type-enum": [
2,
"always",
[
"chore",
"build",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test",
"types",
"wip"
]
]
}
}
}