-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.73 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 2.73 KB
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
{
"name": "sinux-boilerplate",
"version": "1.0.0",
"description": "Sinux Boilerplate - Express.js + TypeScript + MongoDB Backend Boilerplate",
"main": "dist/server.js",
"scripts": {
"dev": "nodemon src/server.ts",
"build": "tsc",
"start": "node dist/server.js",
"start:pm2": "pm2 start ecosystem.config.js",
"stop:pm2": "pm2 stop ecosystem.config.js",
"restart:pm2": "pm2 restart ecosystem.config.js",
"delete:pm2": "pm2 delete ecosystem.config.js",
"logs:pm2": "pm2 logs sinux-boilerplate",
"monit:pm2": "pm2 monit",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"test": "jest --coverage",
"test:watch": "jest --watch",
"prepare": "husky install",
"commit": "bash commit-helper.sh",
"commit:check": "echo 'Testing commit message...' && echo 'feat: test message' | npx commitlint",
"changelog": "npx conventional-changelog -p angular -i CHANGELOG.md -s",
"version:patch": "npm version patch -m 'chore: release v%s'",
"version:minor": "npm version minor -m 'chore: release v%s'",
"version:major": "npm version major -m 'chore: release v%s'"
},
"keywords": [
"express",
"typescript",
"mongodb",
"mongoose",
"rest-api"
],
"author": "",
"license": "ISC",
"dependencies": {
"@aws-sdk/client-s3": "^3.478.0",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-rate-limit": "^7.1.5",
"express-validator": "^7.0.1",
"helmet": "^7.1.0",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.0.0",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"multer-s3": "^3.0.1",
"sharp": "^0.33.0",
"uuid": "^9.0.1"
},
"devDependencies": {
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@types/bcryptjs": "^2.4.6",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.10",
"@types/jsonwebtoken": "^9.0.5",
"@types/morgan": "^1.9.9",
"@types/multer": "^1.4.11",
"@types/multer-s3": "^3.0.3",
"@types/node": "^20.10.0",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"conventional-changelog-cli": "^4.1.0",
"eslint": "^8.54.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"nodemon": "^3.0.2",
"pm2": "^5.3.0",
"prettier": "^3.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.2"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
}
}