45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"name": "electron-serialport",
|
|
"version": "1.0.2",
|
|
"description": "A minimal Electron application with node serialport",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"dev:vite": "vite",
|
|
"dev:electron": "wait-on tcp:5173 && cross-env NODE_ENV=development electron .",
|
|
"dev": "concurrently -k \"npm run dev:vite\" \"npm run dev:electron\"",
|
|
"build": "vite build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:serialport/electron-serialport.git"
|
|
},
|
|
"keywords": [
|
|
"Electron",
|
|
"quick",
|
|
"start",
|
|
"tutorial",
|
|
"demo"
|
|
],
|
|
"author": "GitHub",
|
|
"license": "CC0-1.0",
|
|
"devDependencies": {
|
|
"@vitejs/plugin-react": "^6.0.2",
|
|
"concurrently": "^10.0.3",
|
|
"cross-env": "^10.1.0",
|
|
"electron": "^42.3.3",
|
|
"vite": "^8.0.16",
|
|
"wait-on": "^9.0.10"
|
|
},
|
|
"dependencies": {
|
|
"react": "^19.2.7",
|
|
"react-dom": "^19.2.7",
|
|
"serialport": "^10.3.0",
|
|
"tableify": "^1.1.1"
|
|
},
|
|
"engines": {
|
|
"node": "18.16.1",
|
|
"npm": "9.5.1"
|
|
}
|
|
}
|