Open
Description
When building a package with UMD so that it can be used in the browser, a namespace must be provided so it can be accessed globally.
The name set in the package.json
likely won't be a good name, because NPM convention uses "kabab-case", which is not a valid variable in javascript.
Converting the "kabab-case" to "camelCase" doesn't work in the even that the package name has an organization. For example @myOrg/myPackage
.
We need a way to get a good name for the package.