X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=5e5562d035b3c37f34d6f2c2c89b7437b05d5ed8;hb=dcb582f3a195c6c7040b92c1852d7c38752209a8;hp=196b8eb7391076f489921414aa1dd29971a53b75;hpb=27ebc9b4b3e49029357aa78a23af22c513b2f9ce;p=poolifier.git diff --git a/package.json b/package.json index 196b8eb7..65e34365 100644 --- a/package.json +++ b/package.json @@ -1,53 +1,128 @@ { "name": "poolifier", - "version": "0.0.2", - "description": "Library on top of node js worker threads that implement various worker pools type", - "main": "index.js", + "version": "2.3.8", + "description": "A fast, easy to use Node.js Worker Thread Pool and Cluster Pool implementation", + "license": "MIT", + "main": "lib/index.js", "scripts": { - "build": "npm install", - "test": "standard && nyc mocha --exit --timeout 20000 tests/*test.js ", - "debug-test": "mocha --inspect-brk --exit tests/*test.js ", - "demontest": "nodemon --exec \"npm test\"", - "coverage": "nyc report --reporter=text-lcov | coveralls", - "standard-verbose": "npx standard --verbose", - "lint": "standard --fix" + "prepare": "node prepare.js", + "build": "rollup --config --environment BUILD:development", + "build:typedoc": "rollup --config --environment BUILD:development --environment DOCUMENTATION", + "build:prod": "rollup --config", + "benchmark": "npm run build && node -r source-map-support/register benchmarks/internal/bench.js", + "benchmark:debug": "npm run build && node -r source-map-support/register --inspect benchmarks/internal/bench.js", + "benchmark:prod": "npm run build:prod && node -r source-map-support/register benchmarks/internal/bench.js", + "test": "npm run build && c8 mocha 'tests/**/*.test.js'", + "test:debug": "npm run build && mocha --no-parallel --inspect 'tests/**/*.test.js'", + "coverage": "c8 report --reporter=lcov", + "coverage:html": "c8 report --reporter=html", + "format": "prettier . --cache --write; ts-standard . --fix", + "lint": "eslint . --cache", + "lint:fix": "eslint . --cache --fix", + "lint:report": "eslint . --cache --format json --output-file reports/eslint.json", + "release": "release-it", + "typedoc": "typedoc", + "prepublishOnly": "npm run build:prod" + }, + "ts-standard": { + "globals": [ + "describe", + "it", + "before", + "after", + "beforeEach", + "afterEach" + ] + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=8.0.0" }, "repository": { "type": "git", - "url": "git+https://github.com/pioardi/poolifier.git" + "url": "git+https://github.com/poolifier/poolifier.git" }, "keywords": [ "node", - "thread-pool", + "pool", + "workers pool", + "threads pool", "worker-threads", + "cluster", + "cluster worker", + "concurrency", "performance", "cpu", "computing", - "async-resource" + "async computing", + "async resource" ], - "standard": { - "env": [ - "mocha", - "node" - ] - }, "author": "pioardi", - "license": "MIT", + "contributors": [ + { + "name": "Christopher Quadflieg", + "email": "chrissi92@hotmail.de", + "url": "https://github.com/Shinigami92" + }, + { + "name": "Jérôme Benoit", + "email": "jerome.benoit@piment-noir.org", + "url": "https://github.com/jerome-benoit" + } + ], + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/poolifier" + } + ], "bugs": { - "url": "https://github.com/pioardi/poolifier/issues" + "url": "https://github.com/poolifier/poolifier/issues" }, - "homepage": "https://github.com/pioardi/poolifier#readme", + "homepage": "https://github.com/poolifier/poolifier#readme", + "files": [ + "lib" + ], "devDependencies": { - "benchmark": "^2.1.4", - "coveralls": "^3.0.9", - "expect": "^24.9.0", - "mocha": "^7.0.0", - "mocha-lcov-reporter": "^1.3.0", - "nyc": "^15.0.0", - "standard": "^14.3.1", - "worker-threads-pool": "^2.0.0" - }, - "engines": { - "node": ">=12.0.0" + "@commitlint/cli": "^17.4.4", + "@commitlint/config-conventional": "^17.4.4", + "@release-it/bumper": "^4.0.2", + "@release-it/keep-a-changelog": "^3.1.0", + "@rollup/plugin-terser": "^0.4.0", + "@rollup/plugin-typescript": "^11.0.0", + "@types/node": "^18.15.3", + "@typescript-eslint/eslint-plugin": "^5.55.0", + "@typescript-eslint/parser": "^5.55.0", + "benny": "^3.7.1", + "c8": "^7.13.0", + "eslint": "^8.36.0", + "eslint-config-standard": "^17.0.0", + "eslint-config-standard-with-typescript": "^34.0.1", + "eslint-define-config": "^1.16.0", + "eslint-import-resolver-typescript": "^3.5.3", + "eslint-plugin-import": "^2.27.5", + "eslint-plugin-jsdoc": "^40.0.3", + "eslint-plugin-n": "^15.6.1", + "eslint-plugin-promise": "^6.1.1", + "eslint-plugin-spellcheck": "^0.0.20", + "eslint-plugin-tsdoc": "^0.2.17", + "expect": "^29.5.0", + "husky": "^8.0.3", + "lint-staged": "^13.2.0", + "microtime": "^3.1.1", + "mocha": "^10.2.0", + "mochawesome": "^7.1.3", + "prettier": "^2.8.4", + "prettier-plugin-organize-imports": "^3.2.2", + "release-it": "^15.9.0", + "rollup": "^3.19.1", + "rollup-plugin-analyzer": "^4.0.0", + "rollup-plugin-command": "^1.1.3", + "rollup-plugin-delete": "^2.0.0", + "sinon": "^15.0.2", + "source-map-support": "^0.5.21", + "ts-standard": "^12.0.2", + "typedoc": "^0.23.27", + "typescript": "^5.0.2" } }