-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
99 lines (99 loc) · 2.97 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
97
98
99
{
"name": "coordonate-backend",
"version": "1.0.0",
"main": "index.js",
"author": "abreham-atlaw, aklile-yilma, joshua-tesfaye",
"license": "MIT",
"dependencies": {
"@types/config": "^3.3.0",
"@types/dotenv-safe": "^8.1.2",
"@types/express": "^4.17.17",
"@types/express-session": "^1.17.7",
"@types/jsonwebtoken": "^9.0.2",
"@types/multer": "^1.4.7",
"@types/node": "^18.16.3",
"@types/nodemailer": "^6.4.10",
"@types/socket.io": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"aws-sdk": "^2.1457.0",
"bcryptjs": "^2.4.3",
"body-parser": "^1.20.2",
"cloudinary": "^1.40.0",
"config": "^3.3.9",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"dotenv-safe": "^8.2.0",
"envalid": "^7.3.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"express": "^4.18.2",
"express-session": "^1.17.3",
"express-validator": "^7.0.1",
"husky": "^8.0.3",
"jsonwebtoken": "^9.0.0",
"multer": "^1.4.5-lts.1",
"nodemailer": "^6.9.5",
"nodemon": "^2.0.22",
"passport": "^0.6.0",
"passport-google-oauth20": "^2.0.0",
"pg": "^8.10.0",
"reflect-metadata": "^0.1.13",
"socket.io": "^4.7.2",
"ts-node": "^10.9.1",
"typeorm": "^0.3.16",
"typescript": "^5.0.4",
"zod": "^3.21.4"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.13",
"@types/jest": "^29.5.1",
"@types/morgan": "^1.9.4",
"@types/passport-google-oauth20": "^2.0.11",
"eslint": "^8.39.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-node": "^4.1.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.5.0",
"lint-staged": "^13.2.2",
"morgan": "^1.10.0",
"prettier": "^2.8.8",
"ts-jest": "^29.1.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --single-quote --write",
"git add"
]
},
"scripts": {
"start": "ts-node-dev --respawn --transpile-only --exit-child src/index.ts",
"build": "tsc -p .",
"dev": "nodemon ./src/index.ts",
"test": "jest",
"test:unit": "jest unit",
"test:int": "jest int",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"prepare": "husky install",
"lint-staged": "lint-staged",
"typeorm": "typeorm-ts-node-commonjs",
"migrate": "rm -rf build && yarn build && yarn typeorm migration:generate ./src/migrations/added-entity -d ./src/utils/data-source.ts",
"db:push": "rm -rf build && yarn build && yarn typeorm migration:run -d src/utils/data-source.ts"
}
}