Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@muume/design-blocks

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@muume/design-blocks

An amazing collection of over 170 ready to use design blocks based on tailwindcss.

  • 3.0.1
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Muume Design Blocks

Clone the repository

git clone git@bitbucket.org:muumerepos/muume-design-blocks.git
cd muume-design-blocks

Install dependencies

yarn install

Start storybook

yarn start
Starting using a hostname

Some blocks use hCaptcha, and for them (hCaptcha) to work we need to serve them on a real domain

For that you need to edit your hosts file and add a custom route. Add this to your hosts file. Sudo permissions a required to edit the file.

127.0.0.1 design-blocks.muume.com

In unix systems this file is located at /etc/hosts
For Windows is located at C:\Windows\System32\drivers\etc\hosts

Start storybook. Will start using http://design-blocks.muume.com

yarn start-with-host

Note: If start using custom host, you will need to change WEBSITE of used merchant identifier in the ERP, otherwise you will get CORS errors for ERP requests

Generate screenshots of blocks

Once the application is running on http://design-blocks.muume.com.

yarn screenshots

Note: Generating screenshots takes around 5-10 minutes with no console feedback until the job finishes.

Building

After generating new screenshots you need to build the blocks dist folder.

yarn dist

Publishing

To publish to NPM you need to do the following:

Update version number

Update the version in package.json using semantic versioning.

Tag the branch
# use version changed in package.json
git commit -am "v3.0.1"
Publish to NPM
TODO
  • Explain yarn link stuff
  • Add info how everything is working
  • Add some conventions

Keywords

FAQs

Package last updated on 17 Feb 2021

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