Negative

An app for making visual comparisons

Negative

An app for making visual comparisons.

Negative Usage

Follow @NegativeJS on Twitter for important updates.

Download

User Documentation

Please check negative/releases for details on changes between versions.

Contributing

All contributions are welcome!! Please check negative/issues for things that need attention, or feel free to create your own. Please make sure you create an issue first, and then do the work and a submit a PR.

Build Negative.app

Currently only Mac OS X is supported.

  1. Install Node.js >= v8
  2. git clone https://github.com/atdrago/negative.git
  3. cd negative
  4. npm install
  5. npm run build
  6. Locate and copy dist/Negative-darwin-x64/Negative.app to your Applications folder

Testing

Important: Tests get run against the built app. If you are attempting to run tests and the results are not what you expected, you need to npm run build again.

  1. npm run build
  2. npm test

Developing

Compiling

  • gulp - Compile, combine, and minify files for the renderer process. This isn't necessary for files in the main process. Make sure this is running when working on UI.

NPM Scripts

  • npm start - Start the app with the following environment variables:
    • NODE_ENV=development
    • ELECTRON_ENABLE_LOGGING=true
    • ELECTRON_ENABLE_STACK_DUMPING=true
  • npm run build - Build the production app
    1. Compiles JavaScript and Sass
    2. Copies necessary files to ./release/
    3. Runs npm install --production in ./release/
    4. Builds the app moves it to ./dist/
  • npm run lint - Run ESLint
  • npm test - Run Mocha tests
  • npm run travis
    1. Run build
    2. Run test
  • npm run open - Starts the app from dist/Negative-darwin-x64/Negative.app
  • npm run build-artifacts
    1. Run build-sign
    2. Create dist/Negative-darwin-x64/Negative-v0.10.3.dmg
    3. Create dist/Negative-darwin-x64/Negative-v0.10.3-mac.zip

About

Created by Adam Drago. Built on Electron.

not_used
Screenshot

Something missing? Edit this app.