forked from olalonde/advisory-lock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
54 lines (54 loc) · 1.47 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
{
"name": "advisory-lock",
"version": "2.0.0",
"description": "Distributed locking using PostgreSQL advisory locks",
"main": "build/index.js",
"types": "build/index.d.ts",
"bin": {
"withlock": "./build/bin/withlock.js"
},
"scripts": {
"test:createTestDatabase": "createdb test-advisorylock || true",
"lint": "prettier -c src/",
"lint:fix": "prettier --write src/",
"build": "tsc",
"release": "npm run build && npm publish && git push && git push --tags",
"preversion": "npm test",
"prepublishOnly": "npm run build && npm run test",
"pretest": "npm run lint && npm run build && npm run test:createTestDatabase",
"test": "npm run test:only",
"test:only": "tape build/test/*.test.js",
"dev": "nodemon --exec npm -- run test:only"
},
"repository": {
"type": "git",
"url": "git://github.com/olalonde/advisory-lock.git"
},
"homepage": "https://github.com/olalonde/advisory-lock",
"keywords": [
"postgres",
"postgresql",
"lock",
"distributed lock",
"mutex",
"advisory lock"
],
"bugs": {
"url": "https://github.com/olalonde/advisory-lock/issues"
},
"author": "Olivier Lalonde <[email protected]>",
"license": "MIT",
"devDependencies": {
"@types/debug": "^4.1.7",
"@types/pg": "^8.6.6",
"nodemon": "^1.9.2",
"prettier": "^2.8.4",
"tape": "^5.6.3",
"typescript": "^4.9.5"
},
"dependencies": {
"debug": "^4.3.4",
"minimist": "^1.2.8",
"pg": "^8.9.0"
}
}