-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.33 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": "secure-node-jwt",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"seed": "node seed.js",
"clean": "node clean.js",
"fresh": "npm run clean && npm run seed",
"test:unit": "cross-env NODE_ENV=test jest --coverage",
"mocha": "cross-env NODE_ENV=test nyc mocha --timeout=50000 --exit",
"test:e2e": "cross-env NODE_ENV=test npm run fresh && npm run mocha",
"test": "npm run coverage:clean && npm run test:unit && npm run test:e2e && npm run coverage",
"dev": "export NODE_ENV=dev && nodemon -r dotenv/config src/server.js",
"start": "cross-env NODE_ENV=prod node -r dotenv/config src/server.js",
"prettier": "prettier --write --config .prettierrc.json \"**/*.js\"",
"lint": "eslint --fix --config .eslintrc.json \"**/*.js\"",
"coverage": "npm run coverage:merge && npm run coverage:merge-report",
"coverage:clean": "rm -rf .nyc_output && rm -rf coverage",
"coverage:merge": "istanbul-merge --out coverage/merged/coverage-final.json ./coverage/unit/coverage-final.json ./coverage/e2e/coverage-final.json",
"coverage:merge-report": "nyc report --reporter=lcov --reporter=text --reporter=json --temp-dir=./coverage/merged --report-dir=./coverage/merged"
},
"keywords": [
"node.js",
"express",
"jwt",
"authentication",
"mongodb"
],
"author": "",
"license": "ISC",
"dependencies": {
"bcrypt": "^5.0.1",
"colors": "^1.4.0",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"date-fns": "^2.28.0",
"dotenv": "^11.0.0",
"dotenv-safe": "^8.2.0",
"ejs": "^3.1.6",
"express": "^4.17.2",
"express-validator": "^6.14.0",
"faker": "^6.6.6",
"i18n": "^0.14.0",
"jsonwebtoken": "^8.5.1",
"mocha": "^9.2.0",
"mongoose": "^6.4.6",
"mongoose-paginate-v2": "^1.5.0",
"morgan": "^1.10.0",
"nodemailer": "^6.7.2",
"nodemailer-mailgun-transport": "^2.1.3",
"passport": "^0.5.2",
"passport-jwt": "^4.0.0",
"pm2": "^5.2.0",
"request-ip": "^2.1.3",
"trim-request": "^1.0.6",
"uuid": "^8.3.2",
"validator": "^13.7.0"
},
"devDependencies": {
"@faker-js/faker": "^6.0.0-alpha.7",
"chai": "^4.3.6",
"chai-http": "^4.3.0",
"jest": "^27.5.1",
"mongo-seeding": "^3.7.1",
"nodemon": "^2.0.15",
"nyc": "^15.1.0"
},
"engines": {
"node": "16.14.0"
}
}