Adds rake tasks for npm.