Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 890 Bytes

development.md

File metadata and controls

57 lines (39 loc) · 890 Bytes

Development

Environment Setup

First, clone the project

git clone https://github.com/jiahaog/nativefier.git
cd nativefier

Install dependencies and build:

# macOS and Linux
npm run dev-up

# Windows
npm run dev-up-win

If dependencies are installed and you just want to re-build,

npm run build

You can set up a symbolic link so that running nativefier invokes your development version including your changes:

npm link

After 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

Tests

# 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