Orders Deals Application

Usage no npm install needed!

<script type="module">
  import applicationDeals from '';


Orders Deals Application

Table of Contents

Quick Start

  1. Clone the repo: git clone
  2. cd application-deals
  3. Put .npmrc file into user home directory with:
  4. Install build dependencies: npm install
  5. Run the project npm run start:dev

This will build the project and run a server at http://localhost:3000. It should automatically open. This will increment a number if that port is unavailable. It will also watch for changes and automatically recompile and update the HTML, JS and (S)CSS.

What's Included

Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:

├── conf/
└── src/
    ├── actions/
    ├── app/
    │   ├── /conf.js
    │   └── /index.js
    ├── clients/
    ├── components/
    ├── constants/
    ├── flow/
    ├── helpers/
    ├── reducers/
    ├── sagas/
    ├── selectors/
    ├── services/
    ├── utilities/
    └── index.html

Build Tasks

Task Command
npm run start:dev Sources the dev environment, compiles the SCSS and JS, runs the server and displays the site.
npm run start:qa Sources the qa environment, compiles the SCSS and JS, runs the server and displays the site.
npm run start:local This script is similar to other 'start' scipts. But it is starting application but aimed to locally ran endpoints. (Looking for backend services in
npm run lint Runs ESLint for JS files.
npm test Runs the Jest CLI test suite.
npm run test:changed Runs the test suite on only changed files.
npm run test:update Runs the test suite and update snapshots.
npm run typecheck Runs flow type checking.
npm run audit Audits the CSS and creates reports
npm run demo Task for demo branch. Compiles files in production mode and copy config file which will be filled with demo jenkins job.
npm run dist Compiles the (S)CSS and JS, minifies all assets, adds a header to each file, runs the linter, test suite and audit.


  1. Build to deploy: npm run dist

Bugs and feature requests

Have a bug or a feature request? Please first read the Contributing documentation and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.


Contribution is a perfect way to help advance the project. Please read the contributing guidelines before getting started.

Editor preferences are available in the .editorconfig for use in common text editors. Read more and download plugins at

How To

How to handle flow-typed:

  • Update definitions: flow-typed install
  • Create stubs: flow-typed create-stub universal-analytics@0.4.16


© 2017-2018. Maintained by @NGOrders.