Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@trimble-oss/moduswebcomponents

Package Overview
Dependencies
Maintainers
7
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trimble-oss/moduswebcomponents

Modus Web Components 2.0 using Stencil

Source
npmnpm
Version
0.0.0-alpha.1
Version published
Weekly downloads
1.5K
-27.54%
Maintainers
7
Weekly downloads
 
Created
Source

Modus Web Components 2.0

This is a web component library built with Stencil JS and Sass for large enterprise applications, using the prefix "modus-wc".

Getting Started

  • Clone the repository
  • npm install
  • npm start to start a development version of Stencil and Storybook

Building

npm run build to build the component library & storybook for production.

Linting & Formatting

npm run format to format your code using Prettier and ESlint.

npm run lint to check your code for linting errors.

Testing

npm test to run the test suite.

There is also:

  • npm run test:coverage - Check the code coverage of our unit tests.
  • npm run test:update-snapshot - Update the snapshot tests if you've changed a component.
  • npm run test:watch - Watches for changes and re-runs unit tests.

Usage

To use a component in your project, import it and use it with the "modus-wc" prefix:

<modus-wc-button label="Click me"></modus-wc-button>

Documentation

For more detailed documentation on topics like custom theming and project design, please check the docs folder.

Contributing

Please read the CONTRIBUTING doc for details on our code of conduct, and the process for submitting pull requests.

Release

On PR creation and merge to main the "Publish Storybook" action will automatically run. Once complete, a comment will be added to the PR with a link to a hosted Storybook page.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Keywords

trimble

FAQs

Package last updated on 17 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts