|
@@ -5,7 +5,7 @@
|
|
|
"author": "lyt_20201208",
|
|
|
"license": "MIT",
|
|
|
"scripts": {
|
|
|
- "dev": "npm run writeEnv:dev && vite --force",
|
|
|
+ "dev": "npm run plugin:check && npm run writeEnv:dev && vite --force",
|
|
|
"plugin:check": "ls ./public/plugin/topo && npm run plugin:has || npm run plugin:not",
|
|
|
"plugin:has": "echo '\\033[31m 插件更新中,更新后自动运行 \\033[0m' && npm run plugin:pull",
|
|
|
"plugin:not": "echo '\\033[31m 插件不存在,需要拉取 拉取后会自动运行 \\033[0m' && npm run plugin:clone",
|