mStream/docs/compile-express-2.md
2021-03-04 18:47:18 -05:00

852 B

Alternative packaging steps

Install Dependencies

npm install -g electron-builder

# Install modclean (optional)
npm install -g modclean

Modify package.json (optional)

Remove all dependencies related to the command line (commander). These packages will never be used by mStream Express and can be safely removed to reduce the output size

Cleanup node_modules (optional)

Modclean can be used to clean out the node_modules folder of useless files. This deletes over 1000 useless files saving space and shortening install time. To install modlcean, run:

npm install -g modclean

Then run modclean with:

modclean

Compile

# OSX
electron-builder

Code Signing