X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=1583b56c2b007c7e54e5850fe14b44d53699815d;hb=d15211d4a844f29140004fc2814316e62547aee0;hp=aece1388b3b5814df562b19284361880abea1062;hpb=a3f1e7ffbf93ff0efcdabf852dcec4ff7a681da5;p=poolifier.git diff --git a/package.json b/package.json index aece1388..1583b56c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "poolifier", - "version": "2.3.4", + "version": "2.3.7", "description": "A fast, easy to use Node.js Worker Thread Pool and Cluster Pool implementation", "main": "lib/index.js", "scripts": { @@ -11,11 +11,11 @@ "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 && nyc mocha 'tests/**/*.test.js'", + "test": "npm run build && c8 mocha 'tests/**/*.test.js'", "test:debug": "npm run build && mocha --no-parallel --inspect 'tests/**/*.test.js'", - "coverage": "nyc report --reporter=lcov", - "coverage:html": "nyc report --reporter=html", - "format": "prettier --loglevel silent --write .; prettierx --write .", + "coverage": "c8 report --reporter=lcov", + "coverage:html": "c8 report --reporter=html", + "format": "prettier . --write; ts-standard . --fix", "lint": "eslint . --cache", "lint:fix": "eslint . --cache --fix", "lint:report": "eslint . --cache --format json --output-file reports/eslint.json", @@ -24,6 +24,20 @@ "sonar:properties": "./updateSonarProps.sh", "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/poolifier/poolifier.git" @@ -66,20 +80,20 @@ ], "devDependencies": { "@release-it/keep-a-changelog": "^3.1.0", - "@types/node": "^18.11.1", + "@types/node": "^18.11.3", "@typescript-eslint/eslint-plugin": "^5.40.1", "@typescript-eslint/parser": "^5.40.1", - "benchmark": "^2.1.4", - "eslint": "^8.25.0", + "benny": "^3.7.1", + "c8": "^7.12.0", + "eslint": "^8.26.0", "eslint-config-standard": "^17.0.0", + "eslint-config-standard-with-typescript": "^23.0.0", "eslint-define-config": "^1.7.0", - "eslint-import-resolver-typescript": "^3.5.1", + "eslint-import-resolver-typescript": "^3.5.2", "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jsdoc": "^39.3.13", + "eslint-plugin-jsdoc": "^39.3.20", "eslint-plugin-n": "^15.3.0", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-prettierx": "^0.18.0", - "eslint-plugin-promise": "^6.1.0", + "eslint-plugin-promise": "^6.1.1", "eslint-plugin-spellcheck": "^0.0.19", "expect": "^29.2.1", "husky": "^8.0.1", @@ -87,10 +101,8 @@ "microtime": "^3.1.1", "mocha": "^10.1.0", "mochawesome": "^7.1.3", - "nyc": "^15.1.0", "prettier": "^2.7.1", "prettier-plugin-organize-imports": "^3.1.1", - "prettierx": "^0.18.3", "release-it": "^15.5.0", "rollup": "^3.2.3", "rollup-plugin-analyzer": "^4.0.0", @@ -101,11 +113,8 @@ "rollup-plugin-ts": "^3.0.2", "sinon": "^14.0.1", "source-map-support": "^0.5.21", + "ts-standard": "^12.0.1", "typedoc": "^0.23.17", "typescript": "^4.8.4" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=8.0.0" } }