forked from NarHakobyan/awesome-nest-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
148 lines (148 loc) · 4.95 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "awesome-nestjs-boilerplate",
"version": "8.0.0",
"description": "Awesome NestJS Boilerplate, Typescript, Postgres, TypeORM",
"author": "Narek Hakobyan <[email protected]>",
"private": true,
"license": "MIT",
"scripts": {
"build:prod": "tsc -p tsconfig.build.json",
"postbuild:prod": "copyfiles --up 1 src/**/*.json dist",
"start:hmr": "node dist/main.hmr.ts",
"start:dev": "ts-node src/main.ts",
"start:prod": "node dist/main.js",
"typeorm": "ts-node node_modules/typeorm/cli.js -f ormconfig",
"migration:generate": "yarn run typeorm migration:generate -d src/database/migrations -n",
"migration:create": "yarn run typeorm migration:create -d src/database/migrations -n",
"seed:config": "ts-node node_modules/typeorm-seeding/dist/cli.js config",
"seed:run": "ts-node node_modules/typeorm-seeding/dist/cli.js seed",
"g:dto": "nest g class modules",
"migration:revert": "yarn run typeorm migration:revert",
"schema:drop": "yarn run typeorm schema:drop",
"watch:dev": "nodemon --config nodemon.json",
"debug:dev": "nodemon --config nodemon-debug.json",
"webpack": "webpack --config webpack.config.js --progress",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint --fix . --ext .ts",
"test": "NODE_ENV=test jest",
"test:watch": "NODE_ENV=test jest --watch",
"test:cov": "NODE_ENV=test jest --coverage",
"test:debug": "NODE_ENV=test node --inspect-brk -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "NODE_ENV=test jest --config ./test/jest-e2e.json",
"docs:dev": "vuepress dev -p 7070",
"docs:build": "DEPLOY_ENV=gh-pages vuepress build",
"docs:deploy": "yarn docs:build && gh-pages -d .vuepress/dist",
"prepare": "husky install"
},
"dependencies": {
"@nanogiants/nestjs-swagger-api-exception-decorator": "^1.6.0",
"@nestjs/axios": "^0.0.4",
"@nestjs/common": "^8.2.5",
"@nestjs/config": "^1.1.6",
"@nestjs/core": "^8.2.5",
"@nestjs/cqrs": "^8.0.1",
"@nestjs/jwt": "^8.0.0",
"@nestjs/microservices": "^8.2.5",
"@nestjs/passport": "^8.0.1",
"@nestjs/platform-express": "^8.2.5",
"@nestjs/swagger": "^5.1.5",
"@nestjs/terminus": "^8.0.1",
"@nestjs/typeorm": "^8.0.2",
"aws-sdk": "^2.1058.0",
"bcrypt": "^5.0.1",
"cache-manager-redis-store": "^2.0.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"compression": "^1.7.4",
"express": "^4.17.2",
"express-ctx": "^0.1.1",
"express-rate-limit": "^5.5.1",
"helmet": "^4.6.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"mime-types": "^2.1.34",
"morgan": "^1.10.0",
"nats": "^2.2.0",
"nestjs-i18n": "^8.2.2",
"passport": "^0.5.2",
"passport-jwt": "^4.0.0",
"pg": "^8.7.1",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.5.2",
"source-map-support": "^0.5.21",
"swagger-ui-express": "^4.3.0",
"typeorm": "^0.2.41",
"typeorm-transactional-cls-hooked": "^0.1.21",
"uuid": "^8.3.2"
},
"devDependencies": {
"@nestjs/cli": "^8.2.0",
"@nestjs/testing": "^8.2.4",
"@types/bcrypt": "^5.0.0",
"@types/cache-manager-redis-store": "^2.0.1",
"@types/compression": "^1.7.2",
"@types/express": "^4.17.13",
"@types/express-rate-limit": "^5.1.3",
"@types/faker": "^5.5.9",
"@types/jest": "^27.4.0",
"@types/jsonwebtoken": "^8.5.6",
"@types/lodash": "^4.14.178",
"@types/mime-types": "^2.1.1",
"@types/morgan": "^1.9.3",
"@types/node": "^16.11.12",
"@types/passport-jwt": "^3.0.6",
"@types/supertest": "^2.0.11",
"@types/uuid": "^8.3.4",
"@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"clean-webpack-plugin": "^4.0.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-import-helpers": "^1.2.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sonarjs": "^0.11.0",
"eslint-plugin-unicorn": "^39.0.0",
"gh-pages": "^3.2.3",
"husky": "^7.0.4",
"jest": "^27.4.7",
"lint-staged": "~12.1.7",
"nodemon": "^2.0.15",
"prettier": "^2.5.0",
"supertest": "^6.2.1",
"ts-jest": "^27.1.2",
"ts-loader": "^9.2.6",
"ts-node": "^10.4.0",
"typeorm-seeding": "^1.6.1",
"typescript": "^4.5.4",
"vuepress": "^2.0.0-beta.33",
"webpack": "^5.64.4",
"webpack-cli": "^4.9.1",
"webpack-node-externals": "^3.0.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"git add"
]
}
}