DEV Community

Discussion on: NPM behind the scenes and publish guide

Collapse
 
likebrain profile image
Ricardo Rivera • Edited

Hey, thanks for this greate Overview.
I think you should explain a bit about the dependencies of your Package.

  "dependencies": {
    "jsonwebtoken": "^8.3.0"
  }

I think a combination of peerDependencies and devDependencies is better to avoid Version/Package/Bundle-Struggle for your Package-Consumers.

What do you mean ?

Collapse
 
uf4no profile image
Antonio

Totally agree, dependencies management is something I could expand this article with. I'll have a look and add some info.
Thanks for the feedback :)