forked from mike-marcacci/node-redlock
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.78 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 1.78 KB
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
{
"name": "redlock",
"version": "5.0.0-alpha.0",
"description": "A node.js redlock implementation for distributed redis locks",
"license": "MIT",
"author": {
"name": "Mike Marcacci",
"email": "mike.marcacci@gmail.com"
},
"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/index.js",
"keywords": [
"nodejs",
"redlock",
"distributed",
"lock",
"redis"
],
"files": [
"dist/index.d.ts",
"dist/index.js",
"dist/index.js.map"
],
"engines": {
"node": ">=12"
},
"browserslist": "node >= 12",
"ava": {
"nodeArguments": [
"--experimental-specifier-resolution=node"
]
},
"devDependencies": {
"@types/ioredis": "^4.26.6",
"@types/node": "^16.4.2",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"@typescript-eslint/parser": "^4.28.4",
"ava": "^3.13.0",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.2.0",
"ioredis": "^4.19.2",
"nodemon": "^2.0.6",
"prettier": "^2.2.1",
"typescript": "^4.1.2"
},
"scripts": {
"format": "prettier --list-different --write '**/*.{json,yml,md,ts}'",
"lint": "prettier -c '**/*.{json,yml,md,ts}' && eslint src --ext ts",
"build": "rm -rf dist && tsc",
"build:development": "rm -rf dist && tsc --watch",
"test": "ava --verbose dist/*.test.js",
"test:development": "ava --verbose --watch dist/*.test.js",
"prepare": "yarn build",
"prepublishOnly": "yarn install && yarn lint && yarn build && yarn test"
},
"dependencies": {
"node-abort-controller": "^2.0.0"
},
"type": "module",
"exports": "./dist/index.js"
}