added npm as a dependency
output the build files to targetDir