As the title suggest, move dependencies to preload script, similar to how it's done in the [fork](https://github.com/partheseas/electron-redux/blob/main/packages/electron-redux/src/preload/preload.ts)