-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
113 lines (113 loc) · 3.98 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
{
"name": "@goparrot/pubsub-event-bus",
"description": "NestJS EventBus extension for RabbitMQ PubSub",
"version": "5.0.0",
"author": "GoParrot",
"keywords": [
"NestJS",
"PubSub",
"EventBus",
"CqrsModule"
],
"license": "MIT",
"homepage": "https://github.com/goparrot/nestjs-pubsub-event-bus#readme",
"bugs": {
"url": "https://github.com/goparrot/nestjs-pubsub-event-bus/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/goparrot/nestjs-pubsub-event-bus.git"
},
"engines": {
"node": ">=16"
},
"directories": {
"bin": "./bin",
"lib": "./src",
"test": "./test"
},
"lint-staged": {
"*.{ts,tsx,js,json}": [
"npm run format:base"
],
"*.md": [
"npm run prettier:base"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"scripts": {
"commit": "git-cz",
"prepare": "husky install",
"pre-commit": "git add . && run-p format:staged typecheck && run-p publish:dev:dry lint coverage",
"prettier": "npm run prettier:base -- '**/**.+(md)'",
"prettier:base": "prettier --ignore-path .eslintignore --write",
"format": "npm run prettier && npm run lint -- --fix",
"format:base": "npm run lint:base -- --fix",
"format:staged": "git add . && lint-staged --allow-empty -q",
"lint": "npm run lint:base -- './**/**.{ts,tsx,js,json}'",
"lint:base": "npm run lint:config:check && eslint",
"lint:config:check": "eslint-config-prettier src/index.ts",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "jest",
"test:docker:up": "docker-compose -f test/e2e/docker-compose.yml up -d",
"test:docker:down": "docker-compose -f test/e2e/docker-compose.yml down",
"coverage": "jest --collect-coverage",
"build:dist": "rimraf dist/* && run-p build:dist:cjs build:dist:esm build:dist:types",
"build:dist:cjs": "tsc --project tsconfig.build-cjs.json",
"build:dist:esm": "tsc --project tsconfig.build-esm.json",
"build:dist:types": "tsc -b tsconfig.build-types.json",
"version:prerelease": "ts-node -T bin/npm-dev-version.ts",
"publish": "npm run build:dist && ts-node -T bin/prepublish.ts && npm publish ./dist",
"publish:dev": "npm run version:prerelease && npm run publish -- --tag dev",
"publish:dev:dry": "npm run publish -- --dry-run"
},
"peerDependencies": {
"@nestjs/common": "^10.0.0",
"@nestjs/core": "^10.0.0",
"@nestjs/cqrs": "^10.0.0",
"amqp-connection-manager": "^4.0.0",
"amqplib": ">=0.5",
"reflect-metadata": ">=0.1.13"
},
"dependencies": {
"lodash": "^4.17.21",
"tslib": "^2.5.2"
},
"devDependencies": {
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@faker-js/faker": "^8.0.1",
"@goparrot/eslint-config": "^1.1.1",
"@nestjs/common": "^10.2.10",
"@nestjs/core": "^10.2.10",
"@nestjs/cqrs": "^10.2.6",
"@nestjs/testing": "^10.2.10",
"@types/amqplib": "^0.10.1",
"@types/eslint": "^8.56.2",
"@types/jest": "^29.5.1",
"@types/lodash": "^4.14.194",
"@types/minimist": "^1.2.2",
"@types/semver": "^7.5.0",
"amqp-connection-manager": "^4.1.13",
"amqplib": "^0.10.3",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint-plugin-jest": "^27.2.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.2.2",
"minimist": "^1.2.8",
"npm-run-all": "^4.1.5",
"reflect-metadata": "^0.1.13",
"rimraf": "^5.0.1",
"rxjs": "^7.8.1",
"semver": "^7.5.1",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
}
}