npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@edekadigital/backoffice-ui

v4.7.0

Published

React components based on Material Design

Downloads

42

Readme

Code Style: Google npm version

Backoffice UI

React components based on Material Design. edekadigital.github.io/backoffice-ui

Usage

1. Install

npm i -S @edekadigital/backoffice-ui

2. Load "Roboto" font

<link
  rel="stylesheet"
  href="https://fonts.googleapis.com/css?family=Roboto:300,400,500"
/>

3. Render BackofficeUiProvider

import { BackofficeUiProvider } from '@edekadigital/backoffice-ui';

export const App = () => (
  <BackofficeUiProvider>
    <SomeComponent />
    {/* ... */}
  </BackofficeUiProvider>
);

4. Use components

import { Button } from '@edekadigital/backoffice-ui';

export const SomeComponent = () => (
  <>
    {/* ... */}
    <Button>Some label</Button>
  </>
);

Development

Commands

| Command | Description | | -------------------------- | ------------------------------------------------- | | npm run storybook | Start development mode (Storybook) | | npm run build-storybook | Export storybook into a static web app | | npm run build | Build library (cjs + es6) | | npm run test, npm test | Run tests (TODO) | | npm run check | Checks code for formatting and lint issues | | npm run fix | Fixes formatting and linting issues (if possible) | | npm run clean | Removes all files generated by the build |

Resources

Tests and test coverage

For all tests in this project we use the jest framework and set a minimum coverage of 90% for the subfolders 'components', 'layouts', 'forms' and 'typography'. To run the tests locally, use the command:

npm run test

If the test coverage is below 90%, the tests will fail. To show a report of the test coverage in Google Chrome, use the command:

npm run show-coverage-report

Automated release workflow

This project contains an automated release setup using semantic-release.

Commits that get pushed to master branch will trigger the automated release workflow. The new version will be determined by semantic-release following the semantic versioning specification. Therefore, it is important to follow formalized conventions for commit messages.

The format of the commit messages will be validated at commit time as well as part of the automated pull request validation.

By running npm run commit (or npx git-cz) an interactive cli will provide assistance for writing useful commit messages following the formalized conventions for commit messages:

git add .
npm run commit