-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
133 lines (133 loc) · 4.31 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "typesafe-ts-express-api-mongoose",
"version": "0.0.0",
"description": "Express + TypeScript + Mongoose + MongoDB ╰┈➤ Boilerplate",
"author": "Justin Dah-kenangnon <[email protected]>",
"license": "MIT",
"scripts": {
"dev": "yarn prettier:write && cross-env NODE_ENV=development nodemon",
"start:dev": "yarn build && cross-env NODE_ENV=development && pm2 start ecosystem.config.js",
"prod:start": "yarn build && cross-env NODE_ENV=production && pm2 start ecosystem.config.js",
"prod:restart": "yarn build && cross-env NODE_ENV=production && pm2 restart ecosystem.config.js",
"build": "swc src -d dist --source-maps --copy-files",
"deploy": "yarn install && yarn prettier:check && yarn prod:restart",
"lint": "eslint 'src/**/*.{js,ts}' --ignore-path .gitignore --quiet --fix",
"lint:fix": "yarn lint -- --fix",
"prepare": "husky install",
"precommit": "lint-staged",
"prettier:base": "prettier --parser typescript --single-quote",
"prettier:check": "yarn prettier:base -- --list-different \"src/**/*.{ts,tsx}\"",
"prettier:write": "yarn prettier:base -- --write \"src/**/*.{ts,tsx}\"",
"test": "jest --coverage",
"cm": "git add . && cz"
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true",
"pre-commit": "yarn prettier:write && yarn precommit"
}
},
"lint-staged": {
"*.ts": [
"yarn lint"
]
},
"keywords": [
"express",
"typescript",
"mongoose",
"postgres",
"boilerplate",
"starter-template",
"starter",
"starter-kit",
"mongodb",
"typesafe-ts-express-api-mongoose",
"expressjs"
],
"dependencies": {
"bcrypt": "^5.0.1",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"helmet": "^5.1.1",
"hpp": "^0.2.3",
"http-status": "^1.6.2",
"i18n": "^0.15.1",
"joi": "^17.9.2",
"jsonwebtoken": "^9.0.2",
"moment": "^2.29.4",
"mongodb": "^6.1.0",
"mongoose": "^7.5.3",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"node-schedule": "^2.1.1",
"nodemailer": "^6.9.3",
"passport": "^0.6.0",
"passport-jwt": "^4.0.1",
"pug": "^3.0.2",
"reflect-metadata": "^0.1.13",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0",
"tslib": "^2.6.2",
"typedi": "^0.10.0",
"validator": "^13.11.0",
"winston": "^3.8.1",
"winston-daily-rotate-file": "^4.7.1"
},
"devDependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "^1.2.220",
"@types/bcrypt": "^5.0.0",
"@types/compression": "^1.7.2",
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/hpp": "^0.2.2",
"@types/i18n": "^0.13.6",
"@types/jest": "^29.5.11",
"@types/jsonwebtoken": "^9.0.3",
"@types/mock-fs": "^4.13.4",
"@types/morgan": "^1.9.3",
"@types/multer": "^1.4.8",
"@types/node": "^16.11.10",
"@types/node-schedule": "^2.1.0",
"@types/nodemailer": "^6.4.8",
"@types/passport": "^1.0.12",
"@types/passport-jwt": "^3.0.9",
"@types/pug": "^2.0.6",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui-express": "^4.1.4",
"@types/validator": "^13.11.2",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"commitizen": "^4.3.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.50.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-prettier": "5.0.0",
"husky": "^8.0.0",
"jest": "^29.7.0",
"jest-mock-extended": "^3.0.5",
"lint-staged": "^15.2.0",
"mocha": "^10.2.0",
"mock-fs": "^5.2.0",
"nodemon": "^3.0.1",
"nyc": "^15.1.0",
"prettier": "^3.0.3",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsc-alias": "^1.7.0",
"tsconfig-paths": "^4.0.0",
"typescript": "^5.3.3"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}