-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 2.94 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": "smur",
"version": "1.1.0",
"description": "A ExpressJS REST API server with Socket.io, Mongodb, Redis, and Yup built-in for headstart. Check README for more info.",
"author": "Sagar Panchal <[email protected]>",
"keywords": [
"express",
"socket.io",
"mongoose",
"ioredis"
],
"license": "MIT",
"engines": {
"node": ">=14.5.0"
},
"main": "index.js",
"scripts": {
"start": "npm run development",
"dev": "npm run development",
"predevelopment": "cross-env NODE_ENV=development NODE_PATH=. DEBUG=app:* npm run lint && npm run test",
"development": "cross-env NODE_ENV=development NODE_PATH=. DEBUG=app:* INIT=0 node --trace-warnings development.js",
"prod": "npm run production",
"prod-watch": "npm run production -- --watch",
"prod-monit": "pm2 monit",
"prod-stop": "pm2 stop smur",
"preproduction": "cross-env NODE_ENV=production NODE_PATH=. DEBUG=* npm run test",
"production": "cross-env NODE_ENV=production NODE_PATH=. DEBUG= pm2 start ./index.js -n 'smur' -i max",
"lint": "eslint \"./**/**.js\"",
"format": "prettier --write \"./**/*.{js,json,yaml,md}\" && npm run lint -- --fix",
"test": "cross-env NODE_ENV=development NODE_PATH=. DEBUG=test:* jest --verbose --passWithNoTests",
"prepare": "husky install"
},
"dependencies": {
"aws-sdk": "^2.912.0",
"bcryptjs": "^2.4.3",
"bson": "^4.4.0",
"chalk": "^4.1.1",
"compression": "^1.7.4",
"config": "^3.3.6",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"debug": "^4.3.1",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"fs-extra": "^10.0.0",
"helmet": "^4.6.0",
"html-minifier": "^4.0.0",
"ioredis": "^4.27.3",
"ioredis-lock": "^4.0.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"luxon": "^1.27.0",
"mime": "^2.5.2",
"moment": "^2.29.1",
"mongoose": "^5.12.10",
"morgan": "^1.10.0",
"multer": "^1.4.2",
"multer-s3": "^2.9.0",
"nanoclone": "^1.0.0",
"nodemailer": "^6.6.0",
"open": "^8.1.0",
"passport": "^0.4.1",
"passport-facebook": "^3.0.0",
"passport-google-oauth20": "^2.0.0",
"passport-oauth2": "^1.5.0",
"pm2": "^5.1.1",
"pug": "^3.0.2",
"sharp": "^0.28.2",
"socket.io": "^4.1.2",
"socket.io-redis": "^6.1.1",
"swagger-ui-express": "^4.1.6",
"uuid": "^8.3.2",
"winston": "^3.3.3",
"winston-mongodb": "^5.0.7",
"winston-transport": "^4.4.0",
"yup": "^0.32.9"
},
"devDependencies": {
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-recommended": "^4.1.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^6.0.0",
"jest": "^28.1.0",
"lint-staged": "^12.4.1",
"nodemon": "2.0.7",
"prettier": "^2.3.0"
},
"lint-staged": {
"*.{js,json,yaml,md}": [
"prettier --write"
],
"*.js": [
"eslint --fix"
]
}
}