-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 2.89 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
100
101
102
103
104
105
{
"name": "my-brand-backend",
"version": "1.0.0",
"main": "app.js",
"scripts": {
"build": "tsc",
"test": "ts-mocha './src/**/*.spec.ts'",
"dev": "nodemon app.ts",
"start": "ts-node index.ts",
"start: prod": "NODE_ENV=production nodemon server. js",
"coverage": "nyc mocha --require ts-node/register 'src/**/*.spec.ts' --timeout 300000 --exit"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"check-coverage": true,
"all": true,
"include": [
"src/**/!(*.test.*).[tj]s?(x)"
],
"exclude": [
"src/database/**/*.*",
"src/modules/**/test/*.ts",
"src/modules/**/repository/*.ts",
"src/utils/*.ts",
"src/controllers/*.ts",
"src/routes/commentRoutes.ts",
"src/validations/*.ts"
],
"reporter": [
"html",
"lcov",
"text",
"text-summary"
],
"report-dir": "coverage",
"lines": 40
},
"license": "MIT",
"dependencies": {
"-": "^0.0.1",
"@types/chai": "^4.3.14",
"@types/mocha": "^10.0.6",
"bcryptjs": "^2.4.3",
"chai-http": "^4.4.0",
"cloudinary": "^2.0.3",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"D": "^1.0.0",
"dotenv": "^16.4.5",
"eslint-config-airbnb": "^14.1.0",
"eslint-config-loopback": "^4.0.0",
"eslint-config-prettier": "^2.0.0",
"eslint-import-resolver-babel-module": "^5.3.2",
"eslint-plugin-import": "^2.2.0",
"express": "^4.19.2",
"joi": "^17.12.2",
"jsonwebtoken": "^9.0.2",
"mongoose": "^5.13.22",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"multer-storage-cloudinary": "^4.0.0",
"nodemailer": "^6.9.13",
"nodemon": "^3.1.0",
"prettier-eslint": "^6.2.0",
"prettier-eslint-cli": "^3.4.3",
"save-dev": "^0.0.1-security",
"supertest": "^6.3.4",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.3",
"validator": "^13.11.0",
"xmlhttprequest": "^1.8.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/bcryptjs": "^2.4.6",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.6",
"@types/mongoose": "^5.11.97",
"@types/morgan": "^1.9.9",
"@types/multer": "^1.4.11",
"@types/node": "^20.11.28",
"@types/nodemailer": "^6.4.14",
"@types/sinon": "^17.0.3",
"@types/supertest": "^6.0.2",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@types/validator": "^13.11.9",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^8.57.0",
"eslint-plugin-prettier": "^5.1.3",
"extends": "@istanbuljs/nyc-config-typescript",
"mocha": "^10.4.0",
"nock": "^12.0.2",
"nyc": "^15.1.0",
"prettier": "^3.2.5",
"sinon": "^9.2.4",
"ts-mocha": "^10.0.0",
"yarn": "^1.22.22"
}
}