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
This commit is contained in:
2025-05-27 13:32:27 +02:00
parent d8283ea83a
commit 6e6e61693f

View File

@@ -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"
}