lib-node icon indicating copy to clipboard operation
lib-node copied to clipboard

package with hyphen returns incorrect cli format

Open srowhani opened this issue 7 years ago • 0 comments

If my package.json package name has a hyphen in it, lib.cli returns a code example with, for example:

lib.x.hyphen-package['@dev']...

instead of

lib.x['hyphen-package']['@dev']...

srowhani avatar Apr 01 '18 01:04 srowhani