-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 2.61 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
{
"name": "bet_backend",
"version": "1.0.0",
"main": "index.js",
"repository": "[email protected]:CajaCodes/bet_backend.git",
"author": "DanielDDHM <[email protected]>",
"license": "MIT",
"dependencies": {
"@prisma/client": "^3.14.0",
"axios": "^0.27.2",
"babel-jest": "^28.1.1",
"bcryptjs": "^2.4.3",
"body-parser": "^1.20.0",
"bull": "^4.8.3",
"cors": "^2.8.5",
"cron": "^2.0.0",
"docker": "^1.0.0",
"dotenv": "^16.0.1",
"eslint": "^8.16.0",
"express": "^4.18.1",
"express-async-errors": "^3.1.1",
"fs": "^0.0.1-security",
"https": "^1.0.0",
"husky": "^8.0.1",
"ioredis": "^5.0.6",
"jest": "^28.1.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"node-cmdline-parser": "^1.0.2",
"prettier": "^2.6.2",
"prisma": "^3.14.0",
"promise": "^8.1.0",
"run": "^1.4.0",
"swagger-ui-express": "^4.4.0",
"ts-jest": "^28.0.4",
"ts-node": "^10.8.0",
"ts-node-dev": "^1.1.8",
"typescript": "^4.6.4",
"uuid": "^8.3.2",
"zod": "^3.17.3"
},
"devDependencies": {
"@babel/core": "^7.18.5",
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@types/bcryptjs": "^2.4.2",
"@types/bull": "^3.15.8",
"@types/cors": "^2.8.12",
"@types/cron": "^2.0.0",
"@types/express": "^4.17.13",
"@types/ioredis": "^4.28.10",
"@types/jest": "^28.1.2",
"@types/jsonwebtoken": "^8.5.8",
"@types/mocha": "^9.1.1",
"@types/morgan": "^1.9.3",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"cross-env": "^7.0.3"
},
"scripts": {
"build": "rimraf ./build && tsc",
"start": "npm run build && node build/app.js",
"dev": "cross-env NODE_ENV=DEV ts-node-dev --exit-child --transpile-only --ignore-watch node_modules src/app.ts",
"dev:test": "cross-env NODE_ENV=TEST PORT=4000 DATABASE_URL='mongodb+srv://admin:[email protected]/betdbtest?retryWrites=true&w=majority' AUTH_SECRET=Q3VyaW9zaWRhZGUgTWF0b3UgbyBHYXRv ts-node-dev --exit-child --transpile-only --ignore-watch node_modules src/app.ts",
"push:test": "cross-env DATABASE_URL='mongodb+srv://admin:[email protected]/betdbtest?retryWrites=true&w=majority' yarn prisma db push",
"lint": "eslint --ext js,ts src",
"lint:fix": "eslint --ext js,ts src --fix",
"prepare": "husky install",
"test": "cross-env NODE_ENV=TEST DATABASE_URL='mongodb+srv://admin:[email protected]/betdbtest?retryWrites=true&w=majority' AUTH_SECRET=Q3VyaW9zaWRhZGUgTWF0b3UgbyBHYXRv jest -i"
}
}