|
3 | 3 | "version": "3.0.0", |
4 | 4 | "description": "Put your callbacks into queue to make sure that concurrent requests that you might want to perform will only be executed once", |
5 | 5 | "main": "./lib/callback-queue.js", |
| 6 | + "type": "module", |
| 7 | + "exports": { |
| 8 | + ".": { |
| 9 | + "import": "./lib/callback-queue.js", |
| 10 | + "default": "./lib/callback-queue.js", |
| 11 | + "types": "./lib/callback-queue.d.ts" |
| 12 | + } |
| 13 | + }, |
6 | 14 | "publishConfig": { |
7 | 15 | "access": "public" |
8 | 16 | }, |
9 | 17 | "scripts": { |
10 | | - "test": "yarn lint && mocha -r ts-node/register -R spec test/*.spec.ts", |
| 18 | + "test": "pnpm lint && pnpm compile && mocha test/*.spec.ts", |
11 | 19 | "lint": "eslint ./src", |
12 | | - "pretest": "yarn compile", |
13 | 20 | "compile": "tsc --build ./tsconfig.build.json", |
14 | | - "prepublishOnly": "yarn compile", |
| 21 | + "prepublishOnly": "pnpm compile", |
15 | 22 | "semantic-release": "semantic-release" |
16 | 23 | }, |
17 | 24 | "repository": { |
|
30 | 37 | "author": "Vitaly Aminev <v@aminev.me>", |
31 | 38 | "license": "MIT", |
32 | 39 | "dependencies": { |
33 | | - "debug": "^4.1.1" |
| 40 | + "debug": "^4.4.0" |
34 | 41 | }, |
35 | 42 | "engine": { |
36 | | - "node": ">= 12.15.x" |
| 43 | + "node": ">= 22.13.0" |
37 | 44 | }, |
38 | 45 | "devDependencies": { |
39 | | - "@makeomatic/deploy": "^10.4.0", |
40 | | - "@types/bluebird": "^3.5.33", |
41 | | - "@types/debug": "^4.1.5", |
42 | | - "@types/ioredis": "^4.22.3", |
43 | | - "@types/mocha": "^8.2.2", |
44 | | - "@types/node": "^14.14.41", |
45 | | - "@types/sinon": "^10.0.0", |
46 | | - "@types/uuid": "^8.3.0", |
47 | | - "@typescript-eslint/eslint-plugin": "^4.22.0", |
48 | | - "@typescript-eslint/parser": "^4.22.0", |
| 46 | + "@makeomatic/deploy": "^13.1.0", |
| 47 | + "@swc-node/register": "^1.10.9", |
| 48 | + "@types/debug": "^4.1.12", |
| 49 | + "@types/mocha": "^10.0.10", |
| 50 | + "@types/node": "^22.10.7", |
| 51 | + "@types/sinon": "^17.0.3", |
| 52 | + "@typescript-eslint/eslint-plugin": "^7.18.0", |
| 53 | + "@typescript-eslint/parser": "^7.18.0", |
49 | 54 | "cross-env": "^7.0.3", |
50 | | - "eslint": "^7.24.0", |
51 | | - "eslint-config-makeomatic": "^5.0.4", |
52 | | - "eslint-plugin-import": "^2.22.1", |
53 | | - "eslint-plugin-promise": "^5.1.0", |
54 | | - "ioredis": "^4.26.0", |
55 | | - "mocha": "^8.3.2", |
56 | | - "sinon": "^10.0.0", |
57 | | - "ts-node": "^9.1.1", |
58 | | - "typescript": "^4.2.3" |
| 55 | + "eslint": "^8.57.1", |
| 56 | + "eslint-config-makeomatic": "^6.0.0", |
| 57 | + "eslint-plugin-import": "^2.31.0", |
| 58 | + "eslint-plugin-promise": "^7.2.1", |
| 59 | + "mocha": "^11.0.1", |
| 60 | + "sinon": "^19.0.2", |
| 61 | + "typescript": "^5.7.3" |
59 | 62 | }, |
60 | 63 | "files": [ |
61 | 64 | "src/", |
62 | 65 | "lib/" |
63 | | - ], |
64 | | - "husky": { |
65 | | - "hooks": { |
66 | | - "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS", |
67 | | - "prepare-commit-msg": "./node_modules/@makeomatic/deploy/git-hooks/prepare-commit-msg $HUSKY_GIT_PARAMS" |
68 | | - } |
69 | | - } |
| 66 | + ] |
70 | 67 | } |
0 commit comments