This document outlines the main structure of the FreeMAN codebase. It is a guide, and not an exhaustive list.
All TypeScript code lives in here.
src/common- application code that runs on either themainorrendererprocesssrc/interfaces- code that will not run in any process (interfaceandtypedefinitions)src/main- code that runs exclusively in themainprocesssrc/renderer- code that runs exclusively in therendererprocesssrc/renderer/components- React components, essentially the view of the applicationsrc/renderer/styles- sass code responsible for basic styling and dimensions. Colours are handled by application logic to support theming
Static assets are built here and used during development.
Default buildResources folder for electron-builder (see documentation).
Default path for icons for electron-builder.
All unit tests live here. The pathing maps to the src directory under test.
Custom, usually rather stub, typings definitions for untyped modules.