forked from mike-marcacci/node-redlock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 2.62 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@energiency/redlock",
"version": "1.0.2",
"description": "A node.js redlock implementation for distributed redis locks",
"license": "MIT",
"author": {
"name": "Energiency",
"email": "[email protected]"
},
"repository": "https://github.com/energiency/node-redlock.git",
"homepage": "https://github.com/energiency/node-redlock#readme",
"bugs": "https://github.com/energiency/node-redlock/issues",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"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": ">=20"
},
"browserslist": "node >= 20",
"ava": {
"nodeArguments": [
"--experimental-specifier-resolution=node"
]
},
"devDependencies": {
"@semantic-release/git": "^10.0.1",
"@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",
"nodemon": "^2.0.15",
"prettier": "^2.5.1",
"redis": "^4.6.13",
"semantic-release": "^23.0.8",
"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",
"release": "semantic-release"
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
},
"type": "module",
"publishConfig": {
"access": "public"
}
}