nestjs-google-pubsub-microservice
Version:
NestJS Google Cloud Pub/Sub Microservice Transport
157 lines (156 loc) • 4.14 kB
JSON
{
"name": "nestjs-google-pubsub-microservice",
"version": "11.0.2",
"description": "NestJS Google Cloud Pub/Sub Microservice Transport",
"author": "Pavel Fediukovich",
"license": "MIT",
"main": "dist/index.js",
"url": "https://github.com/p-fedyukovich/nestjs-google-pubsub-microservice#readme",
"keywords": [
"google-pubsub",
"pubsub",
"nestjs",
"microservice",
"typescript",
"nestjs-microservices",
"nestjs-library"
],
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.json",
"format": "prettier --write \"**/*.ts\"",
"lint": "eslint 'lib/**/*.ts' --fix",
"test": "jest --runInBand",
"test:e2e": "jest --config ./tests/jest-e2e.json --runInBand",
"test:e2e:dev": "jest --config ./tests/jest-e2e.json --runInBand --watch",
"cm": "cz"
},
"devDependencies": {
"@commitlint/cli": "11.0.0",
"@commitlint/config-angular": "11.0.0",
"@google-cloud/pubsub": "^4.10.0",
"@nestjs/common": "^11.0.11",
"@nestjs/core": "^11.0.11",
"@nestjs/microservices": "^11.0.11",
"@nestjs/platform-express": "^11.0.11",
"@nestjs/testing": "^11.0.11",
"@ryansonshine/commitizen": "^4.2.8",
"@ryansonshine/cz-conventional-changelog": "^3.3.4",
"@types/chai": "^4.2.21",
"@types/jest": "28.1.8",
"@types/node": "^20.14.8",
"@types/sinon": "^10.0.2",
"@types/supertest": "^2.0.12",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"chai": "4.3.4",
"conventional-changelog-conventionalcommits": "^8.0.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "4.3.6",
"jest": "^29.5.0",
"lint-staged": "11.1.2",
"prettier": "^3.0.0",
"reflect-metadata": "^0.1.13",
"release-it": "^14.11.5",
"rxjs": "^7.8.1",
"semantic-release": "^24.2.0",
"sinon": "11.1.2",
"supertest": "^6.3.3",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"typescript": "^5.1.3"
},
"peerDependencies": {
"@google-cloud/pubsub": "^4.0.0",
"@nestjs/common": "^11.0.0",
"@nestjs/core": "^11.0.0",
"@nestjs/microservices": "^11.0.0",
"reflect-metadata": "^0.1.13 || ^0.2.2",
"rxjs": "^7.8.1"
},
"lint-staged": {
"*.ts": [
"prettier --write"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -c .commitlintrc.json -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/p-fedyukovich/nestjs-google-pubsub-microservice.git"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "lib",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"config": {
"commitizen": {
"path": "./node_modules/@ryansonshine/cz-conventional-changelog"
}
},
"release": {
"branches": [
"master"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "build",
"scope": "deps",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "build",
"section": "Dependencies and Other Build Updates",
"hidden": false
}
]
}
}
],
"@semantic-release/npm",
"@semantic-release/github"
]
}
}