Apply dependencies update
[benchmarks-js.git] / package.json
index 2126c0dcc261337a186132e353d39a75b877be30..9b74187ad234a5890a4396bf2b6681747410705d 100644 (file)
@@ -2,37 +2,53 @@
   "name": "benchmarks-js",
   "version": "0.0.1",
   "description": "JS code pattern benchmarks",
+  "engines": {
+    "node": ">=14.x"
+  },
   "repository": {
     "type": "git",
     "url": "git://github.com/jerome-benoit/benchmarks-js.git"
   },
   "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",
-    "format": "prettier --loglevel silent --write .; prettierx --write .",
-    "lint": "eslint .",
-    "lint:fix": "eslint . --fix",
+    "benchmark:random": "node random.js",
+    "benchmark:uuid-generator": "node uuid-generator.js",
+    "format": "prettier . --cache --write; standard . --fix",
+    "lint": "eslint . --cache",
+    "lint:fix": "eslint . --cache --fix",
     "test": "echo \"Error: no test specified\" && exit 1"
   },
   "author": "jerome-benoit",
   "license": "MIT",
   "dependencies": {
-    "benchmark": "^2.1.4",
-    "microtime": "^3.0.0"
+    "benny": "^3.7.1",
+    "just-clone": "^6.2.0",
+    "lodash": "^4.17.21",
+    "microtime": "^3.1.1",
+    "uuid": "^9.0.0"
   },
   "devDependencies": {
-    "eslint": "^7.32.0",
-    "eslint-config-standard": "^16.0.3",
-    "eslint-define-config": "^1.0.9",
-    "eslint-plugin-import": "^2.24.2",
-    "eslint-plugin-jsdoc": "^35.5.1",
-    "eslint-plugin-node": "^11.1.0",
-    "eslint-plugin-prettierx": "^0.18.0",
-    "eslint-plugin-promise": "^5.1.0",
-    "prettier": "^2.4.1",
-    "prettierx": "^0.18.3",
-    "typescript": "^4.4.3"
+    "eslint": "^8.36.0",
+    "eslint-config-standard": "^17.0.0",
+    "eslint-define-config": "^1.17.0",
+    "eslint-plugin-import": "^2.27.5",
+    "eslint-plugin-jsdoc": "^40.1.0",
+    "eslint-plugin-n": "^15.6.1",
+    "eslint-plugin-promise": "^6.1.1",
+    "husky": "^8.0.3",
+    "lint-staged": "^13.2.0",
+    "prettier": "^2.8.5",
+    "standard": "^17.0.0",
+    "typescript": "^5.0.2"
   }
 }