First, clone the project
git clone https://github.com/jiahaog/nativefier.git
cd nativefierInstall dependencies and build:
# macOS and Linux
npm run dev-up
# Windows
npm run dev-up-winIf dependencies are installed and you just want to re-build,
npm run buildYou can set up a symbolic link so that running nativefier invokes your development version including your changes:
npm linkAfter doing so (and not forgetting to build with npm run build), you can run Nativefier with your test parameters:
nativefier <--your-awesome-new-flag>Or you can automatically watch the files for changes with:
npm run watch# To run all tests (unit, end-to-end),
npm test
# To run only unit tests,
npm run jest
# To run only end-to-end tests,
npm run e2e