package.json
{
"name": "redis-semaphore",
"version": "5.6.1",
"description": "Distributed mutex and semaphore based on Redis",
"main": "lib/index.js",
"scripts": {
"lint": "eslint --ext .js,.ts .",
"test": "mocha",
"test-ci-with-coverage": "nyc mocha && nyc report --reporter=text-lcov | coveralls",
"coverage-html": "nyc mocha && nyc report --reporter=html",
"converalls": "nyc mocha && nyc report --reporter=text-lcov | coveralls",
"dev": "mocha -w",
"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 lint && 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",
"@swc-node/register": "1.10.9",
"@swc/core": "1.7.35",
"@types/chai": "^4.3.20",
"@types/chai-as-promised": "^7.1.8",
"@types/debug": "^4.1.12",
"@types/ioredis-mock": "^8.2.5",
"@types/mocha": "^10.0.9",
"@types/node": "20.16.11",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"benchmark": "^2.1.4",
"chai": "4.5.0",
"chai-as-promised": "7.1.2",
"coveralls": "^3.1.1",
"eslint": "8.57.1",
"eslint-config-inclusive": "1.2.10",
"eslint-plugin-node": "11.1.0",
"ioredis": "5.4.1",
"ioredis-mock": "8.9.0",
"mocha": "10.7.3",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^15.1.0",
"sinon": "18.0.1",
"sinon-chai": "3.7.0",
"snyk": "1.1293.1",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
},
"engines": {
"node": ">= 14.17.0"
},
"peerDependencies": {
"ioredis": "^4.1.0 || ^5"
},
"peerDependenciesMeta": {
"ioredis": {
"optional": true
}
},
"dependencies": {
"debug": "^4.3.7"
},
"packageManager": "yarn@4.1.0+sha256.81a00df816059803e6b5148acf03ce313cad36b7f6e5af6efa040a15981a6ffb"
}