数据中台前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
286 B

1 year ago
#!/bin/bash
NODE_HOME=/opt/nodejs/v11.6.1
export PATH=$NODE_HOME/bin:$PATH
export NODE_PATH=$NODE_HOME/lib/node_modules
node -v
npm -v
ls -al
npm set registry http://npmneibu.linkkids.cn
npm install
if [ "$SER_ENV" == "IDC" ]; then
npm run build:hzw
else
npm run build:hzw-stage
fi