You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.7 KiB
58 lines
1.7 KiB
{
|
|
"name": "workerpool",
|
|
"license": "Apache-2.0",
|
|
"version": "9.3.4",
|
|
"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 <wjosdejong@gmail.com> (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 && npm run build"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.28.4",
|
|
"@babel/preset-env": "7.28.3",
|
|
"@rollup/plugin-babel": "6.0.4",
|
|
"@rollup/plugin-commonjs": "28.0.6",
|
|
"@rollup/plugin-json": "6.1.0",
|
|
"@rollup/plugin-node-resolve": "16.0.1",
|
|
"@rollup/plugin-terser": "0.4.4",
|
|
"@types/node": "24.3.1",
|
|
"c8": "10.1.3",
|
|
"core-js": "3.45.1",
|
|
"date-format": "4.0.14",
|
|
"find-process": "2.0.0",
|
|
"fs-extra": "11.3.1",
|
|
"mocha": "11.7.2",
|
|
"rollup": "4.50.1",
|
|
"typescript": "5.9.2"
|
|
}
|
|
}
|