A work-in-progress Markdown editor.
Built with Svelte | CodeMirror | Electron
- Run
npm install
to install dependencies.electron-builder install-app-deps
will automatically run afterwards. It rebuilds dependencies for the version of Node that Electron is using, instead of the system version (which will rarely match). - Run
npm run dev
to bundle JS, compile SCSS, copy assets, etc. Watches for changes tosrc/js
andsrc/styles
. If changes are made to othersrc
directories, we must re-run this script manually. - Run
npm run start
to open Electron from/node_modules/electron
and run the app.
Electron will reload when changes are made to css or js files in app
. This is implemented in main.js
with electron-reload.
src
- Source files.app
- Run-time app files. Copied or built fromsrc
.assets
- Support assets for our builds. Icons, marketing images, etc .dist
- Packaged distributable app will be output here.