generated from sun-runners/nestjs-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
176 lines (176 loc) · 6.12 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"name": "nestjs-boilerplate",
"version": "8.0.0",
"description": "Awesome NestJS Boilerplate, Typescript, Postgres, TypeORM",
"author": "Narek Hakobyan <[email protected]>",
"private": true,
"license": "MIT",
"scripts": {
"prebuild:prod": "rimraf dist & rimraf dist.zip",
"build:prod": "nest build && cp package.json dist/ && cp -r Procfile dist/ && cp -r .ebextensions dist/.ebextensions/ && cp -r .platform/ dist/.platform/",
"postbuild:prod": "copyfiles --up 1 src/**/*.json dist && cd dist && zip ../dist.zip -r * .[^.]*",
"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",
"new": "hygen new",
"migration:revert": "yarn run typeorm migration:revert",
"schema:drop": "yarn run typeorm schema:drop",
"watch:dev": "ts-node-dev src/main.ts",
"debug:dev": "cross-env TS_NODE_CACHE=false ts-node-dev --inspect --ignore '/^src/.*\\.spec\\.ts$/' src/main.ts",
"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",
"copy:lib": "cpx 'src/lib/**/{files,workspace}/**/*.*' dist/lib && cpx 'src/lib/**/{files,workspace}/**/.!(gitignore)' dist/lib",
"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",
"prerelease": "yarn docs:deploy",
"release": "release-it"
},
"dependencies": {
"@adminjs/express": "^4.1.3",
"@adminjs/nestjs": "^4.0.1",
"@adminjs/typeorm": "2.0.4",
"@aws-sdk/client-s3": "^3.83.0",
"@nanogiants/nestjs-swagger-api-exception-decorator": "^1.6.0",
"@nestjs/axios": "^0.0.7",
"@nestjs/common": "^8.2.6",
"@nestjs/config": "^1.1.6",
"@nestjs/core": "^8.2.6",
"@nestjs/cqrs": "^8.0.1",
"@nestjs/jwt": "^8.0.0",
"@nestjs/microservices": "^8.2.6",
"@nestjs/passport": "^8.1.0",
"@nestjs/platform-express": "^8.2.6",
"@nestjs/swagger": "^5.1.5",
"@nestjs/terminus": "^8.0.4",
"@nestjs/typeorm": "8.0.3",
"@sentry/node": "^6.19.2",
"@sentry/tracing": "^6.19.2",
"@types/yargs": "^17.0.10",
"add": "^2.0.6",
"adminjs": "^5.10.3",
"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",
"crypto-js": "^4.1.1",
"express": "^4.18.1",
"express-ctx": "^0.1.1",
"express-formidable": "^1.2.0",
"express-rate-limit": "^6.2.0",
"express-session": "^1.17.3",
"helmet": "^5.0.2",
"iamport": "^0.3.4",
"joi": "^17.6.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"mime-types": "^2.1.34",
"morgan": "^1.10.0",
"multer": "^1.4.4",
"multer-s3": "^2.10.0",
"nats": "^2.2.0",
"nestjs-command": "^3.1.1",
"nestjs-i18n": "^8.2.2",
"nestjs-paginate": "^2.5.4",
"passport": "^0.5.2",
"passport-jwt": "^4.0.0",
"pg": "^8.7.3",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.5.4",
"source-map-support": "^0.5.21",
"swagger-ui-express": "^4.3.0",
"typeorm": "^0.2.45",
"typeorm-encrypted": "^0.7.0",
"typeorm-transactional-cls-hooked": "^0.1.21",
"uuid": "^8.3.2",
"yargs": "^17.4.0",
"yarn": "^1.22.18"
},
"devDependencies": {
"@handfish/hygen": "^6.1.3",
"@moneteam/eslint-plugin-nestjs": "^1.2.0",
"@nestjs/cli": "^8.2.0",
"@nestjs/testing": "^8.2.6",
"@types/bcrypt": "^5.0.0",
"@types/cache-manager-redis-store": "^2.0.1",
"@types/compression": "^1.7.2",
"@types/express": "^4.17.13",
"@types/jest": "^27.4.0",
"@types/jsonwebtoken": "^8.5.8",
"@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.10.2",
"@typescript-eslint/parser": "^5.10.2",
"assets-webpack-plugin": "5.1.2",
"clean-webpack-plugin": "^4.0.0",
"copyfiles": "^2.4.1",
"cpx": "^1.5.0",
"cross-env": "^7.0.3",
"eslint": "^8.9.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.12.0",
"eslint-plugin-unicorn": "^41.0.0",
"gh-pages": "^3.2.3",
"jest": "^27.5.1",
"lint-staged": "~12.3.2",
"prettier": "^2.5.0",
"release-it": "^14.12.4",
"run-script-webpack-plugin": "^0.0.12",
"supertest": "^6.2.2",
"ts-jest": "^27.1.3",
"ts-loader": "^9.2.6",
"ts-node": "^10.4.0",
"ts-node-dev": "^1.1.8",
"typeorm-seeding": "^1.6.1",
"typescript": "^4.5.5",
"vuepress": "^2.0.0-beta.35",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2",
"webpack-node-externals": "^3.0.0"
},
"resolutions": {
"@types/react": "~17.0.39"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"verbose": false
},
"engines": {
"node": ">=14.18.0",
"npm": ">=6.14.15"
}
}