{
+ "$schema": "https://json.schemastore.org/package",
"name": "benchmarks-js",
"version": "0.0.1",
"description": "JS code pattern benchmarks",
"engines": {
- "node": ">=14.x"
+ "node": ">=16.x",
+ "pnpm": ">=8.6.0"
+ },
+ "volta": {
+ "node": "20.8.1",
+ "pnpm": "8.9.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"
+ }
+ ],
+ "pnpm": {
+ "overrides": {
+ "semver": "^7.5.3"
+ }
+ },
"scripts": {
- "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",
- "benchmark:max": "node max.js",
- "benchmark:promise-handling": "node promise-handling.js",
- "benchmark:fibonacci": "node fibonacci.js",
- "benchmark:random": "node random.js",
- "benchmark:uuid-generator": "node uuid-generator.js",
- "format": "prettier . --cache --write; standard . --fix",
+ "preinstall": "npx --yes only-allow pnpm",
+ "prepare": "node prepare.mjs",
+ "benchmark:busy-wait": "node busy-wait.mjs",
+ "benchmark:empty-array": "node empty-array.mjs",
+ "benchmark:deep-clone-object": "node deep-clone-object.mjs",
+ "benchmark:deep-merge-object": "node deep-merge-object.mjs",
+ "benchmark:shallow-clone-object": "node shallow-clone-object.mjs",
+ "benchmark:is-empty-object": "node is-empty-object.mjs",
+ "benchmark:is-undefined": "node is-undefined.mjs",
+ "benchmark:quick-select": "node quick-select.mjs",
+ "benchmark:max": "node max.mjs",
+ "benchmark:min": "node min.mjs",
+ "benchmark:promise-handling": "node promise-handling.mjs",
+ "benchmark:fibonacci": "node fibonacci.mjs",
+ "benchmark:random": "node random.mjs",
+ "benchmark:uuid-generator": "node uuid-generator.mjs",
+ "format": "biome format . --write; standard . --fix",
"lint": "eslint . --cache",
"lint:fix": "eslint . --cache --fix",
"test": "echo \"Error: no test specified\" && exit 1"
},
- "author": "jerome-benoit",
+ "author": {
+ "name": "Jérôme Benoit",
+ "email": "jerome.benoit@piment-noir.org",
+ "url": "https://github.com/jerome-benoit"
+ },
"license": "MIT",
"dependencies": {
"benny": "^3.7.1",
+ "deep-clone": "^4.0.0",
+ "deepmerge": "^4.3.1",
"just-clone": "^6.2.0",
+ "just-merge": "^3.2.0",
"lodash": "^4.17.21",
"microtime": "^3.1.1",
- "uuid": "^9.0.0"
+ "uuid": "^9.0.1"
},
"devDependencies": {
- "eslint": "^8.31.0",
- "eslint-config-standard": "^17.0.0",
- "eslint-define-config": "^1.13.0",
- "eslint-plugin-import": "^2.26.0",
- "eslint-plugin-jsdoc": "^39.6.4",
- "eslint-plugin-n": "^15.6.0",
+ "@biomejs/biome": "^1.2.2",
+ "@commitlint/cli": "^17.8.0",
+ "@commitlint/config-conventional": "^17.8.0",
+ "eslint": "^8.51.0",
+ "eslint-config-standard": "^17.1.0",
+ "eslint-define-config": "^1.24.1",
+ "eslint-plugin-import": "^2.28.1",
+ "eslint-plugin-jsdoc": "^46.8.2",
+ "eslint-plugin-n": "^16.2.0",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
- "lint-staged": "^13.1.0",
- "prettier": "^2.8.1",
- "standard": "^17.0.0",
- "typescript": "^4.9.4"
+ "lint-staged": "^14.0.1",
+ "prettier": "^3.0.3",
+ "standard": "^17.1.0"
}
}