From 6e6e61693fef3b11a81ce260d80bc93edae1e718 Mon Sep 17 00:00:00 2001 From: "Max P." Date: Tue, 27 May 2025 13:32:27 +0200 Subject: [PATCH] chore(tasks): add benchmark, format, and lint commands - Introduces a benchmark task for running performance tests - Adds format and lint tasks to enforce code style and quality --- deno.jsonc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deno.jsonc b/deno.jsonc index 99e1327..2707c45 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -6,7 +6,10 @@ }, "tasks": { "test": "deno test --allow-net --allow-env --unstable-kv --allow-read --allow-write --coverage **/__tests__/*.test.ts", - "test:watch": "deno test --watch --allow-net --allow-env --unstable-kv --allow-read --allow-write **/__tests__/*.test.ts" + "test:watch": "deno test --watch --allow-net --allow-env --unstable-kv --allow-read --allow-write **/__tests__/*.test.ts", + "benchmark": "deno bench --allow-net --allow-env --unstable-kv --allow-read --allow-write **/__bench__/*.bench.ts", + "fmt": "deno fmt --check", + "lint": "deno lint" }, "compilerOptions": { "lib": [ @@ -29,5 +32,4 @@ "main.ts" ] } - //"importMap": "./import_map.json" } \ No newline at end of file