forked from NarHakobyan/awesome-nest-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
147 lines (147 loc) · 5.17 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
{
"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",
"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",
"prepare": "husky install",
"prerelease": "yarn docs:deploy",
"release": "release-it"
},
"dependencies": {
"@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",
"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": "^6.2.0",
"helmet": "^5.0.2",
"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.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.41",
"typeorm-transactional-cls-hooked": "^0.1.21",
"uuid": "^8.3.2"
},
"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",
"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",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "~12.3.2",
"prettier": "^2.5.0",
"release-it": "^14.12.4",
"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.68.0",
"webpack-cli": "^4.9.2",
"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"
}
}