-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
157 lines (157 loc) · 5.32 KB
/
package.json
File metadata and controls
157 lines (157 loc) · 5.32 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
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "ppl-api",
"version": "1.0.0",
"description": "A production-ready Clean Architecture Scaffolding written in TypeScript with enterprise-grade features including MongoDB integration, OpenAPI documentation, monitoring, security middleware, dependency injection, and comprehensive testing support.",
"main": "dist/index.js",
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
},
"scripts": {
"start:prod": "NODE_ENV=production node dist/index.js",
"dev": "NODE_ENV=development nodemon",
"build": "rimraf dist && tsc",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --ci --runInBand",
"test:integration": "jest --testMatch=\"**/*.integration.test.ts\"",
"test:integration:watch": "jest --testMatch=\"**/*.integration.test.ts\" --watch",
"test:e2e": "jest --testMatch=\"**/*.spec.ts\" --runInBand",
"test:e2e:watch": "jest --testMatch=\"**/*.spec.ts\" --runInBand --watch",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\"",
"prepare": "husky install",
"security:audit": "npm audit --production --audit-level high",
"security:fix": "npm audit fix",
"clean": "rimraf dist coverage docs node_modules",
"fresh-install": "npm run clean && npm cache clean --force && npm install",
"deps:validate": "depcruise src --config .dependency-cruiser.js",
"deps:graph": "depcruise src --include-only '^src' --config .dependency-cruiser.js --output-type dot > dependency-graph.dot && (dot -T svg dependency-graph.dot > dependency-graph.svg || (echo '⚠️ Graphviz not installed. Generated only DOT file.' && exit 0))",
"docs:generate": "rimraf docs && typedoc",
"outdated": "npm outdated --depth 0",
"check-dependencies": "npm exec depcheck -y",
"artillery:run": "chmod +x tests/artillery/run-all.sh && tests/artillery/run-all.sh",
"artillery:run:dev": "npm run artillery:run dev",
"artillery:run:staging": "npm run artillery:run staging"
},
"dependencies": {
"bcryptjs": "^3.0.2",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.2",
"compression": "^1.8.0",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dotenv-safe": "^9.1.0",
"express": "^5.1.0",
"express-actuator": "^1.8.4",
"express-rate-limit": "^6.0.2",
"express-status-monitor": "^1.3.4",
"handlebars": "^4.7.8",
"helmet": "^8.1.0",
"hpp": "^0.2.3",
"http-status": "^2.1.0",
"inversify": "^7.5.1",
"ioredis": "^5.6.1",
"jsonwebtoken": "^9.0.2",
"module-alias": "^2.2.3",
"mongoose": "^8.15.0",
"morgan": "^1.10.0",
"nodemailer": "^7.0.3",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"prom-client": "^15.1.3",
"reflect-metadata": "^0.2.2",
"serve-favicon": "^2.5.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"uuid": "^11.1.0",
"winston": "^3.17.0",
"xss-clean": "^0.1.4",
"zod": "^3.25.28"
},
"devDependencies": {
"@faker-js/faker": "^9.8.0",
"@jest/globals": "^29.7.0",
"@types/compression": "^1.8.0",
"@types/cookie-parser": "^1.4.8",
"@types/cors": "^2.8.18",
"@types/dotenv-safe": "^8.1.6",
"@types/express": "^5.0.2",
"@types/express-actuator": "^1.8.3",
"@types/express-rate-limit": "^6.0.2",
"@types/express-status-monitor": "^1.3.3",
"@types/handlebars": "4.1.0",
"@types/helmet": "^4.0.0",
"@types/hpp": "^0.2.6",
"@types/ioredis": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/jsonwebtoken": "^9.0.9",
"@types/passport": "^1.0.17",
"@types/passport-jwt": "^4.0.1",
"@types/morgan": "^1.9.9",
"@types/nodemailer": "^6.4.17",
"@types/serve-favicon": "^2.5.7",
"@types/supertest": "6.0.3",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.8",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.32.1",
"@typescript-eslint/parser": "^8.32.1",
"artillery": "^2.0.23",
"axios": "^1.9.0",
"dependency-cruiser": "^16.10.2",
"eslint": "^9.27.0",
"eslint-config-prettier": "^10.1.5",
"eslint-import-resolver-typescript": "^4.3.5",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-prettier": "^5.4.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^16.0.0",
"nodemon": "^3.1.10",
"prettier": "^3.5.3",
"rimraf": "^6.0.1",
"supertest": "7.1.1",
"testcontainers": "^10.28.0",
"ts-jest": "^29.3.4",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typedoc": "^0.28.4",
"typedoc-plugin-markdown": "^4.6.3",
"typescript": "^5.8.3"
},
"private": true,
"_moduleAliases": {
"@enterprise": "src/enterprise",
"@infrastructure": "src/infrastructure",
"@application": "src/application",
"@interface": "src/interface"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
},
"keywords": [
"typescript",
"express",
"api",
"clean-architecture",
"enterprise",
"mongodb",
"nodejs"
],
"author": "Manjericao",
"license": "MIT",
"bugs": {
"url": "https://github.com/manjericao/ppl-api/issues"
},
"homepage": "https://github.com/manjericao/ppl-api#readme"
}