-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
120 lines (120 loc) · 3.57 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
112
113
114
115
116
117
118
119
120
{
"name": "configurator-server",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "cross-env NODE_ENV=dev nodemon",
"start:debug": "cross-env NODE_ENV=dev nodemon --config nodemon-debug.json",
"start:prod": "node -r ./tsconfig-paths-bootstrap.js dist/main.js",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"prisma:generate": "prisma generate",
"prisma:migrate": "prisma migrate deploy --preview-feature"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "pretty-quick --staged --pattern 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md,html}'"
}
},
"dependencies": {
"@nestjs/common": "^7.6.14",
"@nestjs/config": "^0.6.3",
"@nestjs/core": "^7.6.14",
"@nestjs/cqrs": "^7.0.1",
"@nestjs/jwt": "^7.1.0",
"@nestjs/passport": "^7.1.0",
"@nestjs/platform-express": "^7.6.14",
"@nestjs/swagger": "^4.8.0",
"@nestjs/terminus": "^7.1.0",
"@prisma/client": "^2.8.0",
"@types/bcrypt": "^3.0.0",
"@types/faker": "^5.1.7",
"bcrypt": "^5.0.1",
"class-transformer": "^0.3.1",
"class-validator": "^0.12.2",
"faker": "^5.4.0",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"moment-timezone": "^0.5.33",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"rand-token": "^1.0.1",
"redis": "^3.0.2",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^6.6.6",
"swagger-typescript-api": "^3.1.2",
"swagger-ui-express": "^4.1.4"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@nestjs/cli": "^7.5.6",
"@nestjs/schematics": "^7.3.0",
"@nestjs/testing": "^7.6.14",
"@types/express": "^4.17.11",
"@types/ioredis": "^4.22.0",
"@types/jest": "26.0.19",
"@types/lodash": "^4.14.168",
"@types/node": "^14.14.35",
"@types/passport-jwt": "^3.0.5",
"@types/supertest": "^2.0.8",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "4.12.0",
"@typescript-eslint/parser": "4.12.0",
"cross-env": "^7.0.3",
"dotenv": "8.2.0",
"eslint": "7.17.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.20.1",
"husky": "^4.3.8",
"ioredis": "^4.24.2",
"jest": "26.6.3",
"nodemon": "^2.0.7",
"prettier": "2.2.1",
"pretty-quick": "^3.1.0",
"prisma": "^2.19.0",
"supertest": "^6.1.3",
"ts-jest": "26.4.4",
"ts-loader": "^8.0.18",
"ts-node": "9.1.1",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.2.3"
},
"jest": {
"globalSetup": "../global-setup.ts",
"restoreMocks": true,
"clearMocks": true,
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"moduleNameMapper": {
"^@app/(.*)$": "<rootDir>/../src/$1"
},
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"testEnvironment": "node"
}
}