-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·119 lines (119 loc) · 3.53 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "app",
"version": "0.4.2",
"private": true,
"scripts": {
"test": "mocha modules/**/tests/*.js",
"test:watch": "nodemon --watch modules/**/*.js --exec \"npm test\"",
"pretest": "npm run lint",
"format:write": "prettier --write **/*.{json,md} !package.json",
"format:test": "prettier **/*.{json,md} --list-different",
"start": "nodemon --inspect .",
"start:prod": "pm2 start ecosystem.config.js",
"stop": "pm2 stop all",
"restart": "pm2 restart all",
"lint": "eslint .",
"watch": "watch 'npm run lint && npm test' -d -u -p /^node_modules/ .",
"release:major": "release-it major",
"release:minor": "release-it minor",
"release:patch": "release-it patch",
"webdash": "webdash serve",
"generate:module": "plop module",
"generate:certs": "scripts/generate-ssl-certs.sh",
"postinstall": "node ./scripts/install-dependencies.js",
"npm:update": "./scripts/update.js --cmd=npm-update",
"npm:audit": "./scripts/update.js --cmd=npm-audit",
"npm:audit:fix": "./scripts/update.js --cmd=npm-audit-fix",
"git:pull": "./scripts/update.js --cmd=git-pull --only=git",
"git:commit": "./scripts/update.js --cmd=git-commit --only=git",
"git:status": "./scripts/update.js --cmd=git-status --only=git",
"git:revert": "./scripts/update.js --cmd=git-revert --only=git"
},
"engines": {
"node": ">=10"
},
"dependencies": {
"@sendgrid/mail": "^7.1.0",
"ajv": "^6.12.2",
"ajv-errors": "^1.0.1",
"app-module-path": "^2.2.0",
"body-parser": "^1.19.0",
"chalk": "^4.0.0",
"compression": "^1.7.4",
"connect-flash": "^0.1.1",
"connect-mongo": "^3.2.0",
"cookie-parser": "^1.4.5",
"debug": "^4.1.1",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-session": "^1.17.1",
"file-stream-rotator": "^0.5.7",
"generate-password": "^1.5.1",
"glob": "^7.1.6",
"helmet": "^3.22.0",
"i18next": "^19.4.4",
"i18next-express-middleware": "^2.0.0",
"i18next-node-fs-backend": "^2.1.3",
"leboncoin-api": "0.0.40",
"lodash": "^4.17.15",
"method-override": "^3.0.0",
"mongoose": "^5.9.11",
"morgan": "^1.10.0",
"nodemailer": "^6.4.6",
"nunjucks": "^3.2.1",
"owasp-password-strength-test": "^1.3.0",
"passport": "^0.4.1",
"passport-local": "^1.0.0",
"path-to-regexp": "^6.1.0",
"socket.io": "^2.3.0",
"socket.io-redis": "^5.2.0",
"twilio": "^3.43.0",
"validator": "^13.0.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"**/*.{json,md}": [
"prettier --write",
"git add"
]
},
"main": "./app",
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"husky": "^4.2.5",
"lint-staged": "^10.2.1",
"mocha": "^7.2.0",
"mochawesome-report-generator": "^5.1.0",
"nodemon": "^2.0.3",
"ora": "^4.0.4",
"plop": "^2.6.0",
"pm2": "^4.4.0",
"prettier": "^2.0.5",
"release-it": "^13.5.7",
"should": "^13.2.3",
"sinon": "^9.0.2",
"supertest": "^4.0.2",
"watch": "^1.0.2"
},
"optionalDependencies": {
"fsevents": "^2.1.3"
},
"husky": {
"hooks": {
"post-merge": "npm i --unsafe-perm",
"pre-commit": "lint-staged && npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}