elector
Version:
simple zookeeper based leader election
55 lines • 1.27 kB
JSON
{
"name": "elector",
"version": "2.0.3",
"description": "simple zookeeper based leader election",
"main": "index.js",
"scripts": {
"precommit": "lint-staged",
"test": "standard && docker-compose up -d && mocha",
"format": "prettier-standard '*.js' 'test/*js'",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"files": [
"index.js"
],
"repository": {
"type": "git",
"url": "https://github.com/hyperlink/elector.git"
},
"keywords": [
"zookeeper",
"leadership",
"election"
],
"engines": {
"node": ">6.0.0"
},
"author": "Xiaoxin Lu <javascript@yahoo.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/hyperlink/elector/issues"
},
"homepage": "https://github.com/hyperlink/elector#readme",
"dependencies": {
"async": "^2.4.1",
"debug": "^3.0.0",
"lodash": "^4.17.4",
"node-zookeeper-client": "^0.2.2"
},
"devDependencies": {
"husky": "^0.14.0",
"lint-staged": "^4.0.0",
"mocha": "^3.4.2",
"prettier-standard": "^6.0.0",
"semantic-release": "^6.3.6",
"standard": "^10.0.2"
},
"lint-staged": {
"linters": {
"**/*.js": [
"prettier-standard",
"git add"
]
}
}
}