Authored by 陈峰

commit

#!/bin/bash
wordir=$2
needBuild=$1
cd $wordir
rm -rf yoho-yohobuy-wap.tar.gz
yarn --production=false
yarn
if [[ $1 == "test1" ]] || [[ $1 == "test2" ]] || [[ $1 == "test3" ]]
then
yarn build
fi
node-prune
tar -czf yoho-yohobuy-wap.tar.gz *
... ...
{
"name": "yohobuywap-node",
"version": "6.6.27",
"version": "96.6.27",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...