Skip to content

PineapplesDev/expo-electron

Repository files navigation

ExpoElectron

This workspace has been generated by Nx, Smart Monorepos · Fast CI.

Integrate with editors

Enhance your Nx experience by installing Nx Console for your favorite editor. Nx Console provides an interactive UI to view your projects, run tasks, generate code, and more! Available for VSCode, IntelliJ and comes with a LSP for Vim users.

Start Electron Locally:

Run yarn nx serve expo to start expo locally. Run yarn nx serve electron to start electron locally.

Package Electron:

Run yarn nx package-mac electron to package for mac Run yarn nx package-universal electron to package for mac arm64 and intel. Run yarn nx package-linux electron to package for linux. Run yarn nx package-windows electron to package for windows.

Start the application

Run npx nx serve expo to start the development server. Happy coding!

Build for production

Run npx nx build expo to build the application. The build artifacts are stored in the output directory (e.g. dist/ or build/), ready to be deployed.

Running tasks

To execute tasks with Nx use the following syntax:

npx nx <target> <project> <...options>

You can also run multiple targets:

npx nx run-many -t <target1> <target2>

..or add -p to filter specific projects

npx nx run-many -t <target1> <target2> -p <proj1> <proj2>

Targets can be defined in the package.json or projects.json. Learn more in the docs.

Set up CI!

Nx comes with local caching already built-in (check your nx.json). On CI you might want to go a step further.

Explore the project graph

Run npx nx graph to show the graph of the workspace. It will show tasks that you can run with Nx.

Connect with us!

About

Expo - Android, iOS, Web, and Electron

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published