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:
@@ -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"
|
||||
}
|
Reference in New Issue
Block a user