-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 3.62 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
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "vincelivemix",
"version": "0.0.2",
"description": "",
"author": "",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
"lint:fix": "npm rum lint -- --fix",
"prettier": "prettier -l '{src,test}/**/*.{ts,yml,yaml,json,md}'",
"prettier:write": "prettier --write '{src,test}/**/*.{ts,yml,yaml,json,md}'",
"test": "npm run lint && npm run test:unit && npm run test:e2e",
"test:unit": "LOGGER_LEVEL=FATAL jest",
"test:unit:cov": "npm run test:unit -- --coverage",
"test:watch": "jest --watch",
"test:cov": "npm run lint && npm run test:unit:cov && npm run test:e2e:cov",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "LOGGER_LEVEL=FATAL jest --config ./test/jest-e2e.json --runInBand",
"test:e2e:cov": "npm run test:e2e -- --coverage",
"typeorm:dev": "typeorm-ts-node-commonjs -d src/config/typeorm-cli.config.ts",
"typeorm:prod": "./node_modules/typeorm/cli.js -d dist/config/typeorm-cli.config.js",
"migration:generate": "npm run typeorm:dev migration:generate -- -n",
"migration:create": "npm run typeorm:dev migration:create -- -n",
"migration:run": "npm run typeorm:dev migration:run",
"migration:run:prod": "npm run typeorm:prod migration:run"
},
"dependencies": {
"@nestjs/common": "9.4.3",
"@nestjs/core": "9.4.3",
"@nestjs/jwt": "^10.0.0",
"@nestjs/passport": "^9.0.0",
"@nestjs/platform-express": "9.4.3",
"@nestjs/typeorm": "9.0.1",
"bcrypt": "^5.0.0",
"class-transformer": "0.5.1",
"class-validator": "0.14.0",
"dotenv": "16.3.1",
"feed": "4.2.2",
"multer": "1.4.4",
"nest-winston": "1.9.4",
"pg": "8.11.3",
"reflect-metadata": "0.1.14",
"rimraf": "5.0.5",
"rxjs": "7.8.1",
"typeorm": "0.3.17",
"uuid": "9.0.1",
"winston": "3.11.0",
"xmlbuilder2": "3.1.1"
},
"devDependencies": {
"@nestjs/cli": "9.5.0",
"@nestjs/schematics": "9.2.0",
"@nestjs/testing": "9.4.3",
"@types/bcrypt": "^5.0.0",
"@types/express": "^5.0.0",
"@types/express-serve-static-core": "^5.0.0",
"@types/jest": "29.5.11",
"@types/multer": "1.4.11",
"@types/node": "22.7.6",
"@types/passport-jwt": "^4.0.0",
"@types/passport-local": "^1.0.33",
"@types/supertest": "6.0.1",
"@typescript-eslint/eslint-plugin": "6.14.0",
"@typescript-eslint/parser": "6.14.0",
"eslint": "8.55.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-prettier": "5.0.1",
"jest": "29.7.0",
"jest-environment-node": "^29.0.0",
"prettier": "3.1.1",
"supertest": "7.0.0",
"ts-jest": "29.1.1",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"tsc-watch": "6.0.4",
"tsconfig-paths": "4.2.0",
"tslint": "6.1.3",
"typescript": "5.3.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"coverageDirectory": "../coverage/unit",
"testEnvironment": "node",
"collectCoverageFrom": [
"**/*.ts",
"!main.ts",
"!**/*.spec.ts",
"!migrations/*",
"!**/*.module.ts",
"!config/typeorm-cli.config.ts"
]
}
}