-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.35 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
{
"name": "lbx-multithreading",
"version": "1.0.0",
"description": "This packages aims to take care of most of your multi threading concerns, including: -a reusable worker pool that is automatically sized based on the available threads (can be [configured](#optional-configuration)) - support for typescript out of the box - a way to run worker files, being really close to the original implementation - a simple way to run a function in a separate thread - storing data about your thread jobs like status, error etc. inside the database - utility functions to easily update the progress, status, error or result of the job - configurable timeouts for jobs and self healing capabilities of the worker pool",
"keywords": [
"loopback-4",
"loopback",
"multithreading",
"thread",
"worker",
"worker-pool"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "18 || 20 || 22"
},
"scripts": {
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"pretest": "npm run rebuild",
"test": "lb-mocha --allow-console-logs --timeout 10000 --bail \"dist/__tests__\"",
"test:quick": "npm test -- --grep '^(?!.*ThreadJobService heavy tasks)'",
"test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js",
"clean": "lb-clean dist *.tsbuildinfo .eslintcache",
"rebuild": "npm run clean && npm run build",
"lint": "eslint ./ --max-warnings=0"
},
"repository": {
"type": "git",
"url": ""
},
"author": "tim-fabian <[email protected]>",
"license": "MIT",
"files": [
"README.md",
"LICENSE.md",
"dist",
"src",
"!*/__tests__"
],
"peerDependencies": {
"@loopback/core": "^6.0.2",
"rxjs": "",
"ts-node": "",
"uuid": "^10"
},
"dependencies": {
"tslib": "^2.6.3"
},
"devDependencies": {
"rxjs": "^7.8.1",
"uuid": "^10.0.0",
"@loopback/build": "^11.0.3",
"@loopback/core": "^6.1.0",
"@loopback/repository": "^7.0.3",
"@loopback/testlab": "^7.0.3",
"@types/node": "^20.14.6",
"@types/uuid": "^9.0.8",
"eslint-config-service-soft": "^1.5.1",
"source-map-support": "^0.5.21",
"typescript": "~5.4.5"
}
}