redis-semaphore
Version:
Distributed mutex and semaphore based on Redis
70 lines (69 loc) • 2.02 kB
JSON
{
"name": "redis-semaphore",
"version": "5.0.0",
"description": "Distributed mutex and semaphore based on Redis",
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"test": "eslint --ext .js,.ts . && mocha",
"test-ci-with-coverage": "eslint --ext .js,.ts . && nyc mocha && nyc report --reporter=text-lcov | coveralls",
"converalls": "nyc mocha && nyc report --reporter=text-lcov | coveralls",
"dev": "mocha -w",
"check-types": "tsc -b tsconfig.check-types.json",
"build": "yarn build-commonjs",
"build-commonjs": "rm -rf lib && yarn tsc -b tsconfig.build-commonjs.json",
"build-es": "rm -rf es && yarn tsc -b tsconfig.build-es.json",
"preversion": "yarn test && yarn build"
},
"repository": {
"type": "git",
"url": "git@github.com:swarthy/redis-semaphore.git"
},
"keywords": [
"redis",
"redlock",
"mutex",
"semaphore"
],
"author": "Alexander Mochalin (horroshow@mail.ru)",
"license": "MIT",
"devDependencies": {
"@swarthy/wait-for": "^2.1.1",
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
"@types/debug": "^4.1.7",
"@types/mocha": "^9.1.1",
"@types/node": "17.0.31",
"@types/sinon": "^10.0.11",
"@types/sinon-chai": "^3.2.8",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "5.21.0",
"@typescript-eslint/parser": "5.21.0",
"benchmark": "^2.1.4",
"chai": "4.3.6",
"chai-as-promised": "7.1.1",
"coveralls": "^3.1.1",
"eslint": "8.14.0",
"eslint-config-inclusive": "1.2.10",
"eslint-plugin-node": "11.1.0",
"ioredis": "^5.0.4",
"mocha": "10.0.0",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^15.1.0",
"sinon": "13.0.2",
"sinon-chai": "3.7.0",
"snyk": "1.915.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.4"
},
"engines": {
"node": ">= 14.0.0"
},
"peerDependencies": {
"ioredis": "^4.1.0 || ^5"
},
"dependencies": {
"debug": "^4.3.4",
"uuid": "^8.3.2"
}
}