forked from mike-marcacci/node-redlock
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
75 lines (75 loc) · 2.13 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "redlock",
"version": "v5.0.0-beta.2",
"description": "A node.js redlock implementation for distributed redis locks",
"license": "MIT",
"author": {
"name": "Mike Marcacci",
"email": "[email protected]"
},
"repository": "https://github.com/mike-marcacci/node-redlock.git",
"homepage": "https://github.com/mike-marcacci/node-redlock#readme",
"bugs": "https://github.com/mike-marcacci/node-redlock/issues",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"keywords": [
"nodejs",
"redlock",
"distributed",
"lock",
"redis"
],
"files": [
"dist/index.d.ts",
"dist/esm/package.json",
"dist/esm/index.js",
"dist/esm/index.js.map",
"dist/cjs/package.json",
"dist/cjs/index.js",
"dist/cjs/index.js.map"
],
"engines": {
"node": ">=12"
},
"browserslist": "node >= 12",
"ava": {
"nodeArguments": [
"--experimental-specifier-resolution=node"
]
},
"devDependencies": {
"@types/ioredis": "^4.28.8",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"ava": "^4.1.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"ioredis": "^4.28.5",
"nodemon": "^2.0.15",
"prettier": "^2.5.1",
"typescript": "~4.6.2"
},
"scripts": {
"format": "prettier --list-different --write '**/*.{json,yml,md,ts}'",
"lint": "prettier -c '**/*.{json,yml,md,ts}' && eslint src --ext ts",
"build": "rm -f dist/**/*.{js,js.map,d.ts} && tsc && tsc -p tsconfig.cjs.json",
"build:development": "rm -f dist/**/*.{js,js.map,d.ts} && tsc --watch",
"test": "cd dist/esm && ava --verbose *.test.js",
"test:development": "cd dist/esm && ava --verbose --watch *.test.js",
"prepare": "yarn build",
"prepublishOnly": "yarn install && yarn lint && yarn build"
},
"dependencies": {
"node-abort-controller": "^3.0.1"
},
"type": "module"
}