Skip to content

Instantly share code, notes, and snippets.

@Vokinloksar
Created February 2, 2019 08:48
Show Gist options
  • Save Vokinloksar/3246c9e6aabc749e0d2540f7ffc5bf73 to your computer and use it in GitHub Desktop.
Save Vokinloksar/3246c9e6aabc749e0d2540f7ffc5bf73 to your computer and use it in GitHub Desktop.

npm shouldn't be installed with priv

If you find yourself running commands like sudo npm install -g a-package, you should change this. Our beginners guide to npm shows you how.

npm install --production how to sync files? rsync? set -ez

"scripts": {
    "build": "gulp build-prod",
    "develop": "gulp build-dev"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment