UNPKG

node-redis-warlock

Version:

Battle-hardened distributed locking using redis

41 lines (40 loc) 1.02 kB
{ "name": "node-redis-warlock", "version": "1.0.0", "description": "Battle-hardened distributed locking using redis", "main": "lib/warlock.js", "scripts": { "pretest": "npm run start-redis", "posttest": "npm run cleanup", "start-redis": "docker-compose up -d redis", "test": "mocha --exit ./test/warlock", "cleanup": "docker-compose stop && docker-compose rm -f" }, "repository": { "type": "git", "url": "https://github.com/thedeveloper/warlock" }, "keywords": [ "node.js", "redis", "lock" ], "author": "Geoff Wagstaff", "license": "MIT", "bugs": { "url": "https://github.com/thedeveloper/warlock/issues" }, "homepage": "https://github.com/thedeveloper/warlock", "dependencies": { "node-redis-script": "^2.0.1", "uuid": "^8.3.2" }, "devDependencies": { "eslint": "^7.23.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.22.1", "mocha": "^8.3.2", "redis": "^3.1.0", "should": "^13.2.3" } }