-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.26 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
{
"scripts": {
"start": "node server.js",
"start:dev": "npx nodemon server.js",
"__comment__": "By adding --timeout 20000, the timeout limit for all the test cases will be set to 25000ms (25 seconds) since there were timeout errors of 2000s for the long CRUD operations involving file upload and same while generating nyc coverage report needed extra time...",
"test": "mocha --timeout 25000 --exit ./test/**/*.test.js",
"test:cov": "nyc --reporter html --reporter text -t coverage mocha --timeout 25000 --exit ./test/**/*.test.js"
},
"dependencies": {
"bcryptjs": "^2.4.3",
"cloudinary": "^1.37.3",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-fileupload": "^1.4.0",
"express-validator": "^7.0.1",
"jsonwebtoken": "^9.0.1",
"mongoose": "^7.3.1"
},
"devDependencies": {
"chai": "^4.3.7",
"eslint": "^8.44.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.27.5",
"mocha": "^10.2.0",
"nodemon": "^2.0.22",
"nyc": "^15.1.0",
"supertest": "^6.3.3"
},
"__comment__": "The following engines key is for render platform. It's purpose is to provide a minimum node version to the build environnment.",
"engines": {
"node": ">=14.20.1"
}
}