DEV Community

Discussion on: Creating my first npm package

Collapse
 
evanplaice profile image
Evan Plaice

FYI. The dependencies you installed should be saved as devDependencies. That will prevent them from being installed on your User's machine when they install your package.

The short form for installing devDeps is

npm i -D [package]