-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
111 lines (111 loc) · 3.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
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
{
"name": "express-mongo-typescript-boilerplate",
"version": "1.0.0",
"description": "NodeJS + Express + MongoDB + Typescript boilerplate for RESTful API",
"main": "src/index.ts",
"scripts": {
"build": "tsc && tsc-alias",
"start": "node build/index.js",
"start:local": "cross-env NODE_ENV=production && yarn build && yarn start",
"dev": "chmod +x ./scripts/dev.sh && ./scripts/dev.sh",
"dev:server": "cross-env NODE_ENV=development nodemon",
"dev:ts": "ts-node -r tsconfig-paths/register --transpile-only src/index.ts",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint --ext js,ts src/",
"lint:fix": "eslint --fix --ext js,ts src/",
"prettier": "prettier --check \"src/**/(*.ts|*.js)\"",
"prettier:fix": "prettier --write \"src/**/(*.ts|*.js)\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/quinhatpy/node-express-mongo-typescript-boilerplate.git"
},
"keywords": [
"NodeJS",
"Express",
"MongoDB",
"Typescript",
"RESTful",
"API"
],
"author": "Le Qui Nhat",
"license": "ISC",
"bugs": {
"url": "https://github.com/quinhatpy/node-express-mongo-typescript-boilerplate/issues"
},
"homepage": "https://github.com/quinhatpy/node-express-mongo-typescript-boilerplate#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,ts}": [
"eslint --fix"
],
"**/*.{json,md}": [
"prettier --write"
]
},
"dependencies": {
"bcrypt": "^5.0.1",
"compression": "^1.7.4",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"envalid": "^7.1.0",
"express": "^4.17.1",
"express-mongo-sanitize": "^2.0.2",
"express-rate-limit": "^5.2.6",
"helmet": "^4.5.0",
"http-status": "^1.5.0",
"joi": "^17.4.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"mongoose": "^5.12.4",
"morgan": "^1.10.0",
"multer": "^1.4.2",
"types-joi": "^2.1.0",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/bcrypt": "^3.0.1",
"@types/compression": "^1.7.0",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.10",
"@types/express": "^4.17.11",
"@types/express-mongo-sanitize": "^1.3.2",
"@types/express-rate-limit": "^5.1.1",
"@types/helmet": "^4.0.0",
"@types/jsonwebtoken": "^8.5.1",
"@types/lodash": "^4.14.168",
"@types/moment": "^2.13.0",
"@types/morgan": "^1.9.2",
"@types/multer": "^1.4.5",
"@types/node": "^14.14.41",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"chalk": "^4.1.0",
"cross-env": "^7.0.3",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.2.0",
"eslint-config-standard": "^16.0.2",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"nodemon": "^2.0.7",
"prettier": "^2.2.1",
"ts-node": "^9.1.1",
"tsc-alias": "^1.2.9",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.2.4"
}
}