forked from josdejong/workerpool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.67 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
{
"name": "workerpool",
"license": "Apache-2.0",
"version": "9.1.2",
"description": "Offload tasks to a pool of workers on node.js and in the browser",
"homepage": "https://github.com/josdejong/workerpool",
"author": "Jos de Jong <[email protected]> (https://github.com/josdejong)",
"repository": {
"type": "git",
"url": "git://github.com/josdejong/workerpool.git"
},
"keywords": [
"worker",
"web worker",
"cluster",
"pool",
"isomorphic"
],
"main": "src/index.js",
"browser": "dist/workerpool.js",
"types": "types/index.d.ts",
"files": [
"dist",
"src",
"types",
"HISTORY.md",
"LICENSE",
"README.md"
],
"scripts": {
"build": "rollup -c rollup.config.mjs && npm run build:types",
"build:types": "tsc -p .",
"watch": "rollup -c rollup.config.mjs -w",
"test": "npm run build && mocha test && npm run test:types",
"test:types": "tsc -p test/types",
"test:debug": "npm run build && mocha debug test",
"coverage": "npm run build && c8 mocha && c8 report --reporter=html && echo Coverage report is available at ./coverage/index.html",
"prepublishOnly": "npm run test"
},
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-env": "7.24.7",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "26.0.1",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "0.4.4",
"@types/node": "20.14.5",
"c8": "10.1.2",
"core-js": "3.37.1",
"date-format": "4.0.14",
"find-process": "1.4.7",
"fs-extra": "11.2.0",
"mocha": "10.4.0",
"rollup": "4.18.0",
"typescript": "5.4.5"
}
}