X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=efa32bc96a5b8ed858c494d32189a6d44cd0cc9d;hb=d9b4db6a2ac69fd1c6d3feae100a00dd99c0e829;hp=c22c9b754325781dd9cd9cafe5e62529b6069474;hpb=a32e02baa991ae01b5d677e3fd34821965daab1e;p=poolifier.git diff --git a/package.json b/package.json index c22c9b75..efa32bc9 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,24 @@ { - "name": "node-pool.", - "version": "0.0.1", - "description": "A tool to share your open source project by email with github users matching a search .", - "main": "index.js", + "name": "poolifier", + "version": "1.2.1", + "description": "Library on top of node js worker threads that implement various worker pools type", + "main": "lib/index.js", "scripts": { - "test": "standard", - "lint": "standard --fix" + "build": "npm run build:clean && tsc", + "build:clean": "rimraf lib", + "test": "standard && ts-standard && npm run build && nyc mocha --exit --timeout 20000 tests/*test.js ", + "test:debug": "mocha --inspect-brk --exit tests/*test.js ", + "coverage": "nyc report --reporter=text-lcov | coveralls", + "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'", + "standard:verbose": "npx standard --verbose", + "lint:standard": "prettier-standard --format | standard --fix", + "ts-standard:verbose": "npx ts-standard --verbose", + "lint:ts-standard": "ts-standard --fix", + "lint-and-format": "npm run lint:standard; npm run lint:ts-standard; npm run import-sort" }, "repository": { "type": "git", - "url": "git+https://github.com/pioardi/node-pool.git" + "url": "git+https://github.com/pioardi/poolifier.git" }, "keywords": [ "node", @@ -17,24 +26,64 @@ "worker-threads", "performance", "cpu", - "computing" + "computing", + "async-resource" ], "standard": { "env": [ "mocha", "node" + ], + "ignore": [ + "lib/", + "src/", + "examples/typescript/" + ] + }, + "ts-standard": { + "env": [ + "mocha", + "node" + ], + "extensions": ".ts", + "ignore": [ + "lib/", + "examples/typescript/" ] }, "author": "pioardi", + "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" + } + ], "license": "MIT", "bugs": { - "url": "https://github.com/pioardi/node-pool/issues" + "url": "https://github.com/pioardi/poolifier/issues" }, - "homepage": "https://github.com/pioardi/node-pool#readme", + "homepage": "https://github.com/pioardi/poolifier#readme", "devDependencies": { - "standard": "^14.3.1" + "benchmark": "^2.1.4", + "coveralls": "^3.0.9", + "expect": "^26.0.0", + "mocha": "^8.0.1", + "mocha-lcov-reporter": "^1.3.0", + "nyc": "^15.0.0", + "prettier-standard": "^16.4.1", + "rimraf": "^3.0.2", + "standard": "^16.0.3", + "ts-standard": "^10.0.0", + "typescript": "^4.1.3" + }, + "engines": { + "node": ">=12.0.0" }, - "dependencies": { - "uuid": "^3.4.0" - } + "dependencies": {} }