Develop the electron application immediately without waiting
MIT License
main-process
hot update(Auto restart)main-process
and renderer-process
all use TypeScriptdmg
and zip
)nsis
and zip
)AppImage
and deb
)lerna
and yarn workspace
reduce project sizeyarn autoclean
to reduce the size of the final packagegit clone [email protected]:BlackHole1/electron-cra-ts-lerna-webpack.git --depth=1 newProject
cd newProject
yarn
# renderer-app (The first shell window, Don't close)
cd packages/renderer-app
yarn start
# main-app (Second shell window, Don't close)
cd packages/main-app
yarn start
cd packages/renderer-app
yarn build
cd ../packages/main-app
# or yarn copyRenderBuildCode && yarn build:main && yarn pack:mac
yarn pack:mac:auto