103 lines
2.5 KiB
JSON
103 lines
2.5 KiB
JSON
{
|
|
"name": "fourdst-bundle-manager",
|
|
"version": "1.0.0",
|
|
"description": "Electron app for managing fbundle archives",
|
|
"main": "main-refactored.js",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"dev": "electron .",
|
|
"validate": "node validate-dependencies.js",
|
|
"prebuild": "node build-backend.js && node validate-dependencies.js",
|
|
"build": "electron-builder",
|
|
"prepack": "node build-backend.js && node validate-dependencies.js",
|
|
"pack": "electron-builder --dir",
|
|
"postbuild": "node validate-dependencies.js",
|
|
"clean": "rm -rf dist build node_modules/.cache"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tboudreaux/fourdst"
|
|
},
|
|
"keywords": [
|
|
"Electron",
|
|
"fbundle",
|
|
"4DSTAR"
|
|
],
|
|
"author": "4DSTAR Team",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"electron": "^31.0.2",
|
|
"adm-zip": "^0.5.14",
|
|
"electron-builder": "^24.0.0"
|
|
},
|
|
"dependencies": {
|
|
"fs-extra": "^11.0.0",
|
|
"js-yaml": "^4.1.0",
|
|
"adm-zip": "^0.5.14",
|
|
"@electron/remote": "^2.0.0",
|
|
"python-shell": "^5.0.0",
|
|
"plotly.js-dist": "^2.26.0",
|
|
"electron-squirrel-startup": "^1.0.1"
|
|
},
|
|
"build": {
|
|
"appId": "com.fourdst.bundlemanager",
|
|
"productName": "4DSTAR Bundle Manager",
|
|
"directories": {
|
|
"output": "dist"
|
|
},
|
|
"icon": "toolkitIcon.png",
|
|
"files": [
|
|
"**/*",
|
|
"node_modules/**/*",
|
|
"!node_modules/electron/**/*",
|
|
"!node_modules/electron-builder/**/*",
|
|
"!node_modules/.cache/**/*",
|
|
"!**/*.map",
|
|
"!**/test/**/*",
|
|
"!**/tests/**/*",
|
|
"!**/*.test.js",
|
|
"!**/*.spec.js"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "../build/electron/dist/fourdst-backend/",
|
|
"to": "backend/",
|
|
"filter": ["**/*"]
|
|
}
|
|
],
|
|
"asarUnpack": [
|
|
"node_modules/plotly.js-dist/**/*",
|
|
"resources/backend/**/*"
|
|
],
|
|
"mac": {
|
|
"category": "public.app-category.developer-tools",
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": ["x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "zip",
|
|
"arch": ["x64", "arm64"]
|
|
}
|
|
],
|
|
"hardenedRuntime": true,
|
|
"gatekeeperAssess": false,
|
|
"entitlements": "entitlements.mac.plist",
|
|
"entitlementsInherit": "entitlements.mac.plist"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"AppImage",
|
|
"deb",
|
|
"rpm"
|
|
],
|
|
"category": "Development"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
}
|
|
}
|
|
}
|