add tasks for cjs, amd, and globals-only builds