Fix not being able to execute the code via ts-node #122

Merged
VylpesTester merged 2 commits from feature/119-cli-ts-node into develop 2023-12-08 17:07:52 +00:00
2 changed files with 1 additions and 11 deletions
Showing only changes of commit be014e860f - Show all commits

9
app.ts
View file

@ -1,9 +0,0 @@
import randomBunny from "./dist/index.js";
async function app() {
const result = await randomBunny('rabbits', 'hot');
console.log(result);
}
app();

View file

@ -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"