mirror of
https://github.com/altcha-org/altcha-lib.git
synced 2026-01-24 20:08:44 +00:00
fix: deno 2.x
This commit is contained in:
27
deno.jsonc
Normal file
27
deno.jsonc
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
// Use Deno and DOM libraries
|
||||
"lib": ["deno.ns", "dom", "dom.iterable"],
|
||||
|
||||
// Deno uses ESNext-like behavior by default; no need for target/module
|
||||
"strict": true
|
||||
},
|
||||
"lint": {
|
||||
"rules": {
|
||||
"tags": ["recommended"]
|
||||
}
|
||||
},
|
||||
"fmt": {
|
||||
"useTabs": false,
|
||||
"lineWidth": 80,
|
||||
"indentWidth": 2,
|
||||
"singleQuote": true,
|
||||
"semiColons": true
|
||||
},
|
||||
"exclude": ["node_modules"],
|
||||
"importMap": "./import_map.json",
|
||||
"tasks": {
|
||||
"test": "deno test --allow-all",
|
||||
"build": "echo 'Build step not needed for Deno unless bundling'"
|
||||
}
|
||||
}
|
||||
5
import_map.json
Normal file
5
import_map.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"imports": {
|
||||
"@/": "./lib/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user