sea-floor
v0.3.3
Published
A little tool for running electron apps.
Downloads
6
Readme
🌊 sea-floor
Sea-floor is a magic little library that makes building electron apps in React super duper easy.
In fact, your entire electron app can be:
import Sea from 'sea-floor';
import path from 'path';
Sea.open(path.join(__dirname, "./path/to/react/component.js"));
Install it in your project and globally with:
$ npm install --save sea-floor@latest
$ npm install -g sea-floor@latest
Then run your app with:
$ sea path/to/file.js
Status
Sea-floor is still being developed at the moment. If you're curious, you can try it out for yourself! Otherwise it might be a good idea to not build anything on top of this at the moment.
TODO
- Update the test suite
- Add better docs
- Figure out a proper way of handling styles
- Add hot code reloading
- Figure out a way to take in components instead of filepaths (ie:
Sea.open(<MyApp />)
) - Add an "escape hatch" that lets people add their own webpack config if they would like