From 9c880506f20ffc1bf26aae81c5ee8214bf97da1a Mon Sep 17 00:00:00 2001 From: Brice Vandeputte Date: Sat, 20 Apr 2024 15:08:43 +0200 Subject: [PATCH] Contribute to #80 preparing bin link --- mt.js | 2 -- package.json | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mt.js b/mt.js index 3fdea97..b733bc7 100644 --- a/mt.js +++ b/mt.js @@ -4,5 +4,3 @@ import process from "node:process"; // take first command line argument const action = process.argv.slice(2)[0]; (new MTCommand()).doAction(action); - -// TODO package : // "bin": "./lib/mt.js", TODO #80 \ No newline at end of file diff --git a/package.json b/package.json index 37f0015..b537f63 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "license": "MIT", "type": "module", "main": "./lib/mt.js", + "bin": "./mt.js", "scripts": { "lint": "eslint .", "audit": "npm audit --omit=dev",