-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.66 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
{
"name": "shopping-cart-server",
"version": "1.0.0",
"description": "backend API to integrate to the shopping cart",
"main": "index.js",
"repository": "[email protected]:abdojulari/shopping-cart-server.git",
"author": "Abdul Ojulari <[email protected]>",
"license": "MIT",
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/compression": "^1.7.3",
"@types/cors": "^2.8.14",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.11",
"@types/morgan": "^1.9.5",
"@types/node": "^20.5.9",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.4",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"tsc-watch": "^6.0.4",
"typescript": "^5.2.2"
},
"scripts": {
"dev": "ts-node-dev --respawn --transpile-only ./src/index.ts",
"start": "node dist/index.js",
"build": "tsc -p .",
"postinstall": "yarn run build",
"test": "jest --detectOpenHandles",
"generate-swagger": "ts-node ./swagger.ts",
"lint": "eslint . --fix"
},
"dependencies": {
"@types/multer": "^1.4.11",
"@types/passport-facebook": "^3.0.3",
"@types/passport-google-oauth": "^1.0.45",
"@types/passport-jwt": "^4.0.0",
"@types/passport-local": "^1.0.38",
"@types/supertest": "^2.0.12",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui-express": "^4.1.3",
"bcrypt": "^5.1.1",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"envalid": "^8.0.0",
"express": "^4.18.2",
"helmet": "^7.0.0",
"jest": "^29.6.4",
"joi": "^17.11.0",
"json-web-token": "^3.2.0",
"module-alias": "^2.2.3",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"nodemon": "^3.0.1",
"passport": "^0.7.0",
"passport-facebook": "^3.0.0",
"passport-google-oauth": "^2.0.0",
"passport-google-oauth20": "^2.0.0",
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"pg": "^8.11.3",
"pg-hstore": "^2.3.4",
"sequelize": "^6.32.1",
"supertest": "^6.3.3",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0",
"ts-jest": "^29.1.1"
},
"_moduleAliases": {
"@/resources": "resources/*",
"@/utils/*": "utils/*",
"@/middleware/*": "middleware/*"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"tsconfig": "tsconfig.json"
}
]
},
"testMatch": [
"**/*.+(test.ts|test.tsx|test.js)"
],
"preset": "ts-jest"
}
}