Fix not being able to execute the code via ts-node #122
2 changed files with 1 additions and 11 deletions
9
app.ts
9
app.ts
|
@ -1,9 +0,0 @@
|
|||
import randomBunny from "./dist/index.js";
|
||||
|
||||
async function app() {
|
||||
const result = await randomBunny('rabbits', 'hot');
|
||||
|
||||
console.log(result);
|
||||
}
|
||||
|
||||
app();
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue