forked from piscinajs/piscina
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.42 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 2.42 KB
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
{
"name": "piscina",
"version": "5.1.1",
"description": "A fast, efficient Node.js Worker Thread Pool implementation",
"main": "./dist/main.js",
"types": "./dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/esm-wrapper.mjs",
"require": "./dist/main.js"
},
"engines": {
"node": ">=20.x"
},
"scripts": {
"build": "tsc && gen-esm-wrapper . dist/esm-wrapper.mjs",
"lint": "eslint && tsc --noEmit && tsc --project test/tsconfig.json --noEmit",
"test": "node scripts/run-tests.js --pattern='test/**/*test.ts'",
"test:ci": "npm run build && npm run lint && npm run test:coverage",
"test:coverage": "node scripts/run-tests.js --coverage --pattern='test/**/*test.ts'",
"prepack": "npm run build",
"benchmark": "node --allow-natives-syntax benchmark/index.js --scope all",
"benchmark:ci": "node --allow-natives-syntax benchmark/index.js --scope all --reporter json | jq '.[] | .name, .opsSec'",
"benchmark:simple": "node --allow-natives-syntax benchmark/index.js --scope simple:all",
"benchmark:simple:default": "node --allow-natives-syntax benchmark/index.js --scope simple",
"benchmark:simple:async": "node --allow-natives-syntax benchmark/index.js --scope simple:async",
"benchmark:startup": "node --allow-natives-syntax benchmark/index.js --scope startup",
"benchmark:queue": "node --allow-natives-syntax benchmark/index.js --scope queue"
},
"repository": {
"type": "git",
"url": "git+https://github.com/piscinajs/piscina.git"
},
"keywords": [
"fast",
"worker threads",
"thread pool",
"wade wilson"
],
"author": "James M Snell <jasnell@gmail.com>",
"contributors": [
"Anna Henningsen <anna@addaleax.net>",
"Matteo Collina <matteo.collina@gmail.com>",
"Carlos Fuentes <me@metcoder.dev>"
],
"license": "MIT",
"devDependencies": {
"@types/node": "^24.0.1",
"abort-controller": "^3.0.0",
"bench-node": "^0.12.0",
"concat-stream": "^2.0.0",
"eslint": "^9.16.0",
"expect-type": "^1.2.1",
"gen-esm-wrapper": "^1.1.1",
"glob": "^11.0.2",
"neostandard": "^0.12.0",
"tsx": "^4.20.3",
"typescript": "5.8.3"
},
"optionalDependencies": {
"@napi-rs/nice": "^1.0.4"
},
"bugs": {
"url": "https://github.com/piscinajs/piscina/issues"
},
"homepage": "https://github.com/piscinajs/piscina#readme",
"directories": {
"example": "examples",
"test": "test"
}
}