-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 3.8 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
{
"name": "databox-challenge",
"version": "1.0.0",
"description": "Databox Backend Engineer Challenge MS is an API, serving as a bridge between Databox API and 3rd party service providers (such as Facebook, Google Analytics, GitHub etc.).",
"author": "Uroš Zagoranski <[email protected]>",
"private": true,
"license": "UNLICENSED",
"engines": {
"node": ">= 20.6.1"
},
"scripts": {
"generate:swagger": "npx ts-node -r tsconfig-paths/register src/docs/swagger/swagger.factory.ts",
"prepare": "husky install",
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
"precommit": "lint-staged",
"prepush": "npm run build && npm run test",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"test": "jest",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:watch": "jest --watch",
"test:unit": "jest --coverage --passWithNoTests",
"typeorm": "npx typeorm-ts-node-commonjs",
"typeorm:migration:job": "npm run typeorm migration:run -- -d ./dist/libs/db/typeorm/typeorm.data-source.js",
"typeorm:migration:run": "npm run typeorm migration:run -- -d ./src/libs/db/typeorm/typeorm.data-source.ts",
"typeorm:migration:create": "npm run typeorm migration:create ./src/libs/db/migrations/migration",
"typeorm:migration:generate": "npm run typeorm migration:generate ./src/libs/db/migrations/migration -- -d ./src/libs/db/typeorm/typeorm.data-source.ts",
"typeorm:migration:revert": "npm run typeorm migration:revert -- -d ./src/libs/db/typeorm/typeorm.data-source.ts",
"seed": "ts-node src/shared/utils/seed/seed.ts"
},
"dependencies": {
"@fastify/helmet": "11.1.0",
"@fastify/static": "6.11.1",
"@nestjs/axios": "3.0.0",
"@nestjs/common": "10.2.5",
"@nestjs/config": "3.1.1",
"@nestjs/core": "10.2.5",
"@nestjs/platform-fastify": "10.2.5",
"@nestjs/schedule": "^3.0.3",
"@nestjs/swagger": "7.1.11",
"@nestjs/terminus": "10.0.1",
"@nestjs/typeorm": "10.0.0",
"class-transformer": "0.5.1",
"class-validator": "0.14.0",
"databox": "2.0.1",
"dotenv": "16.3.1",
"express": "4.18.2",
"mysql2": "3.6.1",
"reflect-metadata": "0.1.13",
"rxjs": "7.8.1",
"typeorm": "0.3.17",
"typeorm-extension": "3.0.2",
"uuid": "9.0.1"
},
"devDependencies": {
"@faker-js/faker": "8.0.2",
"@nestjs/cli": "10.1.17",
"@nestjs/schematics": "10.0.2",
"@nestjs/testing": "10.2.5",
"@swc/jest": "0.2.29",
"@types/dotenv": "8.2.0",
"@types/express": "^4.17.17",
"@types/jest": "29.5.2",
"@types/node": "20.3.1",
"@types/supertest": "2.0.12",
"@typescript-eslint/eslint-plugin": "6.0.0",
"@typescript-eslint/parser": "6.0.0",
"eslint": "8.49.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-config-prettier": "9.0.0",
"eslint-import-resolver-typescript": "3.6.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-jest": "27.2.3",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-unicorn": "48.0.1",
"husky": "8.0.3",
"jest": "29.5.0",
"lint-staged": "14.0.1",
"prettier": "3.0.0",
"rimraf": "4.4.1",
"supertest": "6.3.3",
"ts-jest": "29.1.0",
"ts-loader": "9.4.3",
"ts-mockery": "1.2.0",
"ts-node": "10.9.1",
"tsconfig-paths": "4.2.0",
"typescript": "5.1.3"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit",
"pre-push": "npm run prepush"
}
},
"lint-staged": {
"*.ts": [
"npm run lint"
]
}
}