The Package Registry Stack supports a build environment that requires a package registry (initially for NPM packages only).
Setup instructions can be found here.