whale-nest-nacos
Version:
If you are a nest micro service architecture, you can use the SDK, so as to realize service discovery based on nacos, distributed load balancing strategy
71 lines (70 loc) • 1.97 kB
JSON
{
"name": "whale-nest-nacos",
"version": "1.3.25",
"description": "If you are a nest micro service architecture, you can use the SDK, so as to realize service discovery based on nacos, distributed load balancing strategy",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"build": "rm -rf lib && tsc -p ./tsconfig.build.json",
"test": "jest",
"test-coverage": "jest --collectCoverage",
"preversion": "npm run format && npm run lint && npm run test",
"version": "npm run build",
"postversion": "git push && git push --tags",
"format": "prettier --write --parser typescript \"src/**/*.ts\"",
"lint": "eslint --ext .ts src"
},
"lint-staged": {
"src/**/*.ts": [
"eslint",
"prettier --parser=typescript --write"
]
},
"files": [
"lib"
],
"keywords": [
"node",
"nestjs",
"nacos",
"Microservice",
"typescript"
],
"author": "Dollbug",
"homepage": "https://github.com/Dollbug/whale-nest-nacos/blob/master/README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/Dollbug/whale-nest-nacos.git"
},
"bugs": {
"url": "https://github.com/Dollbug/whale-nest-nacos/issues"
},
"engines": {
"node": ">=10.0.0"
},
"dependencies": {
"@nestjs/common": "^6.7.2",
"@nestjs/microservices": "^7.0.9",
"grpc": "^1.24.6",
"nacos": "^2.2.1",
"rxjs": "^6.5.3",
"util": "^0.12.4"
},
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@types/config": "0.0.41",
"@types/jest": "^26.0.3",
"@types/node": "^14.0.14",
"@typescript-eslint/eslint-plugin": "^4.6.1",
"@typescript-eslint/parser": "^4.6.1",
"eslint": "^7.12.1",
"eslint-config-prettier": "^6.15.0",
"husky": "^4.3.0",
"jest": "^26.1.0",
"lint-staged": "^10.5.1",
"prettier": "^2.6.1",
"typescript": "^4.6.2"
}
}