consul-balancer
Version:
consul service discovery and balancing
68 lines (67 loc) • 1.87 kB
JSON
{
"name": "consul-balancer",
"version": "1.0.10",
"description": "consul service discovery and balancing",
"main": "built/index.js",
"types": "built/index.d.ts",
"files": [
"built"
],
"scripts": {
"test": "jest",
"lint": "eslint --ext .ts ./lib",
"format": "prettier --write \"{,!(node_modules)/**/}*.{js,ts}\"",
"format-check": "prettier --check \"{,!(node_modules)/**/}*.{js,ts}\"",
"prepublishOnly": "npm run build",
"build": "rm -rf built && tsc",
"gen:proto-types": "proto-loader-gen-types --longs=String --enums=String--oneofs --outDir=test/type/proto --grpcLib=@grpc/grpc-js test/*.proto"
},
"repository": {
"type": "git",
"url": "git@github.com:yolopunk/consul-balancer.git"
},
"keywords": [
"consul",
"load-balance",
"service",
"discovery"
],
"author": "cynosurech@gmail.com",
"license": "ISC",
"devDependencies": {
"@tsconfig/node-lts-strictest": "^18.12.1",
"@types/consul": "^0.40.0",
"@types/jest": "^29.2.5",
"@types/lodash.defaults": "^4.2.7",
"@types/lodash.omit": "^4.5.7",
"@types/lodash.sample": "^4.2.7",
"@types/lodash.set": "^4.3.7",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"jest": "^29.3.1",
"prettier": "2.8.1",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"dependencies": {
"consul": "^1.2.0",
"lodash.defaults": "^4.2.0",
"lodash.omit": "^4.5.0",
"lodash.sample": "^4.2.1",
"lodash.set": "^4.3.2",
"urllib": "^2.40.0"
},
"prettier": {
"tabWidth": 2,
"semi": false,
"singleQuote": true
},
"peerDependencies": {
"@grpc/grpc-js": "^1.9.0",
"@grpc/proto-loader": "^0.7.8"
}
}