@greenbone/ui-lib
v1.5.0
Published
Greenbone UI Components Mantine v7
Readme

OpenSight User Interface Component Library
About
npm run build- build this projectnpm pack- Pack this project into a tarball (file is created in this project)- Switch to main project
npm install <path to tarball file>
To use the latest release in your frontend, just install it with npm install @greenbone/ui-lib
Prerequisites
Install npm dependencies npm install
Build
To create a production build use npm run build:source and npm run build:types.
npm run build:sourcetranspiles and bundles the./srcfiles into./lib- For this SWC is used
- Configuration for SWC is located at
./swcrc/./swcrc.productionfor transpilation and minification./spack.config.jsfor bundling
npm run build:typesgenerated Type definition from./srcinto./types- For this TSC is used.
./tsconfig[.XXX].jsonis used
- For this TSC is used.
Why SWC?
SWC is 20x faster than Babel on a single thread and 70x faster on four cores.
Credits
| Dependency | License | Source-code location |
| -------------- | --------- | -------------------- |
| caniuse-lite | CC-BY-4.0 | caniuse.com |
Maintainer
This project is maintained by Greenbone AG.
Contributing
Your contributions are highly appreciated. Please create a pull request on GitHub. Bigger changes need to be discussed with the development team via the issues section at GitHub first.
License
Copyright (C) 2022-2024 Greenbone AG
Licensed under the GNU Affero General Public License v3.0 or later.
