add local-dev for full function local development

This commit is contained in:
medcl 2020-03-17 21:47:47 +08:00
parent dbc5ce49e3
commit 17805cd6b9
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@
"start": "egg-scripts start --daemon --title=infini-logging-center --env prod", "start": "egg-scripts start --daemon --title=infini-logging-center --env prod",
"stop": "egg-scripts stop --title=infini-logging-center", "stop": "egg-scripts stop --title=infini-logging-center",
"dev": "SOCKET_SERVER=none UMI_UI=none egg-bin dev", "dev": "SOCKET_SERVER=none UMI_UI=none egg-bin dev",
"local-dev": "egg-bin dev",
"debug": "egg-bin debug", "debug": "egg-bin debug",
"build": "APP_ROOT=$PWD/app/web umi build", "build": "APP_ROOT=$PWD/app/web umi build",
"test": "npm run lint -- --fix && npm run test-local", "test": "npm run lint -- --fix && npm run test-local",