-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.34 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
{
"name": "combat-service-ts",
"version": "1.0.0",
"description": "TypeScript + Express API Server",
"author": "Tomas Madariaga - tomasmax",
"license": "ISC",
"scripts": {
"start": "npm run build && cross-env NODE_ENV=production node dist/server.js",
"dev": "cross-env NODE_ENV=development DEBUG=express:* nodemon",
"build": "swc src -d dist --source-maps --copy-files",
"build:tsc": "tsc && tsc-alias",
"test": "jest --verbose",
"test:coverage": "jest --collectCoverage",
"test:debug": "node --inspect node_modules/.bin/jest --watch --no-cache --runInBand",
"test:watch": "jest --watchAll",
"lint": "eslint --ignore-path .gitignore --ext .ts src/",
"lint:fix": "npm run lint -- --fix",
"deploy:prod": "npm run build && pm2 start ecosystem.config.js --only prod",
"deploy:dev": "pm2 start ecosystem.config.js --only dev"
},
"dependencies": {
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.0.1",
"envalid": "^7.3.1",
"express": "^4.18.1",
"helmet": "^5.1.1",
"hpp": "^0.2.3",
"morgan": "^1.10.0",
"swagger-jsdoc": "^6.2.1",
"swagger-ui-express": "^4.5.0",
"winston": "^3.8.1",
"winston-daily-rotate-file": "^4.7.1"
},
"devDependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "^1.2.220",
"@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/jest": "^28.1.6",
"@types/morgan": "^1.9.3",
"@types/node": "^17.0.45",
"@types/supertest": "^2.0.12",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"cross-env": "^7.0.3",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"jest": "^28.1.1",
"lint-staged": "^13.0.3",
"node-config": "^0.0.2",
"node-gyp": "^9.1.0",
"nodemon": "^2.0.19",
"pm2": "^5.2.0",
"prettier": "^2.7.1",
"supertest": "^6.2.4",
"ts-jest": "^28.0.7",
"ts-node": "^10.9.1",
"tsc-alias": "^1.7.0",
"tsconfig-paths": "^4.0.0",
"typescript": "^4.7.4"
}
}