@guruhotel/inspire
v0.1.18
Published
- Yarn for packages management - [NP](https://github.com/sindresorhus/np) for manage versions and automatically publish at NPMJS.com
Downloads
26
Keywords
Readme
This project was built with Storybook and Create-react-app
Requeriments
- Yarn for packages management
- NP for manage versions and automatically publish at NPMJS.com
Available Scripts
In the project directory, you can run:
yarn dev
Run development version
yarn build
Compile files to the folder .next
yarn start
Run production version
yarn build-ui
Compile SASS files and React components in ui folder to be used in the NPM package
How to deploy
This is the workflow to make updates:
You will need to run
yarn installand thenyarn devEvery react component must be created on
src/componentsfolder and exported onsrc/index.jsEvery SASS file (Attached to some react component) must be created on
src/sassand exported onmain.scssAdd the respective component documentation on
pages/componentsExecute
yarn buildto compile updated filesExecute
yarn build-uito compile in the final distribution folderCommit the changes and add a messsage
Execute
np, select the version to be deployed and that's all, the GitLab repo will be updated and new package into NPMjs.org published.
