Changes not staged for commit: modified: ../package.json

JavaScript
// The reason it is not staging gulpfile.js and package.json 
// is because they were not in the directory (or below it) 
// when you did git add ., which only adds files in the 
// current directory and below. If you cd .. and do a git add ., 
// they will be added.
Source

Also in JavaScript: