hu-barras-component-react

0.2.4 • Public • Published

HU Components Mobile Component

Hotel Urbano Components Mobile Component

About

This repo is based on React CDK with some minor changes to be able to use this component as a dependency in other applications without publishing it to NPM.

Install

This workflow depends on Node.js, so make sure you have installed

  1. Remove .npmrc from the main directory.
  2. Run npm install.
  3. Run git checkout .npmrc
  4. Try to run tests with npm run test to see if it works.
  5. Have fun!

Using

While working in the component, you can pretty much follow the React CDK instructions, but if you want to use your component on another React application you should do this:

  • Run project with npm run storybook or npm start as an alias.

Publish

  • First follow the steps at sinopia to setup an account
  • Then npm version <newversion> to bump a new version
  • Then npm publish to transpile and publish the package
  • Check the new version on sinopia and you are done

Deploy to cms-web

Deploy to other projects (pacotes-web, hotels, wasp, etc...)

Readme

Keywords

none

Package Sidebar

Install

npm i hu-barras-component-react

Weekly Downloads

1

Version

0.2.4

License

MIT

Last publish

Collaborators

  • daniel.campagna