@shagital/atomic-lock
Version:
Universal atomic locking with pluggable drivers (Redis, SQLite, File, Memory)
56 lines (55 loc) • 1.37 kB
JSON
{
"name": "@shagital/atomic-lock",
"version": "1.0.1",
"description": "Universal atomic locking with pluggable drivers (Redis, SQLite, File, Memory)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"test": "npm run test:jest && npm run test:integration",
"test:integration": "npx ts-node test/integration.ts",
"test:jest": "jest --coverage",
"test:watch": "jest --watch",
"prepublishOnly": "npm run build && npm test"
},
"keywords": [
"atomic-lock",
"distributed-lock",
"redis-lock",
"sqlite-lock",
"file-lock",
"circuit-breaker",
"concurrency",
"typescript",
"universal-driver"
],
"author": "Zacchaeus Bolaji",
"license": "MIT",
"peerDependencies": {
"better-sqlite3": "^8.0.0",
"ioredis": "^5.0.0"
},
"peerDependenciesMeta": {
"ioredis": {
"optional": true
},
"better-sqlite3": {
"optional": true
}
},
"dependencies": {
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^18.0.0",
"@types/uuid": "^9.0.0",
"better-sqlite3": "^8.0.0",
"ioredis": "^5.6.1",
"jest": "^29.0.0",
"sqlite3": "^5.1.7",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.0.0"
}
}