1 Star 0 Fork 0

果粒儿/WxAppUnpacker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
install.sh 1006 Bytes
一键复制 编辑 原始数据 按行查看 历史
yjw 提交于 2020-03-02 17:46 . :tada:(init) 初次提交
#!/usr/bin/env bash
install_dependency()
{
echo "1. install dependency"
sudo npm install esprima -g
sudo npm install css-tree -g
sudo npm install cssbeautify -g
sudo npm install vm2 -g
sudo npm install uglify-es -g
sudo npm install js-beautify -g
sudo npm install escodegen -g
echo "2. npm list"
npm list esprima
npm list css-tree
npm list cssbeautify
npm list vm2
npm list uglify-es
npm list js-beautify
npm list escodegen
# echo "3. npm install"
# npm install
return 0;
}
install_npm()
{
echo "install node"
brew install node
echo "node versin is"
node -v
echo "npm versin is"
npm -v
echo "install n"
npm i -g n
echo "update to stable"
n stable
npm i npm
# npm i handlebars --reg=https://registry.npmjs.org
return 0;
}
check_menu()
{
menu=$1
args=$2
param=$3
if [ "-npm" == "$1" ]
then install_npm $args $param
elif [ "-dpc" == "$1" ]
then
install_dependency $args $param
else
install_dependency $1 $2
fi
return 0;
}
# 菜单
check_menu $1 $2 $3
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiaoguoli/WxAppUnpacker.git
git@gitee.com:xiaoguoli/WxAppUnpacker.git
xiaoguoli
WxAppUnpacker
WxAppUnpacker
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385