-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
144 lines (144 loc) · 5.06 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
{
"name": "matrix-core",
"version": "0.0.1",
"description": "Core backend service for Matrix application",
"author": "Pritam Sarkar",
"private": false,
"license": "GPL-3.0-or-later",
"scripts": {
"prebuild": "rimraf dist && tsc -p tsconfig.build.json",
"commit": "npx git-cz",
"build": "nest build",
"release": "npx semantic-release",
"format": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",
"lint": "eslint '{src,apps,libs,test}/**/*.ts'",
"lint:fix": "eslint '{src,apps,libs,test}/**/*.ts' --fix",
"start": "nest start",
"start:dev": "npx 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",
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js",
"migration:generate": "ts-node node_modules/typeorm/cli.js migration:generate -f ormconfig -d src/migrations -n",
"migration:revert": "ts-node node_modules/typeorm/cli.js migration:revert -f ormconfig",
"migration:create": "ts-node node_modules/typeorm/cli.js migration:create -f ormconfig -d src/migrations -n",
"migration:run": "ts-node ./node_modules/typeorm/cli.js migration:run -f ormconfig",
"schema:drop": "ts-node node_modules/typeorm/cli.js schema:drop -f ormconfig",
"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"
},
"engines": {
"node": ">=14.15.0",
"npm": ">=6.14.0"
},
"dependencies": {
"@nestjs/common": "7.6.13",
"@nestjs/core": "7.6.13",
"@nestjs/cqrs": "7.0.1",
"@nestjs/mapped-types": "0.3.0",
"@nestjs/platform-express": "7.6.13",
"@nestjs/platform-fastify": "7.6.13",
"@nestjs/swagger": "4.7.12",
"@nestjs/terminus": "7.1.0",
"@nestjs/typeorm": "7.1.5",
"bunyan": "1.8.15",
"bunyan-format": "0.2.1",
"class-transformer": "0.3.2",
"class-validator": "0.13.1",
"dotenv": "8.2.0",
"fastify-helmet": "5.2.0",
"fastify-rate-limit": "5.0.1",
"fastify-swagger": "4.3.1",
"morgan": "1.10.0",
"pg": "8.5.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^6.5.4",
"semantic-release": "17.3.7",
"typeorm": "0.2.30"
},
"devDependencies": {
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@commitlint/lint": "11.0.0",
"@nestjs/cli": "7.5.4",
"@nestjs/schematics": "^7.2.7",
"@nestjs/testing": "7.6.13",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.0",
"@types/express": "^4.17.11",
"@types/jest": "26.0.20",
"@types/node": "14.14.31",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "4.15.2",
"@typescript-eslint/parser": "4.15.2",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.19.0",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-simple-import-sort": "7.0.0",
"git-cz": "4.7.6",
"husky": "4.3.8",
"jest": "26.6.3",
"lint-staged": "10.5.3",
"prettier": "^2.2.1",
"supertest": "6.1.3",
"ts-jest": "26.5.0",
"ts-loader": "8.0.17",
"ts-node": "9.1.1",
"tsconfig-paths": "^3.9.0",
"typescript": "4.1.3"
},
"lint-staged": {
"{src,test}/**/*.{js,ts}": [
"npm run format",
"npm run lint:fix",
"git add ."
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
}
},
"husky": {
"hooks": {
"pre-commit": "npm run build && lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
}
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"repository": {
"type": "git",
"url": "https://github.com/QuantaVerse/matrix-core.git"
},
"keywords": [
"matrix",
"matrix-core"
],
"bugs": {
"url": "https://github.com/QuantaVerse/matrix-core/issues"
},
"homepage": "https://github.com/QuantaVerse/matrix-core#readme",
"volta": {
"node": "14.15.3",
"npm": "6.14.10"
}
}