|
2 | 2 | "name": "@goparrot/pubsub-event-bus",
|
3 | 3 | "description": "NestJS EventBus extension for RabbitMQ PubSub",
|
4 | 4 | "version": "2.0.2",
|
5 |
| - "main": "src/index.js", |
| 5 | + "author": "GoParrot", |
| 6 | + "keywords": [ |
| 7 | + "NestJS", |
| 8 | + "PubSub", |
| 9 | + "EventBus", |
| 10 | + "CqrsModule" |
| 11 | + ], |
| 12 | + "license": "MIT", |
| 13 | + "homepage": "https://github.com/goparrot/nestjs-pubsub-event-bus#readme", |
| 14 | + "bugs": { |
| 15 | + "url": "https://github.com/goparrot/nestjs-pubsub-event-bus/issues" |
| 16 | + }, |
| 17 | + "repository": { |
| 18 | + "type": "git", |
| 19 | + "url": "git+ssh://git@github.com/goparrot/nestjs-pubsub-event-bus.git" |
| 20 | + }, |
| 21 | + "engines": { |
| 22 | + "node": ">=14", |
| 23 | + "npm": "^8" |
| 24 | + }, |
| 25 | + "directories": { |
| 26 | + "bin": "./bin", |
| 27 | + "lib": "./src", |
| 28 | + "test": "./test" |
| 29 | + }, |
| 30 | + "lint-staged": { |
| 31 | + "*.{ts,tsx,js,json}": [ |
| 32 | + "npm run format:base" |
| 33 | + ], |
| 34 | + "*.md": [ |
| 35 | + "npm run prettier:base" |
| 36 | + ] |
| 37 | + }, |
| 38 | + "config": { |
| 39 | + "commitizen": { |
| 40 | + "path": "cz-conventional-changelog" |
| 41 | + } |
| 42 | + }, |
6 | 43 | "scripts": {
|
7 | 44 | "commit": "git-cz",
|
8 | 45 | "prepare": "husky install",
|
9 |
| - "pre-commit": "npm run format:staged && tsc --project tsconfig.json && npm run build:dist && npm run lint", |
| 46 | + "pre-commit": "git add . && run-p format:staged typecheck && run-p publish:dev:dry lint coverage", |
10 | 47 | "prettier": "npm run prettier:base -- '**/**.+(md)'",
|
11 | 48 | "prettier:base": "prettier --ignore-path .eslintignore --write",
|
12 | 49 | "format": "npm run prettier && npm run lint -- --fix",
|
|
18 | 55 | "typecheck": "tsc -p tsconfig.json --noEmit",
|
19 | 56 | "test": "jest",
|
20 | 57 | "coverage": "jest --collect-coverage",
|
21 |
| - "build:dist": "rimraf dist && tsc --project tsconfig.compile.json && node bin/prepublish.js", |
22 |
| - "check:tsc": "rimraf dist/* && tsc --project tsconfig.json && rimraf dist", |
| 58 | + "build:dist": "rimraf dist/* && run-p build:dist:cjs build:dist:esm build:dist:types", |
| 59 | + "build:dist:cjs": "tsc --project tsconfig.build-cjs.json", |
| 60 | + "build:dist:esm": "tsc --project tsconfig.build-esm.json", |
| 61 | + "build:dist:types": "tsc -b tsconfig.build-types.json", |
23 | 62 | "prepublishOnly": "echo \"use 'npm run publish'\" && exit 1",
|
24 | 63 | "version:prerelease": "ts-node -T bin/npm-dev-version.ts",
|
25 |
| - "publish": "npm run build:dist && node bin/prepublish.js && npm publish dist", |
| 64 | + "publish": "npm run build:dist && ts-node -T bin/prepublish.ts && npm publish ./dist", |
26 | 65 | "publish:dev": "npm run version:prerelease && npm run publish --tag dev",
|
27 | 66 | "publish:dev:dry": "npm run publish --tag dev --dry-run",
|
28 | 67 | "preversion": "npm run pre-commit",
|
|
32 | 71 | "release:dry": "npm run publish:dev:dry && standard-version --dry-run",
|
33 | 72 | "github-release": "conventional-github-releaser -p angular"
|
34 | 73 | },
|
35 |
| - "author": "", |
36 |
| - "license": "MIT", |
37 |
| - "repository": { |
38 |
| - "type": "git", |
39 |
| - "url": "git+ssh://git@github.com/goparrot/nestjs-pubsub-event-bus.git" |
40 |
| - }, |
41 |
| - "keywords": [ |
42 |
| - "NestJS", |
43 |
| - "PubSub", |
44 |
| - "EventBus", |
45 |
| - "CqrsModule" |
46 |
| - ], |
47 |
| - "directories": { |
48 |
| - "bin": "./bin", |
49 |
| - "lib": "./src", |
50 |
| - "test": "./test" |
51 |
| - }, |
52 |
| - "engines": { |
53 |
| - "node": "^12.10 | ^14.10 | ^16.13" |
54 |
| - }, |
55 |
| - "lint-staged": { |
56 |
| - "*.{ts,tsx,js,json}": [ |
57 |
| - "npm run format:base" |
58 |
| - ], |
59 |
| - "*.{md}": [ |
60 |
| - "npm run prettier:base" |
61 |
| - ] |
62 |
| - }, |
63 |
| - "config": { |
64 |
| - "commitizen": { |
65 |
| - "path": "cz-conventional-changelog" |
66 |
| - } |
| 74 | + "peerDependencies": { |
| 75 | + "@nestjs/common": "^7.0.0 || ^8.0.0", |
| 76 | + "@nestjs/core": "^7.0.0 || ^8.0.0", |
| 77 | + "@nestjs/cqrs": "^7.0.0 || ^8.0.0", |
| 78 | + "amqp-connection-manager": "^3.2.0", |
| 79 | + "amqplib": ">=0.5", |
| 80 | + "reflect-metadata": ">=0.1.13" |
67 | 81 | },
|
68 |
| - "bugs": { |
69 |
| - "url": "https://github.com/goparrot/nestjs-pubsub-event-bus/issues" |
| 82 | + "dependencies": { |
| 83 | + "lodash": "^4.17.21", |
| 84 | + "tslib": "^2.3.1" |
70 | 85 | },
|
71 |
| - "homepage": "https://github.com/goparrot/nestjs-pubsub-event-bus#readme", |
72 | 86 | "devDependencies": {
|
73 |
| - "@commitlint/cli": "^13.1.0", |
74 |
| - "@commitlint/config-conventional": "^13.1.0", |
75 |
| - "@goparrot/eslint-config": "^1.0.1", |
76 |
| - "@nestjs/common": "^7.6.18", |
77 |
| - "@nestjs/core": "^7.6.18", |
78 |
| - "@nestjs/cqrs": "^7.0.1", |
| 87 | + "@commitlint/cli": "^16.0.1", |
| 88 | + "@commitlint/config-conventional": "^16.0.0", |
| 89 | + "@goparrot/eslint-config": "^1.0.3", |
| 90 | + "@nestjs/common": "^8.2.4", |
| 91 | + "@nestjs/core": "^8.2.4", |
| 92 | + "@nestjs/cqrs": "^8.0.1", |
79 | 93 | "@types/amqplib": "0.8.2",
|
80 |
| - "@types/jest": "^27.0.1", |
81 |
| - "@types/lodash": "^4.14.173", |
| 94 | + "@types/jest": "^27.4.0", |
| 95 | + "@types/lodash": "^4.14.178", |
82 | 96 | "@types/minimist": "^1.2.2",
|
83 | 97 | "@types/semver": "^7.3.8",
|
84 |
| - "amqp-connection-manager": "^3.6.0", |
| 98 | + "amqp-connection-manager": "^3.8.1", |
85 | 99 | "amqplib": "^0.8.0",
|
86 |
| - "class-transformer": "0.3.1", |
87 | 100 | "commitizen": "^4.2.4",
|
88 |
| - "conventional-changelog-cli": "^2.1.1", |
| 101 | + "conventional-changelog-cli": "^2.2.2", |
89 | 102 | "cz-conventional-changelog": "^3.3.0",
|
90 | 103 | "husky": "^7.0.2",
|
91 |
| - "jest": "^27.2.0", |
92 |
| - "lint-staged": "^11.1.2", |
93 |
| - "lodash": "^4.17.21", |
| 104 | + "jest": "^27.4.5", |
| 105 | + "lint-staged": "^12.1.5", |
94 | 106 | "minimist": "^1.2.5",
|
| 107 | + "npm-run-all": "^4.1.5", |
95 | 108 | "reflect-metadata": "^0.1.13",
|
96 | 109 | "rimraf": "^3.0.2",
|
97 |
| - "rxjs": "^6.6.7", |
98 | 110 | "semver": "^7.3.5",
|
99 | 111 | "standard-version": "^9.3.1",
|
100 |
| - "ts-jest": "^27.0.5", |
| 112 | + "ts-jest": "^27.1.2", |
101 | 113 | "ts-node": "^10.2.1",
|
102 |
| - "typescript": "^4.4.3" |
103 |
| - }, |
104 |
| - "peerDependencies": { |
105 |
| - "@nestjs/common": ">=7.*", |
106 |
| - "@nestjs/core": ">=7.*", |
107 |
| - "@nestjs/cqrs": ">=7.*", |
108 |
| - "amqp-connection-manager": ">=3.2", |
109 |
| - "amqplib": ">=0.5", |
110 |
| - "reflect-metadata": ">=0.1", |
111 |
| - "lodash": ">=4.17.21" |
112 |
| - }, |
113 |
| - "dependencies": {} |
| 114 | + "typescript": "^4.5.4" |
| 115 | + } |
114 | 116 | }
|
0 commit comments