#!/bin/bash
if [ -z $1 ];then
	echo "输入需要生成default.res.json的目录"
	exit
fi

npm install
npm run debug
npm run res $1