mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
38 lines
1.4 KiB
JSON
38 lines
1.4 KiB
JSON
{
|
|
"name": "llonebot",
|
|
"version": "1.0.0",
|
|
"description": "NTQQLiteLoaderOneBotApi",
|
|
"main": "dist/main.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"postinstall": "ELECTRON_SKIP_BINARY_DOWNLOAD=1 npm install electron --no-save",
|
|
"build": "npm run build-main && npm run build-preload && npm run build-renderer",
|
|
"build-main": "webpack --config webpack.main.config.js",
|
|
"build-preload": "webpack --config webpack.preload.config.js",
|
|
"build-renderer": "webpack --config webpack.renderer.config.js",
|
|
"build-mac": "npm run build && cp manifest.json dist/ && npm run deploy-mac",
|
|
"deploy-mac": "cp dist/* ~/Library/Containers/com.tencent.qq/Data/LiteLoaderQQNT/plugins/LLOnebot/",
|
|
"build-win": "npm run build && cp manifest.json dist/ && npm run deploy-win",
|
|
"deploy-win": "cmd /c \"copy dist\\* %USERPROFILE%\\documents\\LiteLoaderQQNT\\plugins\\LLOnebot\\\""
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"express": "^4.18.2",
|
|
"json-bigint": "^1.0.0",
|
|
"uuid": "^9.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-env": "^7.23.2",
|
|
"@types/express": "^4.17.20",
|
|
"@types/uuid": "^9.0.8",
|
|
"@types/ws": "^8.5.10",
|
|
"babel-loader": "^9.1.3",
|
|
"ts-loader": "^9.5.0",
|
|
"typescript": "^5.2.2",
|
|
"webpack": "^5.89.0",
|
|
"webpack-cli": "^5.1.4",
|
|
"ws": "^8.16.0"
|
|
}
|
|
}
|