Giter Site home page Giter Site logo

negative's Introduction

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.

negative's People

Contributors

atdrago avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.