2024-07-27 18:04:21 +03:00
|
|
|
{
|
|
|
|
"name": "desktop",
|
2024-08-06 12:44:23 +03:00
|
|
|
"version": "0.6.271",
|
2024-07-27 18:04:21 +03:00
|
|
|
"main": "dist/main/electron.js",
|
|
|
|
"author": "Hardcore Engineering <hey@huly.io>",
|
|
|
|
"template": "@hcengineering/default-package",
|
|
|
|
"scripts": {
|
|
|
|
"_phase:package": "rushx package",
|
|
|
|
"package": "rushx bump && rm -rf ./dist && cp -r ../desktop/dist . && cp ../desktop/.env ./dist && echo 'done'",
|
2024-07-30 10:49:50 +03:00
|
|
|
"dist": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false NODE_ENV=production VERSION=$(node ../common/scripts/show_tag.js) MODEL_VERSION=$(node ../common/scripts/show_version.js) electron-builder build -p onTag",
|
|
|
|
"dist-local": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false NODE_ENV=production VERSION=$(node ../common/scripts/show_tag.js) MODEL_VERSION=$(node ../common/scripts/show_version.js) electron-builder build",
|
|
|
|
"dist-signed": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=true NODE_ENV=production VERSION=$(node ../common/scripts/show_tag.js) MODEL_VERSION=$(node ../common/scripts/show_version.js) electron-builder build -c.afterSign=scripts/notarize.js -p onTag",
|
|
|
|
"dist-mac-win": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false NODE_ENV=production VERSION=$(node ../common/scripts/show_tag.js) MODEL_VERSION=$(node ../common/scripts/show_version.js) electron-builder build --windows --x64",
|
2024-07-27 18:04:21 +03:00
|
|
|
"format": "echo done",
|
|
|
|
"bump": "bump-package-version"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@hcengineering/platform-rig": "^0.6.0",
|
|
|
|
"@hcengineering/desktop": "^0.6.0",
|
|
|
|
"@vercel/webpack-asset-relocator-loader": "^1.7.3",
|
|
|
|
"node-loader": "~2.0.0",
|
|
|
|
"cross-env": "~7.0.3",
|
|
|
|
"typescript": "^5.3.3",
|
|
|
|
"electron": "^31.3.0",
|
|
|
|
"@types/node": "~20.11.16",
|
|
|
|
"electron-builder": "^24.13.3",
|
|
|
|
"@electron/notarize": "^2.3.2"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"electron-squirrel-startup": "~1.0.0",
|
|
|
|
"dotenv": "~16.0.0"
|
|
|
|
},
|
|
|
|
"homepage": "https://huly.io/",
|
|
|
|
"productName": "Huly Desktop",
|
|
|
|
"description": "Huly Desktop experience",
|
|
|
|
"build": {
|
|
|
|
"productName": "Huly",
|
|
|
|
"appId": "hc.hcengineering.Huly",
|
|
|
|
"directories": {
|
|
|
|
"output": "deploy"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"./dist/**"
|
|
|
|
],
|
|
|
|
"mac": {
|
|
|
|
"category": "public.app-category.utilities",
|
|
|
|
"artifactName": "Huly-macos-${version}-${arch}.${ext}",
|
|
|
|
"target": "default",
|
|
|
|
"icon": "./src/AppIcon.icns",
|
|
|
|
"hardenedRuntime": true,
|
|
|
|
"entitlements": "./entitlements.mac.plist",
|
|
|
|
"entitlementsInherit": "./entitlements.mac.plist",
|
|
|
|
"notarize": false,
|
|
|
|
"publish": {
|
|
|
|
"provider": "s3",
|
|
|
|
"bucket": "desktop-distro",
|
|
|
|
"endpoint": "https://47fadbaa4ecbea9f3e8b7043a4584e27.r2.cloudflarestorage.com",
|
|
|
|
"channel": "latest"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"win": {
|
|
|
|
"target": [
|
|
|
|
"zip",
|
|
|
|
"nsis"
|
|
|
|
],
|
|
|
|
"artifactName": "Huly-windows-${version}.${ext}",
|
|
|
|
"verifyUpdateCodeSignature": false,
|
|
|
|
"icon": "./src/AppIcon.png",
|
|
|
|
"publish": {
|
|
|
|
"provider": "s3",
|
|
|
|
"bucket": "desktop-distro",
|
|
|
|
"endpoint": "https://47fadbaa4ecbea9f3e8b7043a4584e27.r2.cloudflarestorage.com",
|
|
|
|
"channel": "latest"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"linux": {
|
|
|
|
"artifactName": "Huly-linux-${version}.${ext}",
|
|
|
|
"target": [
|
|
|
|
"AppImage",
|
|
|
|
"deb",
|
|
|
|
"zip"
|
|
|
|
],
|
|
|
|
"category": "Utility",
|
|
|
|
"publish": {
|
|
|
|
"provider": "s3",
|
|
|
|
"bucket": "desktop-distro",
|
|
|
|
"endpoint": "https://47fadbaa4ecbea9f3e8b7043a4584e27.r2.cloudflarestorage.com",
|
|
|
|
"channel": "latest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"electron",
|
|
|
|
"typescript",
|
|
|
|
"svelte"
|
|
|
|
]
|
|
|
|
}
|