Use lerna
Some tooling and folder structure change. Since React and Electron don't share dependencies, it really doesn't make sense to put them in the same package. Hence lerna.
Summary of the tooling used:
- lerna to separate things that should be separated
- CRA for react
- electron-webpack (a mini cra for electron) for dev/build
- electron-builder for packaging apps (same as shell)
The PR file changes isn't readable, best way is to quickly surf through the folders: https://github.com/parity-js/light/tree/am-lerna