UNPKG

@da440dil/js-locker

Version:
53 lines (52 loc) 1.41 kB
{ "name": "@da440dil/js-locker", "version": "0.10.0", "description": "Distributed locking using Redis", "main": "lib/index.js", "scripts": { "test": "jest --runInBand", "test:coverage": "jest --runInBand --coverage", "lint": "eslint --ext .ts src examples benchmarks", "build": "rimraf lib && tsc -p tsconfig.build.json", "preversion": "npm run lint && npm run test", "prepublishOnly": "npm run build", "file": "ts-node", "coveralls": "jest --runInBand --coverage --coverageReporters=text-lcov | coveralls" }, "keywords": [ "distributed", "lock", "locks", "locking", "distributed-lock", "distributed-locking", "redis" ], "author": "Anatoly Demidovich", "license": "MIT", "private": false, "engines": { "node": ">=12.0" }, "dependencies": { "@da440dil/js-redis-script": "^0.4.0" }, "devDependencies": { "@types/jest": "^27.4.0", "@types/node": "^17.0.7", "@typescript-eslint/eslint-plugin": "^5.9.0", "@typescript-eslint/parser": "^5.9.0", "coveralls": "^3.1.1", "eslint": "^8.6.0", "jest": "^27.4.5", "redis": "^4.0.1", "rimraf": "^3.0.2", "ts-jest": "^27.1.2", "ts-node": "^10.4.0", "typescript": "^4.5.4" }, "repository": { "type": "git", "url": "https://github.com/da440dil/js-locker.git" } }