-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 4.59 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
{
"name": "calendar",
"version": "7.0.1",
"description": "calendar with reccuring events",
"author": "Serhii Rudenko",
"scripts": {
"build:prod": "rm -rf dist && 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": "npm run build:prod && node node_modules/typeorm/cli.js -f ormconfig2.json migration:generate -d src/migrations -n",
"migration:create": "npm run typeorm migration:create -d src/migrations -n",
"migration:revert": "npm run typeorm migration:revert",
"schema:drop": "npm run typeorm schema:drop",
"watch:dev": "nodemon --config nodemon.json",
"debug:dev": "nodemon --config nodemon-debug.json",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint --fix . --ext .ts",
"test": "jest",
"test:unit": "jest --config test/unit/jest-unit.json --detectOpenHandles",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "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"
},
"dependencies": {
"@nestjs/common": "^7.4.3",
"@nestjs/core": "^7.4.3",
"@nestjs/passport": "^7.1.0",
"@nestjs/platform-express": "^7.4.3",
"@nestjs/typeorm": "^7.1.1",
"bcrypt": "^5.0.0",
"class-transformer": "^0.3.1",
"class-validator": "^0.12.2",
"compression": "^1.7.4",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-rate-limit": "^5.1.3",
"helmet": "^4.1.0",
"lodash": "^4.17.21",
"morgan": "^1.10.0",
"pg": "^8.3.3",
"reflect-metadata": "^0.1.13",
"request-context": "^2.0.0",
"rxjs": "^6.6.2",
"source-map-support": "^0.5.19",
"swagger-ui-express": "^4.1.4",
"typeorm": "^0.2.25",
"typeorm-transactional-cls-hooked": "^0.1.12",
"typescript": "^3.9.3",
"uuid": "^8.3.0"
},
"devDependencies": {
"@nestjs/testing": "^7.4.3",
"@types/bcrypt": "^3.0.0",
"@types/compression": "^1.7.0",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.7",
"@types/express-rate-limit": "^5.1.0",
"@types/file-type": "^10.9.1",
"@types/helmet": "^0.0.48",
"@types/jest": "^26.0.10",
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash": "^4.14.161",
"@types/mime-types": "^2.1.0",
"@types/morgan": "^1.9.1",
"@types/node": "^14.6.2",
"@types/passport-jwt": "^3.0.3",
"@types/supertest": "^2.0.10",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/eslint-plugin-tslint": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"clean-webpack-plugin": "^3.0.0",
"copyfiles": "^2.3.0",
"cross-env": "^7.0.2",
"eslint": "^7.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-import-helpers": "^1.0.2",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-simple-import-sort": "^5.0.3",
"gh-pages": "^2.1.1",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "~9.4.2",
"nodemon": "^1.19.3",
"prettier": "^2.0.5",
"supertest": "^4.0.2",
"ts-jest": "^24.1.0",
"ts-loader": "^7.0.4",
"ts-node": "^8.10.1",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tslint-consistent-codestyle": "^1.16.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-plugin-prettier": "^2.3.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"git add"
]
}
}