X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=e64955bf88b8c696bb2bad4dbd8eadc116f7c9c8;hb=8974fdb55eb739ca901d4dfbbbd53b70ea60623b;hp=3d7b5d642fb13f3290f2cfa457d910a4f2c77efb;hpb=11675110e2d880c73adf2fb323e11a6946186394;p=benchmarks-js.git diff --git a/package.json b/package.json index 3d7b5d6..e64955b 100644 --- a/package.json +++ b/package.json @@ -3,16 +3,34 @@ "version": "0.0.1", "description": "JS code pattern benchmarks", "engines": { - "node": ">=14.x" + "node": ">=14.x", + "pnpm": ">=8.0.0" + }, + "volta": { + "node": "20.1.0", + "pnpm": "8.4.0" }, "repository": { "type": "git", "url": "git://github.com/jerome-benoit/benchmarks-js.git" }, + "funding": [ + { + "type": "patreon", + "url": "https://www.patreon.com/fraggle_" + }, + { + "type": "github", + "url": "https://github.com/sponsors/jerome-benoit" + } + ], "scripts": { + "preinstall": "npx --yes only-allow pnpm", "prepare": "node prepare.js", "benchmark:busy-wait": "node busy-wait.js", "benchmark:empty-array": "node empty-array.js", + "benchmark:deep-clone-object": "node deep-clone-object.js", + "benchmark:shallow-clone-object": "node shallow-clone-object.js", "benchmark:is-empty-object": "node is-empty-object.js", "benchmark:is-undefined": "node is-undefined.js", "benchmark:quick-select": "node quick-select.js", @@ -21,7 +39,7 @@ "benchmark:fibonacci": "node fibonacci.js", "benchmark:random": "node random.js", "benchmark:uuid-generator": "node uuid-generator.js", - "format": "prettier . --write; standard . --fix", + "format": "prettier . --cache --write; standard . --fix", "lint": "eslint . --cache", "lint:fix": "eslint . --cache --fix", "test": "echo \"Error: no test specified\" && exit 1" @@ -30,21 +48,23 @@ "license": "MIT", "dependencies": { "benny": "^3.7.1", + "just-clone": "^6.2.0", + "lodash": "^4.17.21", "microtime": "^3.1.1", "uuid": "^9.0.0" }, "devDependencies": { - "eslint": "^8.28.0", + "eslint": "^8.40.0", "eslint-config-standard": "^17.0.0", - "eslint-define-config": "^1.12.0", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jsdoc": "^39.6.3", - "eslint-plugin-n": "^15.5.1", + "eslint-define-config": "^1.20.0", + "eslint-plugin-import": "^2.27.5", + "eslint-plugin-jsdoc": "^44.0.1", + "eslint-plugin-n": "^15.7.0", "eslint-plugin-promise": "^6.1.1", - "husky": "^8.0.2", - "lint-staged": "^13.0.3", - "prettier": "^2.8.0", + "husky": "^8.0.3", + "lint-staged": "^13.2.2", + "prettier": "^2.8.8", "standard": "^17.0.0", - "typescript": "^4.9.3" + "typescript": "^5.0.4" } }