-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.81 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
{
"name": "nestjs-shargea",
"version": "0.0.4",
"description": "Backend of shargea made with nest",
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/denishamann/nestjs-shargea"
},
"scripts": {
"build": "rimraf dist && tsc -p tsconfig.build.json",
"docker:build": "docker build -t shargea:$npm_package_version .",
"docker:run": " docker run --env-file=production.env -p 3000:3000 -p 5432:5432 shargea:$npm_package_version",
"format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "NODE_ENV=development tsc-watch -p tsconfig.build.json --onSuccess \"node dist/main.js\"",
"start:debug": "tsc-watch -p tsconfig.build.json --onSuccess \"node --inspect-brk dist/main.js\"",
"start:prod": "node dist/main.js",
"lint": "tslint -p tsconfig.json -c tslint.json",
"test": "NODE_ENV=development jest",
"test:watch": "NODE_ENV=development jest --watch",
"test:cov": "NODE_ENV=development jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"doc:generate": "npx compodoc -p tsconfig.json -d docs"
},
"dependencies": {
"@hapi/joi": "^16.1.7",
"@nestjs/common": "^6.10.1",
"@nestjs/core": "^6.10.1",
"@nestjs/jwt": "^6.1.1",
"@nestjs/passport": "^6.1.0",
"@nestjs/platform-express": "^6.10.1",
"@nestjs/swagger": "^3.1.0",
"@nestjs/typeorm": "^6.2.0",
"bcryptjs": "^2.4.3",
"class-transformer": "^0.2.3",
"class-validator": "^0.10.2",
"compression": "^1.7.4",
"config": "^3.2.4",
"crypto-random-string": "^3.0.1",
"dotenv": "^8.2.0",
"express-rate-limit": "^5.0.0",
"helmet": "^3.21.2",
"mailgun-js": "^0.22.0",
"passport": "^0.4.0",
"passport-jwt": "^4.0.0",
"pg": "^7.14.0",
"reflect-metadata": "^0.1.12",
"rimraf": "^2.6.2",
"rxjs": "^6.5.3",
"swagger-ui-express": "^4.1.2",
"typeorm": "^0.2.20",
"uuid": "^3.3.3"
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.11",
"@nestjs/testing": "^6.10.1",
"@types/dotenv": "^8.2.0",
"@types/express": "4.16.1",
"@types/hapi__joi": "^16.0.3",
"@types/jest": "24.0.11",
"@types/node": "11.13.4",
"@types/supertest": "2.0.7",
"jest": "24.7.1",
"prettier": "1.17.0",
"supertest": "4.0.2",
"ts-jest": "24.0.2",
"ts-node": "8.1.0",
"tsc-watch": "2.2.1",
"tsconfig-paths": "3.8.0",
"tslint": "5.16.0",
"typescript": "3.4.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}