-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 3.25 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
{
"name": "xmartlabs-node-template",
"version": "1.0.0",
"description": "Base template for starting a new Node project",
"main": "src/index.ts",
"scripts": {
"start": "npm run build && nodemon",
"start-server": "ts-node -r dotenv/config -r tsconfig-paths/register .",
"start-worker": "ts-node -r dotenv/config -r tsconfig-paths/register ./worker/worker.ts",
"test": "dotenv -e .env.test -- npx prisma migrate deploy && tsoa spec-and-routes && dotenv -e .env.test -- jest ./src --verbose --maxWorkers=50%",
"lint": "npx eslint src --ext .ts",
"build": "tsoa spec-and-routes && tsc --project tsconfig.json",
"deploy": "prisma migrate deploy && concurrently \"npm run deploy-server\" \"npm run deploy-worker\"",
"deploy-server": "TS_NODE_BASEURL=./dist/src node -r dotenv/config -r tsconfig-paths/register dist/src/index.js",
"deploy-worker": "TS_NODE_BASEURL=./dist/src node -r dotenv/config -r tsconfig-paths/register dist/worker/worker.js",
"format": "prettier --write ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/xmartlabs/node-template.git"
},
"keywords": [
"node",
"template",
"express",
"prisma"
],
"author": "Xmartlabs",
"license": "ISC",
"bugs": {
"url": "https://github.com/xmartlabs/node-template/issues"
},
"homepage": "https://github.com/xmartlabs/node-template#readme",
"devDependencies": {
"@faker-js/faker": "^8.0.2",
"@types/bcryptjs": "^2.4.2",
"@types/body-parser": "^1.19.2",
"@types/compression": "^1.7.2",
"@types/cors": "^2.8.12",
"@types/cross-spawn": "^6.0.6",
"@types/express": "^4.17.13",
"@types/jest": "^29.5.3",
"@types/jsonwebtoken": "^9.0.2",
"@types/morgan": "^1.9.3",
"@types/node": "^18.17.1",
"@types/node-cron": "^3.0.8",
"@types/nodemailer": "^6.4.9",
"@types/pug": "^2.0.6",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.44.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.6.1",
"prettier": "^3.1.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.2.1",
"typescript": "^5.1.6"
},
"dependencies": {
"@prisma/client": "^5.5.2",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.2",
"bullmq": "^4.13.2",
"compression": "^1.7.4",
"concurrently": "^8.2.0",
"cors": "^2.8.5",
"cross-spawn": "^7.0.3",
"date-fns": "^2.30.0",
"dotenv": "^16.0.0",
"dotenv-cli": "^7.3.0",
"express": "^4.17.1",
"express-rate-limit": "^7.1.5",
"helmet": "^7.0.0",
"http-status": "^1.5.0",
"ioredis": "^5.3.2",
"ioredis-mock": "^8.9.0",
"jest-mock-extended": "^3.0.4",
"jest-node-exports-resolver": "^1.1.5",
"jsonwebtoken": "^9.0.1",
"morgan": "^1.10.0",
"node-cron": "^3.0.2",
"nodemailer": "^6.9.4",
"nodemon": "^3.0.1",
"prisma": "^5.5.2",
"pug": "^3.0.2",
"rate-limit-redis": "^4.2.0",
"swagger-ui-express": "^5.0.0",
"tsconfig-paths": "^4.1.2",
"tsoa": "^5.1.1",
"winston": "^3.6.0",
"zod": "^3.22.4"
}
}