- Node.js (https://nodejs.org/en/)
- Python 2.7 (3.x.x is not supported by node-gyp)
- A C/C++ toolchain, such as GCC on Linux, Xcode on macOS, or Visual Studio Build Tools on Windows
- Make (https://www.gnu.org/software/make/)
- See https://github.com/nodejs/node-gyp for a detailed guide on how to satisfy the node-gyp dependencies for your specific operating system.
- To remove all project-related node modules:
npm run clean
from the root project directory - To install all required packages:
npm install
- To build the angular project:
npm run build
(ornpm run build-prod
for a production build) - To start the electron app:
npm run electron
- To build a package:
npm install && npm run build
and then:npm run OS
whereOS
is eithermac
,linux
orwindows
- The packages will be placed in
../output
- Example:
npm install && npm run build-prod && npm run windows
will make a production-build installer for Windows
- To generate a new angular module:
npm run ng g module path/to/module
- To generate a new angular component:
npm run ng g component path/to/component
- For more information, see the angular docs
- For making small, frequent changes try using
npm run build-watch
. This type of build will watch for changes made to source files and only recompile what is necessary