From a83a36e64e4d81ac42169324e3bd5601955d1d0f Mon Sep 17 00:00:00 2001 From: Hajime-san Date: Thu, 9 Feb 2023 01:06:46 +0900 Subject: [PATCH] add main --- README.md | 4 ++-- bin.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c7b362e..997d416 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,9 @@ import { bar } from "./bar.(ts|tsx|d.ts)" ## command ### remote - dry run - - `deno run --unstable --allow-env --allow-read https://deno.land/x/module_specifier_resolver@1.0.2/bin.ts -b=./src -c=./tsconfig.json -d` + - `deno run --unstable --allow-env --allow-read https://deno.land/x/module_specifier_resolver@1.0.3/bin.ts -b=./src -c=./tsconfig.json -d` - transform - - `deno run --unstable --allow-env --allow-read --allow-write https://deno.land/x/module_specifier_resolver@1.0.2/bin.ts -b=./src -c=./tsconfig.json -r` + - `deno run --unstable --allow-env --allow-read --allow-write https://deno.land/x/module_specifier_resolver@1.0.3/bin.ts -b=./src -c=./tsconfig.json -r` ### local - `deno task run-dry` - `deno task run` diff --git a/bin.ts b/bin.ts index d8507bd..489c462 100644 --- a/bin.ts +++ b/bin.ts @@ -2,4 +2,4 @@ import { main } from "./src/mod.ts"; await main(); -export {} +export { main }