configure using npm instead of bash