Make the cli the default interaction
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
91f974be9d
commit
be014e860f
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": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"start": "ts-node app.ts",
|
"start": "node dist/cli.js",
|
||||||
"cli": "ts-node src/cli.ts",
|
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"release": "np --no-publish"
|
"release": "np --no-publish"
|
||||||
|
|
Loading…
Reference in a new issue