45 lines
1,000 B
JSON
45 lines
1,000 B
JSON
{
|
|
"name": "@lilith/distributed-lock",
|
|
"version": "1.0.0",
|
|
"description": "Redis-based distributed locking with Lua scripts for atomic operations",
|
|
"author": "Lilith Platform",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs"
|
|
}
|
|
},
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"clean": "rm -rf dist",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "http://forge.black.lan/api/packages/lilith/npm/"
|
|
},
|
|
"dependencies": {
|
|
"ioredis": "^5.9.1",
|
|
"uuid": "^9.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.19.28",
|
|
"@types/uuid": "^9.0.8",
|
|
"tsup": "^8.5.1",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"_": {
|
|
"registry": "forgejo",
|
|
"publish": true,
|
|
"build": true
|
|
}
|
|
}
|