Update: WebSocket模式添加对Serial和Arduino编译上传的支持

This commit is contained in:
王立帮
2024-12-01 14:42:25 +08:00
parent d8ceafadbf
commit d245eaf458
21 changed files with 4717 additions and 41 deletions

View File

@@ -4,7 +4,11 @@
"description": "",
"main": "src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build:dev": "webpack --config=webpack.dev.js",
"build:prod": "webpack --config=webpack.prod.js",
"start-server": "nodemon --watch dist --exec node dist/bundle.js",
"watch": "webpack --watch --config=webpack.dev.js",
"start": "npm-run-all --parallel watch start-server"
},
"repository": {
"type": "git",
@@ -17,6 +21,8 @@
"commander": "^12.1.0",
"express": "^4.21.1",
"fs-extra": "^11.2.0",
"fs-plus": "^3.1.1",
"iconv-lite": "^0.6.3",
"lodash": "^4.17.21",
"mitt": "^3.0.1",
"serialport": "^12.0.0",
@@ -25,5 +31,15 @@
"simple-git": "^3.27.0",
"socket.io": "^4.8.1",
"usb": "^2.14.0"
},
"devDependencies": {
"eslint": "^8.51.0",
"eslint-webpack-plugin": "^4.0.1",
"nodemon": "^3.1.7",
"npm-run-all": "^4.1.5",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-merge": "^6.0.1",
"webpack-node-externals": "^3.0.0"
}
}