How could I possibly create an npm package by following a pattern that mui does like?
using @ name slash package
example
@mui/materia
@mui/styles
I just got curious since I never actually published anything on npm!
How could I possibly create an npm package by following a pattern that mui does like?
using @ name slash package
example
@mui/materia
@mui/styles
I just got curious since I never actually published anything on npm!
You can create a npm package using npm pack
. But usually this is used to pack libraries. And to publish use npm publish
.
You can take a look at this doc to see how you can create and publish an angular library https://angular.io/guide/creating-libraries#peer-dependencies
To add custom name like '@mui/anything' just add this to the package.json in the name property.