From 809e0afefad6afb4faeee08909de56dbf9bfe7ae Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Wed, 30 Nov 2022 12:48:14 -0500 Subject: [PATCH] You need to have a bin named after what you want people to run, but that means you probably don't even need to name the project the same as the npx command. --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 41f0aa1..5fa8bdd 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "1.0.0", "description": "Testing npm install/create.", "main": "bando.js", + "bin": { + "create-npm-test": "bando.js" + }, "scripts": { "test": "ava tests/**/*.js" },