chore: config deno project

This commit is contained in:
CrescentLeaf
2025-08-01 22:51:47 +08:00
parent 2aa33ef814
commit 0ecd6c6585
2 changed files with 25 additions and 0 deletions

9
deno.jsonc Normal file
View File

@@ -0,0 +1,9 @@
{
"tasks": {
"main": "deno run --allow-read --allow-write src/main.ts",
"test": "deno run --allow-read --allow-write src/main_test.ts"
},
"imports": {
"chalk": "npm:chalk@5.4.1"
}
}

16
deno.lock generated Normal file
View File

@@ -0,0 +1,16 @@
{
"version": "4",
"specifiers": {
"npm:chalk@5.4.1": "5.4.1"
},
"npm": {
"chalk@5.4.1": {
"integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w=="
}
},
"workspace": {
"dependencies": [
"npm:chalk@5.4.1"
]
}
}