-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
77 lines (77 loc) · 2.13 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
{
"name": "mikro-orm-nest-ts-example",
"version": "0.0.1",
"description": "Example integration of MikroORM into Nest (in typescript)",
"author": "Martin Adamek",
"license": "MIT",
"scripts": {
"format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "nodemon",
"start:debug": "nodemon --config nodemon-debug.json",
"prestart:prod": "rimraf dist && tsc",
"start:prod": "node dist/main.js",
"start:hmr": "node dist/server",
"lint": "tslint -p tsconfig.json -c tslint.json",
"test": "jest --runInBand",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:e2e": "jest --config ./test/jest-e2e.json",
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@mikro-orm/core": "^6.1.0",
"@mikro-orm/mysql": "^6.1.0",
"@mikro-orm/nestjs": "^6.0.0",
"@mikro-orm/reflection": "^6.1.0",
"@mikro-orm/sql-highlighter": "^1.0.1",
"@nestjs/common": "^10.3.1",
"@nestjs/core": "^10.3.1",
"@nestjs/platform-express": "^10.3.1",
"reflect-metadata": "^0.2.0",
"rxjs": "^7.8.1",
"typescript": "^5.3.3"
},
"devDependencies": {
"@mikro-orm/cli": "^6.1.0",
"@nestjs/testing": "^10.3.1",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.16",
"@types/supertest": "^6.0.2",
"jest": "^29.7.0",
"nodemon": "^3.0.3",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"supertest": "^7.0.0",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tslint": "6.1.3",
"webpack": "^5.90.1",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"mikro-orm": {
"useTsNode": true,
"configPaths": [
"./src/mikro-orm.config.ts",
"./dist/mikro-orm.config.js"
]
}
}