add fields to package, use array of args when spawning conditional npm install