-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
62 lines (62 loc) · 1.7 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
{
"scripts": {
"start": "node ./build/src/index.js",
"build:prisma": "npx prisma format && npx prisma generate && npx prisma db push",
"build": "tsc && tsc-alias && npm run web:build",
"start:local": "pm2 start ./build/src/index.js --name betrayal-bot",
"dev": "nodemon src/index.ts",
"lint": "eslint . --ext .ts",
"typecheck": "tsc --noEmit",
"test": "jest",
"fullcheck": "npm run lint && npm run typecheck",
"fullcheck:watch": "nodemon --watch 'src/**/*.ts' --exec 'npm run fullcheck'",
"test:db": "nodemon src/tests/database.ts",
"web:build": "cd web && npm run build",
"web:dev": "cd web && npm run dev",
"web:lint": "cd web && npm run lint",
"web:preview": "cd web && npm run preview"
},
"dependencies": {
"@prisma/client": "^5.7.1",
"axios": "^1.6.8",
"cors": "^2.8.5",
"discord.js": "^14.11.0",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"fast-average-color-node": "^2.6.0",
"pg": "^8.11.3",
"string-similarity": "^4.0.4",
"zod": "^3.22.1"
},
"devDependencies": {
"@faker-js/faker": "^8.1.0",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^20.4.2",
"@types/pg": "^8.10.5",
"@types/string-similarity": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"eslint": "^8.48.0",
"jest": "^29.7.0",
"prisma": "^5.7.1",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.1",
"tsc-alias": "^1.8.8",
"tsconfig-paths": "^4.2.0"
},
"nodemonConfig": {
"ignore": [
"**/*.test.ts",
"**/*.spec.ts",
".git",
"node_modules"
],
"watch": [
"src"
],
"exec": "node -r tsconfig-paths/register -r ts-node/register ./src/index.ts",
"ext": "ts, js"
}
}