build: switch to rome for code formatting
[benchmarks-js.git] / package.json
index bb6d238a389aac31d6e6aa0a5fdf0555b4d79948..c41f7c0c42661bd4581ddb01f3abf967aeb14790 100644 (file)
@@ -1,4 +1,5 @@
 {
+  "$schema": "https://json.schemastore.org/package",
   "name": "benchmarks-js",
   "version": "0.0.1",
   "description": "JS code pattern benchmarks",
@@ -7,7 +8,7 @@
     "pnpm": ">=8.6.0"
   },
   "volta": {
-    "node": "20.5.0",
+    "node": "20.5.1",
     "pnpm": "8.6.12"
   },
   "repository": {
@@ -45,7 +46,7 @@
     "benchmark:fibonacci": "node fibonacci.mjs",
     "benchmark:random": "node random.mjs",
     "benchmark:uuid-generator": "node uuid-generator.mjs",
-    "format": "prettier . --cache --write; standard . --fix",
+    "format": "rome format . --write; standard . --fix",
     "lint": "eslint . --cache",
     "lint:fix": "eslint . --cache --fix",
     "test": "echo \"Error: no test specified\" && exit 1"
@@ -63,7 +64,7 @@
     "uuid": "^9.0.0"
   },
   "devDependencies": {
-    "eslint": "^8.46.0",
+    "eslint": "^8.47.0",
     "eslint-config-standard": "^17.1.0",
     "eslint-define-config": "^1.23.0",
     "eslint-plugin-import": "^2.28.0",
@@ -71,8 +72,8 @@
     "eslint-plugin-n": "^16.0.1",
     "eslint-plugin-promise": "^6.1.1",
     "husky": "^8.0.3",
-    "lint-staged": "^13.2.3",
-    "prettier": "^3.0.1",
+    "lint-staged": "^13.3.0",
+    "rome": "^12.1.3",
     "standard": "^17.1.0",
     "typescript": "^5.1.6"
   }