110 lines
3.1 KiB
JSON
110 lines
3.1 KiB
JSON
{
|
|
"name": "comNG",
|
|
"productName": "comNG",
|
|
"version": "1.0.11",
|
|
"mode": "dev",
|
|
"description": "A powerful serialport tool with modernx UI",
|
|
"repository": "https://github.com/xenkuo/comNG",
|
|
"main": "src/main.js",
|
|
"scripts": {
|
|
"start": "electron-forge start",
|
|
"rebuild": "electron-rebuild -f -w serialport",
|
|
"package": "electron-forge package",
|
|
"premake": "rm src/index.js.map",
|
|
"terser": "terser src/base.js src/editor.js src/serialport.js -o src/index.js -c -m",
|
|
"make": "electron-forge make",
|
|
"publish": "electron-forge publish",
|
|
"lint": "echo \"No linting configured\""
|
|
},
|
|
"keywords": [],
|
|
"author": {
|
|
"name": "Xen",
|
|
"email": "xenkuo@gmail.com"
|
|
},
|
|
"license": "MIT",
|
|
"config": {
|
|
"forge": {
|
|
"packagerConfig": {
|
|
"asar": false,
|
|
"ignore": [
|
|
"node_modules/monaco-editor/(dev|esm|min-maps|monaco.d.ts)",
|
|
"node_modules/materialize-css/(extras|js|sass)",
|
|
"node_modules/material-design-icons/(?!iconfont)",
|
|
"src/(base|editor|serialport).js"
|
|
],
|
|
"icon": "image/logo"
|
|
},
|
|
"makers": [
|
|
{
|
|
"name": "@electron-forge/maker-squirrel",
|
|
"config": {
|
|
"authors": "Xen",
|
|
"setupIcon": "image/logo.ico",
|
|
"iconUrl": "https://raw.githubusercontent.com/xenkuo/image-host/master/logo.ico"
|
|
}
|
|
},
|
|
{
|
|
"name": "@electron-forge/maker-dmg",
|
|
"config": {
|
|
"icon": "./image/logo.icns",
|
|
"background": "./image/dmg-background.png",
|
|
"format": "ULFO"
|
|
}
|
|
},
|
|
{
|
|
"name": "@electron-forge/maker-deb",
|
|
"config": {
|
|
"options": {
|
|
"maintainer": "Xen",
|
|
"icon": "./image/logo.png",
|
|
"mimeType": [
|
|
"cnl",
|
|
"text"
|
|
],
|
|
"section": "utils",
|
|
"categories": [
|
|
"Utilify"
|
|
],
|
|
"homepage": "https://xenkuo.github.io",
|
|
"description": "comNG is a serialport tool from next generation!"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"publishers": [
|
|
{
|
|
"name": "@electron-forge/publisher-github",
|
|
"config": {
|
|
"repository": {
|
|
"owner": "xenkuo",
|
|
"name": "comNG"
|
|
},
|
|
"draft": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"electron-localshortcut": "^3.2.1",
|
|
"electron-squirrel-startup": "^1.0.0",
|
|
"electron-store": "^5.1.0",
|
|
"hexy": "^0.3.0",
|
|
"material-design-icons": "^3.0.1",
|
|
"materialize-css": "^1.0.0-rc.2",
|
|
"monaco-editor": "^0.20.0",
|
|
"serialport": "^8.0.7"
|
|
},
|
|
"devDependencies": {
|
|
"@electron-forge/cli": "6.0.0-beta.47",
|
|
"@electron-forge/maker-deb": "6.0.0-beta.47",
|
|
"@electron-forge/maker-dmg": "^6.0.0-beta.49",
|
|
"@electron-forge/maker-squirrel": "6.0.0-beta.47",
|
|
"@electron-forge/publisher-github": "^6.0.0-beta.50",
|
|
"electron": "7.2.4",
|
|
"electron-rebuild": "^1.10.0",
|
|
"eslint": "^6.8.0",
|
|
"terser": "^4.6.13"
|
|
}
|
|
}
|