Open ggrossetie opened 4 years ago
The first example I read on https://docs.npmjs.com/cli/init is a bit misleading. What I understand is if you run npm init asciidoctor-pdf-project
, the implied package name is create-asciidoctor-pdf-project
.
An alias is npx create-asciidoctor-pdf-project
.
Yes you're right, good catch 👍
The package should be named create-asciidoctor-pdf-project
. We can discuss about the name but it should start with create-
by convention.
Exactly. It sounds like @asciidoctor/create-pdf-project
works too (depending on where you are up to regarding using the @org
stuff), thus enabling npm init @asciidoctor/pdf-project
.
Publish a package named
create-asciidoctor-pdf-project
. The idea is to quickly initialize a project usingnpm init
command:The package should contain:
sample.adoc
package.json
fileReference: https://docs.npmjs.com/cli/init