Files
safe-redis-leader/package.json
2022-11-10 20:31:40 +07:00

51 lines
1.6 KiB
JSON

{
"name": "ts-safe-redis-leader",
"version": "0.0.4",
"description": "Redis leader election implementation that does not have any race conditions in Typescript",
"main": "dist/safeRedisLeader.js",
"scripts": {
"eslint": "eslint '{src,apps,libs,test}/**/*.ts' --fix",
"test:debug": "node --inspect=0.0.0.0:9229 node_modules/.bin/jest --config ./test/jest-e2e.json --runInBand",
"test": "node_modules/.bin/jest --config ./test/jest-e2e.json --forceExit",
"prepublishOnly": "npm run eslint && npm run test && npm run build",
"build": "tsc -p tsconfig.build.json"
},
"author": "Marc Gagnon",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Nesci28/safe-redis-leader.git"
},
"keywords": [
"redis",
"leader",
"elections",
"distributed"
],
"bugs": {
"url": "https://github.com/Nesci28/safe-redis-leader/issues"
},
"homepage": "https://github.com/Nesci28/safe-redis-leader/blob/master/README.md",
"dependencies": {
"ioredis": "^5.2.3"
},
"devDependencies": {
"@types/jest": "^26.0.24",
"@types/lodash": "^4.14.171",
"@types/node": "^16.3.2",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"eslint": "^7.30.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^27.0.6",
"lodash": "^4.17.21",
"ts-jest": "^27.0.3",
"typescript": "^4.3.5",
"uglify-js": "^3.13.10"
}
}