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

mdn-bob

Package Overview
Dependencies
Maintainers
5
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdn-bob

Builder of Bits aka The MDN Web Docs interactive examples, example builder

  • 2.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20
Maintainers
5
Weekly downloads
 
Created
Source

BoB

Build Status Commitizen friendly

Builder of Bits aka The MDN Web Docs interactive examples, example builder

Source Folder Structure

-editor # All files related to the interactive examples editor
|--> css
|--> js
|--> media # media used only by the editor
|--> tmpl
-live-examples # All example related files and media
|--> css-examples
|--> fonts # fonts used by the editor and examples
|--> html-examples
|--> js-examples
|--> media # media used only by the examples

Generated Folder Structure

-docs
|--> css # All editor related CSS
|--> js # All editor related JS
|--> live-examples # All custom CSS and JS for the examples
|--> media # All media and fonts for the examples
|--> pages # All generated interactive example pages
|----> css # All CSS examples
|----> js # All JS examples
|----> tabbed # All examples using the tabbed UI

Using Commitizen CLI

This project uses Commitizen to ensure all pull requests follow the same format, and to ensure predictable releases with semantic-release.

To use this flow, add files as you normally would with git add ., and when you are ready to commit, simply type git commit and follow the prompts. You can read more on the Conventional Changelog format on its repository.

Testing Bob locally inside Interactive Examples

Bob is used to build the interactive-example pages and is installed as a dependency inside the interactive-examples repo. When working on changes to Bob, there is often a need to test the changes by running Bob inside the interactive-examples repo locally. To do this, use the following command:

npx install-local ~/path/to/repo/bob && node node_modules/.bin/mdn-bob

Keywords

FAQs

Package last updated on 27 Apr 2022

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