I tried the following command to create a build file for osx
npm run build-macos
npm run build-macos
> html@0.1.1 build-macos /Users/Chetan/Documents/code/demo/html-explorer-tool
> electron-packager . --out=dist --app-version=$npm_package_version --prune --asar --overwrite --arch=x64 --platform=darwin && cp -a ./doc dist/MarkdownExplorer-darwin-x64/doc && cp ./icon.png dist/MarkdownExplorer-darwin-x64/
Packaging app for platform darwin x64 using electron v2.0.9
Wrote new app to dist/html-darwin-x64
cp: ./doc: No such file or directory
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! html@0.1.1 build-macos: `electron-packager . --out=dist --app-version=$npm_package_version --prune --asar --overwrite --arch=x64 --platform=darwin && cp -a ./doc dist/MarkdownExplorer-darwin-x64/doc && cp ./icon.png dist/MarkdownExplorer-darwin-x64/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the html@0.1.1 build-macos script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Chetan/.npm/_logs/2019-04-29T14_00_22_273Z-debug.log
I tried the following command to create a build file for osx npm run build-macos