-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
82 lines (82 loc) · 2.46 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
{
"name": "back-nest-api",
"version": "1.0.0",
"description": "REST API NESTJS",
"author": "Eko Tristiyadi",
"license": "MIT",
"scripts": {
"build": "rimraf dist && tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "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": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "^7.5.2",
"@nestjs/config": "0.5.0",
"@nestjs/core": "^7.5.2",
"@nestjs/jwt": "7.2.0",
"@nestjs/passport": "7.1.0",
"@nestjs/platform-express": "^7.5.2",
"@nestjs/swagger": "^4.7.5",
"bcrypt": "^5.0.0",
"class-transformer": "0.3.1",
"class-validator": "0.12.2",
"dotenv": "8.2.0",
"passport": "0.4.1",
"passport-jwt": "4.0.0",
"passport-local": "1.0.0",
"pg": "8.5.1",
"pg-hstore": "2.3.3",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^6.6.3",
"sequelize": "^5.21.5",
"sequelize-cli": "^5.5.1",
"sequelize-typescript": "1.1.0",
"swagger-ui-express": "^4.1.3"
},
"devDependencies": {
"@nestjs/testing": "^7.5.2",
"@types/express": "4.17.9",
"@types/jest": "26.0.15",
"@types/node": "14.14.7",
"@types/passport-jwt": "3.0.3",
"@types/passport-local": "1.0.33",
"@types/sequelize": "4.28.9",
"@types/supertest": "2.0.10",
"@typescript-eslint/parser": "^4.7.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.22.1",
"jest": "26.6.3",
"prettier": "2.1.2",
"supertest": "6.0.1",
"ts-jest": "^26.4.4",
"ts-node": "9.0.0",
"tsc-watch": "4.2.9",
"tsconfig-paths": "3.9.0",
"tslint": "5.20.1",
"typescript": "4.0.5"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}