Determine if it's a development or production dependency.
Add to package.json.
Keep the same version if possible, especially major.
Upgrade if need be.
npm install
Update script tag.
Run the application.
Check for bugs and version changes.
By Sam Julien