This project was bootstrapped with Electron React Boilerplate.
You can :
- Add / Edit / Delete a keymap
- Add a name, command and assign a MIDI KEY to the keymap
The command will be executed in node child_process so bind what you want, for example for launching Atom just type atom
The app is alreay packaged for Mac OS, you can download it HERE If you want the app for another system you can try it with :
$ npm run package
Run these two commands simultaneously in different console tabs.
$ npm run hot-server
$ npm run start-hot
or run two servers with one command 😍
$ npm run dev
- OS X: Cmd Alt I or F12
- Linux: Ctrl Shift I or F12
- Windows: Ctrl Shift I or F12
See electron-debug for more information.
This boilerplate is included following DevTools extensions:
- Devtron - Install via electron-debug.
- React Developer Tools - Install via electron-devtools-installer.
- Redux DevTools - Install via electron-devtools-installer.
To package apps for the local platform:
$ npm run package
To package apps for all platforms:
First, refer to Multi Platform Build for dependencies.
Then,
$ npm run package-all
To package apps with options:
$ npm run package -- --[option]
See electron-builder CLI Usage
This boilerplate uses a two package.json structure.
- If the module is native to a platform or otherwise should be included with the published package (i.e. bcrypt, openbci), it should be listed under
dependencies
in./app/package.json
andexternals
inwebpack.config.base.js
. See Externals. - If a module is
import
ed by another module, include it independencies
in./package.json
. See this ESLint rule. - Otherwise, modules used for building, testing and debugging should be included in
devDependencies
in./package.json
.