Advertisement
Guest User

Untitled

a guest
May 26th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. - devDependencies are things like `babel-cli` and `prettier` or `ava` that you need to develop your app. If it is a command line tool or something that makes development possible, it should be here.
  2. - install using `npm install <package> --dev` or `npm install <package> --save-dev` to add to package.json in devDependencies
  3.  
  4. - dependencies are packages that you are going to ship with the final product, and are required for your user to run your app, service or product.
  5. - install using `npm install <package>` or `npm install <package> --save` to add to package.json in dependencies
  6.  
  7. - sometimes dependencies can also be devDependencies. Lodash is a common example of a package that is commonly used for development code (think unit tests, configuration scripts and similar) as well as front end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement