-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpackage.json
108 lines (108 loc) · 3.09 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
{
"name": "nestjs-template",
"version": "0.0.3",
"description": "Rokket Labs' NestJS template for all backend projects",
"author": "Rokket Labs <tomas@rokketlabs.com>",
"private": true,
"license": "MIT",
"engines": {
"node": "14.16.0"
},
"scripts": {
"prebuild": "rimraf dist",
"prestart": "rimraf dist",
"postinstall": "husky install",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "yarn start:dev",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint --ignore-path .gitignore . --ext ts --ext tsx --ext js --ext jsx",
"lint:fix": "yarn lint --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",
"type-check": "tsc"
},
"dependencies": {
"@nestjs/common": "^7.6.17",
"@nestjs/config": "^0.6.3",
"@nestjs/core": "^7.6.17",
"@nestjs/graphql": "^7.10.6",
"@nestjs/jwt": "^7.2.0",
"@nestjs/mongoose": "^7.2.4",
"@nestjs/passport": "^7.1.5",
"@nestjs/platform-express": "^7.6.17",
"@nestjs/terminus": "^7.2.0",
"@typegoose/typegoose": "^7.4.5",
"apollo-server-express": "^2.25.0",
"bcryptjs": "^2.4.3",
"file-type": "^16.5.0",
"graphql": "^15.5.0",
"graphql-tools": "^7.0.5",
"mongoose": "5.10.18",
"nanoid": "^3.1.23",
"nestjs-role-protected": "^0.2.1",
"nestjs-typegoose": "^7.1.38",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"ramda": "^0.27.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.1.0"
},
"devDependencies": {
"@nestjs/cli": "^7.6.0",
"@nestjs/schematics": "^7.3.1",
"@nestjs/testing": "^7.6.17",
"@types/jest": "^26.0.23",
"@types/mongoose": "^5.10.3",
"@types/node": "^15.12.0",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-rokket-labs": "^0.4.5",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^6.0.0",
"jest": "^27.0.4",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0",
"prettier-eslint": "^12.0.0",
"supertest": "^6.1.3",
"ts-jest": "27.0.2",
"ts-loader": "^9.2.2",
"ts-node": "^10.0.0",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.3.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"{*.{json,md}}": [
"prettier --write"
]
}
}