adds npm dependency and adds package.json template