From be014e860f56f9eb2ac82a505dc3819eff2cae33 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 4 Dec 2023 17:29:24 +0000 Subject: [PATCH] Make the cli the default interaction --- app.ts | 9 --------- package.json | 3 +-- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 app.ts diff --git a/app.ts b/app.ts deleted file mode 100644 index e69d525..0000000 --- a/app.ts +++ /dev/null @@ -1,9 +0,0 @@ -import randomBunny from "./dist/index.js"; - -async function app() { - const result = await randomBunny('rabbits', 'hot'); - - console.log(result); -} - -app(); \ No newline at end of file diff --git a/package.json b/package.json index de7901e..c4ffaca 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,7 @@ }, "scripts": { "build": "tsc", - "start": "ts-node app.ts", - "cli": "ts-node src/cli.ts", + "start": "node dist/cli.js", "test": "jest", "lint": "eslint .", "release": "np --no-publish"