This commit is contained in:
linyuchen
2023-11-06 00:16:01 +08:00
parent 0695c59e59
commit 234f3ab9d2
8 changed files with 200 additions and 103 deletions

View File

@@ -5,9 +5,10 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build-mac": "tsc && npm run deploy-mac",
"build": "tsc & tsc -p src/tsconfig.json",
"build-mac": "npm run build && npm run deploy-mac",
"deploy-mac": "cp dist/* ~/Library/Containers/com.tencent.qq/Data/Documents/LiteLoaderQQNT/plugins/LLOnebot/",
"build-win": "tsc && npm run deploy-win",
"build-win": "npm run build && npm run deploy-win",
"deploy-win": "cmd /c \"copy dist\\* %USERPROFILE%\\documents\\LiteLoaderQQNT\\plugins\\LLOnebot\\\""
},
"author": "",