@nuskin/foundation-core-app

1.10.3 • Public • Published
Pipeline Badge Latest Release Badge Downloads Badge

@nuskin/foundation-core-app

This is Foundation Shared Dependancy Repo

Releases

Installation Guide

To integrate the NuSkin Shared Dependancy into your NuSkin Pages project, follow these steps:

Clone the repository to your local machine

git clone git@code.tls.nuskin.io:ns-am/content-foundation/foundation-core-app.git

Running the project

Run the main application using yarn

yarn dev

Dependencies

This project relies on the following dependencies:

Emotion UI Libraries

  • @emotion/react@^11.11.1
  • @emotion/styled@^11.11.0

Material-UI Libraries

  • @mui/material@5.14.16
  • @mui/icons-material@^5.14.16
  • @mui/utils@^5.14.16

NuSkin Foundation Theme

  • @nuskin/foundation-theme@1.5.0

Testing

We use Jest for testing our project. Below are the available test scripts:

  • Run all tests and generate coverage report:**

    yarn test
  • Run tests for a specific pattern (e.g., accordion/*):

    yarn run test:pattern
  • Run only failed tests from the last test run:

    yarn run test:failed
  • Generate and view code coverage report:

    yarn run test:coverage
  • The yarn test script builds the project using Next.js before running Jest tests.

  • Feel free to customize the test patterns or add additional options as needed.

Coverage Report:

After running tests, open the index.html file in the coverage directory to view the coverage report.

Package Sidebar

Install

npm i @nuskin/foundation-core-app

Weekly Downloads

34

Version

1.10.3

License

MIT

Unpacked Size

480 kB

Total Files

206

Last publish

Collaborators

  • nkranendonk
  • emoore
  • nuskin-cws
  • klau
  • rellenberger