|
1 | 1 | { |
2 | 2 | "name": "dlock", |
3 | | - "version": "0.0.0-development", |
| 3 | + "version": "0.0.0", |
4 | 4 | "description": "Creates distributed callback queue based on redis pubsub. Pass 2 redis clients (supports redis sentinel as well for HA), manages locks across multiple processes", |
5 | 5 | "main": "./lib/distributed-callback-queue.js", |
6 | 6 | "scripts": { |
|
9 | 9 | "prepare": "yarn compile", |
10 | 10 | "lint": "eslint ./src", |
11 | 11 | "compile": "babel -d ./lib src", |
12 | | - "semantic-release": "semantic-release", |
13 | | - "commitmsg": "commitlint -e $GIT_PARAMS", |
14 | | - "preparecommitmsg": "./node_modules/@makeomatic/deploy/git-hooks/prepare-commit-msg $GIT_PARAMS" |
| 12 | + "semantic-release": "semantic-release" |
15 | 13 | }, |
16 | 14 | "repository": { |
17 | 15 | "type": "git", |
|
26 | 24 | "pubsub", |
27 | 25 | "redis" |
28 | 26 | ], |
29 | | - "author": "Vitaly Aminev <v@makeomatic.ru>", |
| 27 | + "author": "Vitaly Aminev <v@makeomatic.ca>", |
30 | 28 | "license": "MIT", |
31 | 29 | "bugs": { |
32 | 30 | "url": "https://github.com/AVVS/distributed-callback-queue/issues" |
|
40 | 38 | "bunyan": "^1.8.12", |
41 | 39 | "callback-queue": "^2.0.0", |
42 | 40 | "denque": "^1.3.0", |
43 | | - "ioredis-lock": "^3.4.0", |
| 41 | + "ioredis-lock": "^4.0.0", |
44 | 42 | "lodash": "^4.17.10", |
45 | | - "serialize-error": "^2.1.0" |
| 43 | + "serialize-error": "^3.0.0" |
46 | 44 | }, |
47 | 45 | "devDependencies": { |
48 | | - "@babel/cli": "^7.0.0-rc.1", |
49 | | - "@babel/core": "^7.0.0-rc.1", |
| 46 | + "@babel/cli": "^7.2.3", |
50 | 47 | "@babel/plugin-transform-strict-mode": "^7.0.0-rc.1", |
51 | | - "@babel/register": "^7.0.0-rc.1", |
52 | 48 | "@makeomatic/condition-semaphore": "^2.0.0", |
53 | | - "@makeomatic/deploy": "^7.0.1", |
| 49 | + "@makeomatic/deploy": "^8.3.1", |
54 | 50 | "@makeomatic/last-release-npm": "^1.0.1", |
55 | | - "babel-core": "^7.0.0-0", |
56 | | - "babel-eslint": "^8.2.6", |
57 | | - "babel-jest": "^23.4.2", |
| 51 | + "babel-eslint": "^10.0.1", |
58 | 52 | "babel-plugin-istanbul": "^5.0.0", |
59 | 53 | "codecov": "^3.0.4", |
60 | 54 | "cross-env": "^5.2.0", |
61 | 55 | "eslint": "^5.3.0", |
62 | 56 | "eslint-config-makeomatic": "^3.0.0", |
63 | 57 | "eslint-plugin-import": "^2.13.0", |
64 | | - "eslint-plugin-promise": "^3.8.0", |
65 | | - "ioredis": "^3.2.2", |
66 | | - "jest-cli": "^23.5.0", |
67 | | - "mocha": "^5.2.0", |
68 | | - "nyc": "^12.0.2", |
69 | | - "sinon": "^6.1.5" |
| 58 | + "eslint-plugin-promise": "^4.0.1", |
| 59 | + "ioredis": "^4.6.2", |
| 60 | + "jest": "^24.1.0", |
| 61 | + "sinon": "^7.2.3" |
70 | 62 | }, |
71 | 63 | "engine": { |
72 | 64 | "node": ">= 8.9.0" |
|
77 | 69 | "files": [ |
78 | 70 | "src/", |
79 | 71 | "lib/" |
80 | | - ] |
| 72 | + ], |
| 73 | + "husky": { |
| 74 | + "hooks": { |
| 75 | + "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS", |
| 76 | + "prepare-commit-msg": "./node_modules/@makeomatic/deploy/git-hooks/prepare-commit-msg $HUSKY_GIT_PARAMS" |
| 77 | + } |
| 78 | + } |
81 | 79 | } |
0 commit comments