-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.97 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.97 KB
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
{
"name": "api",
"version": "0.0.1",
"description": "",
"author": "",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start:db": "docker-compose up-db",
"start": "nest start:dev",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint '{src,apps,libs,test}/**/*.ts' --fix",
"test": "yarn test:unit",
"test:unit": "cross-env NODE_ENV=test jest",
"test:unit:watch": "cross-env NODE_ENV=test jest --watch",
"test:ci": "cross-env NODE_ENV=test jest 'spec.ts$' --runInBand --testPathIgnorePatterns --ci --coverage --colors",
"migration:generate": "ts-node node_modules/.bin/typeorm migration:generate -f src/config/orm.config.ts",
"migration:create": "ts-node node_modules/.bin/typeorm migration:create -f src/config/orm.config.ts",
"migration:run": "ts-node node_modules/.bin/typeorm migration:run -f src/config/orm.config.ts",
"m:c": "npm run migration:create",
"m:g": "npm run migration:generate"
},
"dependencies": {
"@nestjs/common": "^6.11.11",
"@nestjs/config": "^0.2.4",
"@nestjs/core": "^6.11.11",
"@nestjs/platform-express": "^6.11.11",
"@nestjs/swagger": "^4.3.2",
"@nestjs/typeorm": "^6.3.1",
"@nestjsx/crud": "^4.4.1",
"@nestjsx/crud-typeorm": "^4.4.1",
"class-transformer": "^0.2.3",
"class-validator": "^0.11.0",
"compression": "^1.7.4",
"dotenv": "^8.2.0",
"helmet": "^3.21.3",
"iban": "0.0.14",
"json-diff": "^0.5.4",
"nestjs-typeorm-paginate": "^1.0.3",
"pg": "^7.18.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.0",
"rxjs": "^6.5.4",
"swagger-ui-express": "^4.1.3",
"typeorm": "^0.2.22"
},
"devDependencies": {
"@nestjs/cli": "^6.13.2",
"@nestjs/schematics": "^6.8.1",
"@nestjs/testing": "^6.10.14",
"@types/express": "^4.17.2",
"@types/jest": "25.1.1",
"@types/node": "^13.1.6",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.12.0",
"@typescript-eslint/parser": "^2.12.0",
"casual": "^1.6.2",
"cross-env": "^7.0.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.19.1",
"jest": "^24.9.0",
"prettier": "^1.18.2",
"supertest": "^4.0.2",
"ts-jest": "25.1.0",
"ts-loader": "^6.2.1",
"ts-node": "^8.6.0",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.7.4"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"testPathIgnorePatterns": [
".e2e-spec.ts$"
],
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"coverageReporters": [
"text",
"cobertura"
],
"testEnvironment": "node",
"moduleDirectories": [
"node_modules",
"./src"
]
}
}