@schola-team/components-test
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Schola Components Library

React component library for Schola UI platforms.

To collaborate

Clone this repository to your local environment and run:

npm install

We use Storybook to organize our components and design system. To develop use:

npm run storybook

To build and publish to NPM

Add the components to the file: src/lib/index.js that wants to be in the final package. So then run:

npm run build

Now, it's time to make logging on NPM in your browser. Ask the credentials to the team. Then, log in to your terminal. For more information, consult here.

Every time that we want to update the library, we need to set manually the new version number on the package.json. Eg. "version": "0.1.15". Otherwise, it will output an error in the publishing process.

Once the build process and the version are completed we will be able to publish the library on NPM. Run:

npm publish

Automatically the package will be updated to NPM. Check it here.

To deploy to Chromatic

The process to make an update of our Storybook into Chromatic is simpler. Run:

npm run chromatic

This command contains the token that connect our Storybook to our Chromatic account. In a few seconds the deploy will be available.

Package Sidebar

Install

npm i @schola-team/components-test

Weekly Downloads

5

Version

1.0.3

License

MIT

Unpacked Size

141 kB

Total Files

63

Last publish

Collaborators

  • schola-team