New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mmb-digital/design-system-web

Package Overview
Dependencies
Maintainers
0
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mmb-digital/design-system-web

MMB design-system-web

  • 0.1.159
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

design-system-web (react components library)

Prerequisities:

  • node v16.20.2
  • yarn v1.22.19

Startup:

  • checkout repo

  • run in command prompt: "set HTTP_PROXY=http://{USER_SSO}:{SSO_PASSWORD}@wsa.lb.mbid.cz:8008" "set HTTPS_PROXY=http://{USER_SSO}:{SSO_PASSWORD}@wsa.lb.mbid.cz:8008" "set NO_PROXY=sourcerepos,artifactory,rhproxy,bitbucket,.ux.mbid.cz,.lb.mbid.cz,.mbid.cz" "set NODE_OPTIONS=--max-old-space-size=8192" "set Path={NODE_PATH};%Path%"

  • "yarn"

Scripts:

  • fix lint errors "yarn lint:fix"

  • fix prettier errors "yarn prettier:fix"

  • storybook dev "yarn storybook"

  • storybook build "yarn storybook:build"

  • run jest tests "yarn test"

  • rollup bundle "yarn build"

Publishing package to npmjs.com:

  • https://www.npmjs.com/package/@mmb-digital/design-system-web
  • you must be added to the @mmb-digital organization at npmjs.com (you will need to enable two-factor authentication on your npmjs.com account)
  • upgrade version of package in package.json
  • npm login
  • rm -rf dist/
  • yarn build
  • npm publish --access public

Styling rules

For each component, a corresponding *.styles.ts file is created to manage its styles.

  • styling is done primarily using styled-components.
  • all colors and other common values are in theme variables to ensure consistency throughout the project.
  • all components have to be responsive
  • the best approach is mobile first, set sizes for mobile and rules for higher resolutions

FAQs

Package last updated on 14 Jan 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc