dmgtest-cc-shared v3.0.0-alpha.47
Component Library
This is a component library containing shared components to be shared accross Control Center services.
Steps for local development and linking it to your project
- yarn install
- yarn link
- yarn build
- Go to your service and yarn link "@dmgtech/cc-shared"
To get changes reflected in the local service which links this component library, do yarn build
Available Scripts
In the project directory, you can run:
yarn test
Launches the test runner in the interactive watch mode.\ See the section about running tests for more information.
yarn lint
Test linting for the files and identifies linting errors if present.
yarn lint:css
Test linting for the CSS files and identifies linting errors if present.
yarn build
Builds the library to the lib
folder.\
It bundles React in prodcution mode to be used as library in other React apps and optimizes the build for the best performance.
yarn start
Watches for any changes and rebuilds the package. Comes in handy at the time of development.
3 years ago
3 years ago