From f9a77c5c27aede4e5978eb55d9b7af781b680a1d Mon Sep 17 00:00:00 2001 From: João Augusto Costa Branco Marado Torres Date: Tue, 24 Jun 2025 12:08:41 -0300 Subject: feat!: initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Augusto Costa Branco Marado Torres --- deno.jsonc | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 deno.jsonc (limited to 'deno.jsonc') diff --git a/deno.jsonc b/deno.jsonc new file mode 100644 index 0000000..f53c068 --- /dev/null +++ b/deno.jsonc @@ -0,0 +1,93 @@ +{ + "$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json", + "tasks": { + "dev": "astro dev", + "build": "astro build", + "preview": "astro preview", + "build:preview": { + "command": "deno task preview", + "dependencies": [ + "build" + ] + }, + "astro": "astro", + "test:unit": "deno test --doc --junit-path=report.junit.xml --permit-no-files --shuffle --trace-leaks src", + "test:unit:coverage": "deno task test:unit --coverage", + "test:unit:inspect": "deno task test:unit --inspect-brk", + "test:unit:watch": "deno task test:unit --watch --no-clear-screen", + "test:unit:watch:coverage": "deno task test:unit:coverage --watch --no-clear-screen", + "test:unit:watch:inspect": "deno task test:unit:inspect --watch --no-clear-screen", + "test:check": "deno --doc", + "coverage": { + "command": "deno coverage --html --exclude=\"node_modules/,dist/\"", + "dependencies": [ + "test:unit" + ] + }, + "doc": "deno doc --html --name=\"\"", + "doc:lint": "deno doc --lint --html --name=\"\"" + }, + "license": "AGPL-3.0-or-later", + "fmt": { + "useTabs": false, + "lineWidth": 80, + "semiColons": true, + "indentWidth": 2, + "singleQuote": false + }, + "lint": { + "rules": { + "tags": [ + "jsr", + "jsx", + "recommended" + ], + "include": [ + "ban-untagged-todo", + "camelcase", + "default-param-last", + "eqeqeq", + // "explicit-function-return-type", + "explicit-module-boundary-types", + "guard-for-in", + "jsx-boolean-value", + "no-await-in-loop", + "no-boolean-literal-for-arguments", + "no-const-assign", + "no-eval", + // "no-external-import", + "no-implicit-declare-namespace-export", + "no-inferrable-types", + "no-non-null-asserted-optional-chain", + "no-non-null-assertion", + "no-self-compare", + "no-sparse-arrays", + "no-sync-fn-in-async-fn", + "no-throw-literal", + "no-top-level-await", + "no-undef", + "no-useless-rename", + // "prefer-ascii", + "single-var-declarator" + ] + }, + "report": "pretty" + }, + "unstable": [ + "worker-options", + "cron", + "kv" + ], + "nodeModulesDir": "auto", + "imports": { + "@std/assert": "jsr:@std/assert@^1.0.13", + "@std/async": "jsr:@std/async@^1.0.13", + "@std/encoding": "jsr:@std/encoding@^1.0.10", + "@std/expect": "jsr:@std/expect@^1.0.16", + "@std/fs": "jsr:@std/fs@^1.0.17", + "@std/path": "jsr:@std/path@^1.0.9", + "@std/testing": "jsr:@std/testing@^1.0.12", + "@std/toml": "jsr:@std/toml@^1.0.7", + "mdast": "npm:@types/mdast" + } +} -- cgit v1.2.3