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.

master
Zed A. Shaw 2 years ago
parent d0a63a7acf
commit 809e0afefa
  1. 3
      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"
},

Loading…
Cancel
Save