feat(config): add project metadata and test watch task
- Introduce name and description fields for project metadata - Add a test:watch task for running tests in watch mode - Improve configuration clarity by adjusting formatting
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
{
|
{
|
||||||
|
"name": "@0xmax42/http-kernel",
|
||||||
|
"description": "A simple HTTP kernel for Deno",
|
||||||
"tasks": {
|
"tasks": {
|
||||||
// "start": "deno run --allow-net --allow-env --unstable-kv --allow-read --allow-write --env-file src/main.ts -- --verbose",
|
// "start": "deno run --allow-net --allow-env --unstable-kv --allow-read --allow-write --env-file src/main.ts -- --verbose",
|
||||||
// "watch": "deno run --watch --allow-net --allow-env --unstable-kv --allow-read --allow-write --env-file src/main.ts -- --verbose",
|
// "watch": "deno run --watch --allow-net --allow-env --unstable-kv --allow-read --allow-write --env-file src/main.ts -- --verbose",
|
||||||
"test": "deno test --allow-net --allow-env --unstable-kv --allow-read --allow-write --coverage **/__tests__/*.test.ts"
|
"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"
|
||||||
},
|
},
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"lib": [
|
"lib": [
|
||||||
@@ -24,6 +27,6 @@
|
|||||||
"src/",
|
"src/",
|
||||||
"main.ts"
|
"main.ts"
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
//"importMap": "./import_map.json"
|
//"importMap": "./import_map.json"
|
||||||
}
|
}
|
Reference in New Issue
Block a user