adds node dependencies to package.json