diff --git a/cli.js b/bin/cli.js similarity index 86% rename from cli.js rename to bin/cli.js index dbb5781..18beb12 100755 --- a/cli.js +++ b/bin/cli.js @@ -2,7 +2,7 @@ import { spawn } from 'node:child_process'; import process from 'node:process'; -import hugo from './index.js'; +import hugo from '../index.js'; const input = process.argv.slice(2); diff --git a/package.json b/package.json index 703b28a..6084f20 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ ".": "./index.js" }, "bin": { - "hugo": "cli.js" + "hugo": "bin/cli.js" }, "dependencies": { "@xhmikosr/bin-wrapper": "^5.0.1", @@ -46,8 +46,8 @@ "postinstall": "node lib/install.js" }, "files": [ + "bin/cli.js", "lib/*.js", - "cli.js", "index.js" ], "engines": {