2021.0.0 • Published 3 years ago

application-auction-packages v2021.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Deals Auction Packages Application

Table of Contents

Quick Start

  1. Clone the repo: git clone https://github.rp-core.com/NGOrders/application-application-auction-packages.git.
  2. cd application-application-auction-packages
  3. Put .npmrc file into user home directory with:
    @rubicon:registry=https://nexus.fanops.net/nexus/content/groups/npm-all/
    registry=https://registry.npmjs.org/
  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:

application-application-auction-packages/
├── conf/
└── src/
    ├── actions/
    ├── app/
    │   ├── /conf.js
    │   └── /index.js
    ├── clients/
    ├── components/
    ├── constants/
    ├── flow/
    ├── helpers/
    ├── reducers/
    ├── sagas/
    ├── selectors/
    ├── services/
    ├── styles/
    ├── utilities/
    ├── index.development.html
    └── index.production.html

Build Tasks

TaskCommand
npm run start:devSources the dev environment, compiles the SCSS and JS, runs the server and displays the site.
npm run start:qaSources the qa environment, compiles the SCSS and JS, runs the server and displays the site.
npm run lintRuns ESLint for JS files.
npm testRuns the Jest CLI test suite.
npm run test:changedRuns the test suite on only changed files.
npm run test:updateRuns the test suite and update snapshots.
npm run flowRuns flow type checking.
npm run auditAudits the CSS and creates reports
npm run demoTask for demo branch. Compiles files in production mode and copy config file which will be filled with demo jenkins job.
npm run distCompiles the (S)CSS and JS, minifies all assets, adds a header to each file, runs the linter, test suite and audit.

Deployment

  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.

Contributing

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 http://editorconfig.org.

How To

How to handle flow-typed:

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

Copyright

© 2017-2018. Maintained by @NGOrders.