Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NPM - understanding --save & --save-dev

Featured Replies

Hey guys,

 

I am doing some reading on --save and --save-dev because I want to gain more understanding about the topic but I feel like all the explanations are missing more examples to differentiate the two meanings. For example:

 

Testing modules to use --save-dev and production module to be --save.

 

I felt like this would be a good topic to discuss with people about to gain a better understanding about it?

 

I have read these stack overflow questions and this blog but I still cant get my head 100% around it.

 

http://stackoverflow.com/questions/19223051/grunt-js-what-does-save-dev-mean-in-npm-install-grunt-save-dev

http://stackoverflow.com/questions/19578796/what-is-the-save-option-for-npm-install

 

http://scottksmith.com/blog/2014/06/25/8-npm-tips-for-better-node-development/

 

 

 

 

--save is for modules that are used for the app itself, like React, Jquery, Express stuff like that.

 

--save-dev is for modules that are used only during development - stuff for gulp, testing things like mocha, chai and so forth.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.