react-scripts-electron-new

1.0.8 • Public • Published

react-scripts-electron-new

This is a fork of react-scripts (v1.0.17). It is modified slightly so that

yarn start

will open an electron instance (v1.7.9) running your react app. Also the webpack target has been set to electron-renderer so that your react code and node code run in the same process.

Everything else is exactly as in create-react app.

How to use it

Simply call create-react-app with the --scripts-version parameter like so:

create-react-app app --scripts-version react-scripts-electron-new

This is what you'll get

Screenshot

Todo

  • Find a better name (react-scripts-electron was already used (yet outdated))
  • Add task to create an .app / .exe / .whateverLinuxDoes

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.80latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i react-scripts-electron-new

Weekly Downloads

0

Version

1.0.8

License

MIT

Last publish

Collaborators

  • lukasbombach