-
Notifications
You must be signed in to change notification settings - Fork 107
/
package.json
97 lines (97 loc) · 2.82 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "piscina",
"version": "4.6.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": ">=18.x"
},
"scripts": {
"build": "tsc && gen-esm-wrapper . dist/esm-wrapper.mjs",
"lint": "standardx \"**/*.{ts,mjs,js,cjs}\" | snazzy",
"test": "c8 tap",
"test:ci": "npm run lint && npm run build && npm run test:coverage",
"test:coverage": "c8 --reporter=lcov tap --cov",
"prepack": "npm run build",
"bench": "npm run bench:taskqueue && npm run bench:piscina",
"bench:piscina": "npm run benchmark:piscina-default &&npm run benchmark:piscina-fixed-queue && npm run benchmark:piscina-comparison",
"bench:taskqueue": "npm run benchmark:queue-comparison",
"benchmark:piscina-default": "node benchmark/simple-benchmark.js",
"benchmark:piscina-fixed-queue": "node benchmark/simple-benchmark-fixed-queue.js",
"benchmark:piscina-comparison": "node benchmark/piscina-queue-comparison.js",
"benchmark:queue-comparison": "node benchmark/queue-comparison.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/piscinajs/piscina.git"
},
"keywords": [
"fast",
"worker threads",
"thread pool",
"wade wilson"
],
"author": "James M Snell <[email protected]>",
"contributors": [
"Anna Henningsen <[email protected]>",
"Matteo Collina <[email protected]>"
],
"license": "MIT",
"devDependencies": {
"@types/node": "^22.4.1",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"abort-controller": "^3.0.0",
"c8": "^10.1.2",
"concat-stream": "^2.0.0",
"gen-esm-wrapper": "^1.1.1",
"snazzy": "^9.0.0",
"standardx": "^7.0.0",
"tap": "^16.3.7",
"tinybench": "^3.0.0",
"ts-node": "^10.9.2",
"typescript": "5.7.2"
},
"optionalDependencies": {
"@napi-rs/nice": "^1.0.1"
},
"eslintConfig": {
"rules": {
"semi": [
"error",
"always"
],
"no-unused-vars": "off",
"no-use-before-define": "off",
"no-unreachable-loop": "off",
"no-dupe-class-members": "off",
"@typescript-eslint/no-unused-vars": "error"
},
"globals": {
"SharedArrayBuffer": true,
"Atomics": true,
"AbortController": true,
"MessageChannel": true
}
},
"standardx": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint/eslint-plugin"
]
},
"bugs": {
"url": "https://github.com/piscinajs/piscina/issues"
},
"homepage": "https://github.com/piscinajs/piscina#readme",
"directories": {
"example": "examples",
"test": "test"
}
}