OpenBuilds-CONTROL/package.json

175 wiersze
4.2 KiB
JSON

{
"name": "OpenBuildsCONTROL",
"version": "1.0.376",
"license": "AGPL-3.0",
"description": "OpenBuildsCONTROL CNC Machine Host Software",
"author": "github.com/openbuilds <support@openbuilds.com>",
"devDependencies": {
"electron": "^23.1.1",
"electron-builder": "^24.9.1",
"electron-builder-notarize": "latest",
"electron-rebuild": "^3.2.9",
"ncp": "^2.0.0"
},
"dependencies": {
"detect-rpi": "^1.4.0",
"electron-updater": "^5.2.1",
"evilscan": "^1.9.1",
"express": "^4.18.1",
"formidable": "^2.1.1",
"https": "^1.0.0",
"ip": "^1.1.8",
"lodash": "^4.17.21",
"md5": "^2.3.0",
"mkdirp": "^2.1.3",
"multer": "^1.4.5-lts.1",
"ncp": "^2.0.0",
"node-abi": "^3.33.0",
"node-gyp": "^9.3.1",
"serialport": "^12.0.0",
"socket.io": "^4.6.1",
"xmodem.js": "^0.1.0"
},
"main": "index.js",
"scripts": {
"start": "echo \"Error: no start script specified\" && exit 0",
"test": "echo \"Error: no test specified\" && exit 0",
"release": "echo \"When you want to create a new release, follow these steps:\" && echo \"1) Update the version in your project's package.json file (e.g. 1.0.3xx)\" && echo \"2) Commit that change (git commit -am v1.0.3xx)\" && echo \"3) Push your changes to GitHub (git push)\"",
"run-local": "electron .",
"postinstall": "electron-builder install-app-deps"
},
"keywords": [
"usb"
],
"repository": "https://github.com/OpenBuilds/OpenBuilds-CONTROL",
"build": {
"publish": [
{
"provider": "github",
"vPrefixedTagName": true
}
],
"afterSign": "./notarize.js",
"mac": {
"icon": "build/icon.icns",
"category": "public.app-category.graphics-design",
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"hardenedRuntime":true,
"gatekeeperAssess": false,
"notarize": false,
"target": {
"target": "default",
"arch": [
"x64",
"arm64"
]
}
},
"icon": "build/icon.icns",
"appId": "openbuilds.control",
"productName": "OpenBuildsCONTROL",
"asar": true,
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"allowElevation": true,
"license": "build/licence.txt",
"installerIcon": "build/icon.ico",
"installerSidebar": "build/installerSidebar.bmp",
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"fileAssociations": [
{
"ext": "obc",
"name": "OpenBuilds CAM Project",
"description": "OpenBuilds CAM Project",
"role": "Viewer"
},
{
"ext": "gcode",
"name": "GCODE File",
"description": "GCODE File",
"role": "Viewer"
},
{
"ext": "gc",
"name": "GCODE File",
"description": "GCODE File",
"role": "Viewer"
},
{
"ext": "tap",
"name": "GCODE File",
"description": "GCODE File",
"role": "Viewer"
},
{
"ext": "nc",
"name": "GCODE File",
"description": "GCODE File",
"role": "Viewer"
},
{
"ext": "cnc",
"name": "GCODE File",
"description": "GCODE File",
"role": "Viewer"
}
],
"files": [
"**/*",
"ssl/**/*",
"firmware/**/*",
""
],
"extraFiles": [
"ssl"
],
"asarUnpack": [
"esptool.exe",
"esptool-mac",
"esptool.py",
"*.bin"
],
"win": {
"sign": "./signWin.js",
"signingHashAlgorithms": ["sha256"],
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "build/icon.ico"
},
"linux": {
"icon": "build/",
"target": [
"deb",
"AppImage"
]
},
"dmg": {
"sign": false,
"icon": "build/icon.icns",
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
}
}
}