An app for making visual comparisons
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
docs
lib
resources-osx
resources
scripts Replace `dmg` and `predmg` with `build-artifacts`. Create ZIP. Nov 5, 2017
test Use single window for clear test Jul 18, 2017
view Fix syntax error on body Jul 19, 2017
.eslintrc.json
.gitignore
.travis.yml Update .travis.yml Oct 28, 2017
LICENSE
README.md Bump version to 0.10.3 Nov 5, 2017
gulpfile.js Turn off asar Oct 28, 2017
package-lock.json Update electron, electron-packager, and electron-rebuild Nov 5, 2017
package.json Bump version to 0.10.3 Nov 5, 2017

README.md

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.