0.2.22 • Published 3 years ago

pom-react-components v0.2.22

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

POM React Components

This was created with the guidance of this tutorial

Purpose: a collection of reusable UI components to provide consistency across POM applications and for the convenience of developers

Available Scripts

In the root pom-react-components directory, you can run:

yarn && yarn build or npm update && npm run build

Compiles the code into basic javascript for production in the dist folder. It will generate 2 bundled files

  • index.cs.js
  • index.esm.js

yarn publish or npm run publish

Publishes the package on npmjs.com. To update your package in npm you just need to increment the version number in the package.json file and run the script.

yarn i-all

Installs modules listed in package.json for both the root and playground

To start the playground, you can run:

yarn build-watch

to hot reload on any file changes

yarn start-playground

to load the playground app on http://localhost:3000

yarn dev

Don't use for now... for some reason, it crashes often on file changes

Useful commands

npm version major npm version minor npm version patch

To update the package versions

TODO

  • add tailwind css
  • add twin.macro
  • move over components from discover-pom