1.0.0 • Published 5 years ago
@canoadigital/astrocentro-components v1.0.0
Astrocentro components
Astrocentro's default library of web/react components.
Getting started
- Clone the repository
git clone git@bitbucket.org:canoadigital/astrocentro-components.git. - Run
cd astrocentro-components. - Run
npm install.
Starting Direflow's development environment
- Run
npm start.
Direflow will start running on localhost:3000 and your browser will open a new window.
Starting Storybook's development environment
- Run
npm run storybook.
Storybook will start running on localhost:6006 and your browser will open a new window.
Creating a new component
See the docs at Confluence.
Build Direflow's web components
- Run
npm run build.
This will create a/buildfolder containing adireflowBundle.jsfile.
Build Direflow's react components
- Run
npm run build-lib.
This will create a/libfolder containing the react component library.
Publish Direflow components in NPM
- Run
npm publish.
Preview Storybook's documentation
- Run
npm run storybook-docs.
Storybook will run on localhost:52394 and your browser will open a new window with the docs preview.
Build Storybook's documentation
- Run
npm run build-storybook-docs.
This will create a/storybook-staticfolder containing storybook's documentation.
Prerequisites
Node.JS version: ^14.0.0.
Built With
Direflow - Web/react component builder.
Storybook - Component's documentation.
Authors
- Matheus Henrique - Initial work.
1.0.0
5 years ago