-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 4.18 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
121
122
123
124
125
{
"name": "nestjs-starter",
"version": "0.1.0",
"description": "NestJS starter repository.",
"private": true,
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "run-s -c lint:*",
"lint:eslint": "eslint '{src,apps,libs,test}/**/*.ts'",
"lint:prettier": "prettier --check src test",
"format": "run-s format:*",
"format:eslint": "eslint --fix '{src,apps,libs,test}/**/*.ts'",
"format:prettier": "prettier --write src test",
"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",
"migration:generate": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js migration:generate -f src/typeorm/ormconfig.postgres.ts -n",
"migration:show": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js migration:show -f src/typeorm/ormconfig.postgres.ts",
"migration:run": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js migration:run -f src/typeorm/ormconfig.postgres.ts",
"migration:revert": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js migration:revert -f src/typeorm/ormconfig.postgres.ts",
"schema:log": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js schema:log -f src/typeorm/ormconfig.postgres.ts",
"doc": "compodoc -p tsconfig.json -s"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,mjs,jsx,ts,tsx}": "eslint"
},
"prettier": "@twihike/prettier-config",
"dependencies": {
"@godaddy/terminus": "4.9.0",
"@nestjs/common": "7.6.18",
"@nestjs/core": "7.6.18",
"@nestjs/graphql": "7.11.0",
"@nestjs/jwt": "7.2.0",
"@nestjs/microservices": "7.6.18",
"@nestjs/passport": "7.1.6",
"@nestjs/platform-express": "7.6.18",
"@nestjs/swagger": "4.8.2",
"@nestjs/terminus": "7.2.0",
"@nestjs/typeorm": "7.1.5",
"@nestjs/websockets": "7.6.18",
"apollo-server-express": "2.25.2",
"bcrypt": "5.0.1",
"class-transformer": "0.4.0",
"class-validator": "0.13.1",
"compression": "1.7.4",
"graphql": "15.5.1",
"graphql-tools": "8.2.0",
"helmet": "4.6.0",
"passport": "0.4.1",
"passport-jwt": "4.0.0",
"passport-mock-strategy": "2.0.0",
"pg": "8.6.0",
"pluralize": "8.0.0",
"reflect-metadata": "0.1.13",
"rxjs": "7.1.0",
"sqlite3": "5.0.2",
"swagger-ui-express": "4.1.6",
"type-graphql": "1.1.1",
"typeorm": "0.2.34"
},
"devDependencies": {
"@compodoc/compodoc": "1.1.11",
"@nestjs/cli": "7.6.0",
"@nestjs/schematics": "7.3.1",
"@nestjs/testing": "7.6.18",
"@twihike/eslint-config": "0.1.15",
"@twihike/prettier-config": "0.1.15",
"@types/bcrypt": "5.0.0",
"@types/express": "4.17.12",
"@types/jest": "26.0.23",
"@types/node": "16.0.0",
"@types/passport-jwt": "3.0.5",
"@types/pluralize": "0.0.29",
"@types/supertest": "2.0.11",
"@typescript-eslint/eslint-plugin": "4.28.1",
"eslint": "7.30.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-jest": "24.3.6",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "5.1.0",
"eslint-plugin-react": "7.24.0",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-unicorn": "34.0.1",
"husky": "4.3.8",
"jest": "27.0.6",
"lint-staged": "11.0.0",
"npm-run-all": "4.1.5",
"prettier": "2.3.2",
"rimraf": "3.0.2",
"supertest": "6.1.3",
"ts-jest": "27.0.3",
"ts-loader": "9.2.3",
"ts-node": "10.0.0",
"tsconfig-paths": "3.9.0",
"typescript": "4.3.5"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}