{"_id":"@amccloud/universal","_rev":"2-95ef54284655f0aae55c1399c81e9fff","name":"@amccloud/universal","dist-tags":{"latest":"0.0.0-development"},"versions":{"0.0.0-development":{"name":"@amccloud/universal","version":"0.0.0-development","description":"Utility for creating Universal macOS applications from two x64 and arm64 Electron applications","main":"dist/cjs/index.js","module":"dist/esm/index.js","license":"MIT","keywords":["electron","apple silicon","universal"],"engines":{"node":">=8.6"},"author":{"name":"Samuel Attard"},"scripts":{"build":"npm run tsc && npm run tsc -- -p tsconfig.esm.json","lint":"prettier --check \"src/**/*.ts\"","prepublishOnly":"npm run build","test":"exit 0","tsc":"tsc"},"devDependencies":{"@continuous-auth/semantic-release-npm":"^2.0.0","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.4","@types/node":"^14.14.7","husky":"^4.3.0","lint-staged":"^10.5.1","prettier":"^2.1.2","semantic-release":"^17.2.2","typescript":"^4.0.5"},"dependencies":{"@malept/cross-spawn-promise":"^1.1.0","asar":"^3.0.3","debug":"^4.3.1","dir-compare":"^2.4.0","fs-extra":"^9.0.1"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.ts":["prettier --write"]},"gitHead":"63b93973f17ddafa3b77c1d24ea08ad523dcb514","_id":"@amccloud/universal@0.0.0-development","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-rCdbxLN1CCl8I5qmBv5fkVBHW0fFWj9BlZLDnN17Gd7vgo/ItLfjL/RCeVW576i9T/1f4Q4gJNgZHZHGonO5lg==","shasum":"52da98436c1f44abbd65a4c9dd948666356db1d0","tarball":"https://registry.npmjs.org/@amccloud/universal/-/universal-0.0.0-development.tgz","fileCount":34,"unpackedSize":56726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzFNrCRA9TVsSAnZWagAAfSAP/3N6ed6hYRLhbK54aF/c\n/9GgHj99AOpvH4h3UD83nQ34Z4QDV1kNW06wDq1OkqWhdHu1YsmC1qIBFIQK\nEp/oUkYj6Iy7DAKVAgYF9hEIkzpbfg1nilZPLIczXlnFjN3VFm3TgIhqTBbA\nPCYLjmHyCU3LrK1Lkg+ARBeDCbFpx6+z110NWqCVEodBC+I+Dsd3/GWRK734\nhdRD7PA8lhCpoTwo0j29YmVI+Pwb/4osZJzXN4ti5U011xuAeLqDyvnz5/Q3\n2kEbrtAsq5fGMXU5Ou3FhAmUSXr81Z5UdBj6hspc3Rzc9uyHnm92pGP7Dr/e\nSgvG2vebKTZy65VqZgpfLYHFAj4El6gFDLVXq3pLFQUCmAlN0t7fw46AGT4+\n5IK+6ebFSrOJGoH6hxA92pnu9zeQDLkZTR7dFuHUREciIPg3cDbeD7d/VTV7\nPUA6kgjzrAH3sId294CzvfaBaixPpiUxv2VHHMDjBlseV+QQjUP4f1a5Xsla\nXfCjcmLQx83z5apJOb/KyWCVhW/JRxLIdHVQMroyUGvYFLYAD4MHjdHYXJwX\ni0rH6IUMafbzR9gEeJlfHAIsMrMQMnGVzAEoODK76B/rVHuJdKuawojMUhRY\nP4qaHreiIL8arLuGa9FoWFMECf7/d8V1rlmiazJz76HCtNBaGMSuM93diBH/\nEtk9\r\n=vz+d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjTyB3ZpMQBk8LhoO/60klcMdzgSNGFkMpNNaJtJpvygIgF/cRjhsN/RRn/NIIWHmeIO0xIX4plDC0I4sco7COfFs="}]},"_npmUser":{"name":"amccloud","email":"andrew@amccloud.com"},"directories":{},"maintainers":[{"name":"amccloud","email":"andrew@amccloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal_0.0.0-development_1635651002324_0.7655220256644886"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-31T03:30:02.250Z","0.0.0-development":"2021-10-31T03:30:02.603Z","modified":"2022-04-04T13:46:54.437Z"},"maintainers":[{"name":"amccloud","email":"andrew@amccloud.com"}],"description":"Utility for creating Universal macOS applications from two x64 and arm64 Electron applications","keywords":["electron","apple silicon","universal"],"author":{"name":"Samuel Attard"},"license":"MIT","readme":"# @electron/universal\n\n> Create universal macOS Electron applications\n\n[![CircleCI](https://circleci.com/gh/electron/universal/tree/master.svg?style=svg)](https://circleci.com/gh/electron/universal)\n\n\n## Usage\n\n```typescript\nimport { makeUniversalApp } from '@electron/universal';\n\nawait makeUniversalApp({\n  x64AppPath: 'path/to/App_x64.app',\n  arm64AppPath: 'path/to/App_arm64.app',\n  outAppPath: 'path/to/App_universal.app',\n});\n```\n\n## FAQ\n\n#### The app is twice as big now, why?\n\nWell, a Universal app isn't anything magical.  It is literally the x64 app and\nthe arm64 app glued together into a single application.  It's twice as big\nbecause it contains two apps in one.\n\n#### What about native modules?\n\nThe way `@electron/universal` works today means you don't need to worry about\nthings like building universal versions of your native modules.  As long as\nyour x64 and arm64 apps work in isolation the Universal app will work as well.\n\n#### How do I build my app for Apple silicon in the first place?\n\nCheck out the [Electron Apple silicon blog post](https://www.electronjs.org/blog/apple-silicon)\n","readmeFilename":"README.md"}