react-scripts-electron-new
Configuration and scripts for Create React App.
Last updated 2 years ago by lukasbombach .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-scripts-electron-new 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.8                                ...           latest (2 years ago)

9 Versions

  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 9
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |