-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
98 lines (98 loc) · 3.08 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": "express-ts-api-starter",
"version": "1.0.0",
"main": "dist/index.js",
"author": "Tanmay Mishu <[email protected]>",
"license": "MIT",
"scripts": {
"postinstall": "if [ -e .env ]; then echo \".env exists\"; else echo \".env not found, copying .env.example\"; cp .env.example .env; fi",
"build": "tsc",
"dev": "ts-node-dev --respawn --transpile-only -r tsconfig-paths/register src/index.ts",
"test": "export NODE_ENV=test && jest",
"start": "tsc && export NODE_ENV=production && export NODE_OPTIONS=--enable-source-maps && TS_NODE_BASEURL=./dist node -r tsconfig-paths/register dist/index.js",
"fmt": "prettier --config .prettierrc 'src/**/*.ts' 'tests/**/*.ts' --write",
"lint": "npx eslint --ext .ts src/ tests/",
"mikro-orm": "npx mikro-orm"
},
"devDependencies": {
"@swc/core": "^1.3.2",
"@swc/jest": "^0.2.22",
"@types/bcrypt": "^5.0.0",
"@types/connect-redis": "^0.0.18",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.12",
"@types/faker": "^5.5.6",
"@types/jest": "28.1.3",
"@types/jsonwebtoken": "^8.5.2",
"@types/morgan": "^1.9.2",
"@types/multer": "^1.4.6",
"@types/node": "^15.12.5",
"@types/nodemailer": "^6.4.2",
"@types/passport": "^1.0.6",
"@types/passport-jwt": "^3.0.5",
"@types/passport-local": "^1.0.34",
"@types/redis": "^4.0.11",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"eslint": "^8.0.1",
"eslint-config-standard-with-typescript": "^23.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-promise": "^6.0.0",
"faker": "^5.5.3",
"jest": "28.1.3",
"nodemon": "^2.0.9",
"prettier": "^2.3.2",
"sqlite3": "^5.0.8",
"supertest": "^6.1.3",
"ts-jest": "^28.0.7",
"ts-node": "^10.0.0",
"ts-node-dev": "^1.1.8",
"tsconfig-paths": "^3.12.0",
"typescript": "4.5.2"
},
"dependencies": {
"@bull-board/express": "^3.3.0",
"@mikro-orm/cli": "^5.5.3",
"@mikro-orm/core": "^5.5.3",
"@mikro-orm/migrations": "^5.5.3",
"@mikro-orm/postgresql": "^5.5.3",
"bcrypt": "^5.0.1",
"bullmq": "^1.37.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.1",
"connect-redis": "^6.1.1",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"date-fns": "^2.22.1",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"express-session": "^1.17.2",
"express-validator": "^6.12.0",
"ioredis": "^4.28.5",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"mongoose": "^6.0.12",
"morgan": "^1.10.0",
"multer": "^1.4.2",
"mysql2": "^2.2.5",
"nodemailer": "^6.6.2",
"passport": "^0.5.0",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"pg": "^8.7.3",
"redis": "^4.3.1",
"reflect-metadata": "^0.1.13",
"routing-controllers": "^0.9.0",
"typedi": "^0.10.0",
"winston": "^3.3.3"
},
"mikro-orm": {
"useTsNode": true,
"configPaths": [
"./src/mikro-orm.config.ts",
"./dist/mikro-orm.config.js"
]
}
}