build and include promises as npm dependencies