copy build:vendor handling from datasplice-client

this supports simpler config and more use cases

Conflicts:
	package.json
clean -> rimraf