Skip to content

aliraza556/sphinx-nav-fiber

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

run tests

Run e2e and component tests (cypress non-headless mode) like so

yarn run cy-open

Run e2e test in headless mode like so

yarn run cy-run

Run component test in headless mode like so

yarn run cy-comp

To create a test coverage report

  • while running the application do
yarn run cy-run
  • whithout running the application do
yarn run test-coverage

The coverage folder contains generated coverage report

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Run Docker locally

For run the docker build locally use the commands bellow

build docker image docker build --build-arg REACT_APP_API_URL={{custom_api_irl}} -t sphinx_nav_fiber .

run the image on localhost

docker run -p 3004:80 sphinx_nav_fiber

Generate icons for latest layout

Add svg icon to public/svg-icons with proper naming

run node ./svgLibBuilder.js

it will generate React Icon in src/components/Icons

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.7%
  • JavaScript 1.3%