2021-5-8 17:25 /
## ~/.npmrc
# There is an outstanding issue @angular/cli not honoring .npmrc
# https://github.com/angular/angular-cli/issues/10624
registry=https://registry.npm.taobao.org/
prefix=~/repo/npm
%%
export PATH=~/repo/npm/bin:~/repo/n/bin:$PATH
export NODE_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/
export N_PREFIX=~/repo/n
export GIT_CONFIG=~/org/git/gitconfig.coporate
npm -g install n
n install lts
ng new --skip-install www
cd www
ng build
busybox httpd -f -h dist/www
# There is an outstanding issue @angular/cli not honoring .npmrc
# https://github.com/angular/angular-cli/issues/10624
registry=https://registry.npm.taobao.org/
prefix=~/repo/npm
%%
export PATH=~/repo/npm/bin:~/repo/n/bin:$PATH
export NODE_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/
export N_PREFIX=~/repo/n
export GIT_CONFIG=~/org/git/gitconfig.coporate
npm -g install n
n install lts
ng new --skip-install www
cd www
ng build
busybox httpd -f -h dist/www