@mxenabled/rules-engine
v1.0.4
Published
UI for MX's rules engine Dwight
Maintainers
Readme
Rules Engine
A React UI component library for MX's rules engine Dwight, built with TypeScript and Material-UI.
Scripts
Get up and running
yarn storybook- Starts the Storybook development server on port 6006 for component documentation and testing** Shareable Storybook url ** - is located in the output of the pages step when you create an MR
Test your code
yarn test- Runs the test suite using Vitest
Test publish your package
yarn publish:alpha- Publishes the package to npm with the "alpha" tag for pre-release testing (ie 1.0.0-alpha.JB1)
Publish the real deal
yarn publish:latest- Publishes the package to npm as the latest stable releaseyarn build- Compiles the TypeScript source code into distributable JavaScript using Rollupyarn build:watch- Runs the build process in watch mode, automatically rebuilding when files changeyarn build:analyze- Builds the project with bundle analysis enabled to visualize the output size and dependenciesyarn prepublishOnly- Automatically runs the build process before publishing to npmyarn publish:beta- Publishes the package to npm with the "beta" tag for beta releasesyarn build-storybook- Builds a static version of Storybook to the compiled_docs directoryyarn test:watch- Runs tests in watch mode, automatically re-running when files changeyarn citest- Runs tests with coverage reporting for continuous integration environmentsyarn lint- Checks TypeScript and TSX files for code quality issues using ESLintyarn type-check- Validates TypeScript types without generating output files
