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

broccoli-bem

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-bem

Plugin for building BEM projects with Broccoli

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

broccoli-bem

Build Status

This is a plugin for building BEM projects with Broccoli.

BEM

BEM — Block Element Modifier is a methodology, that helps you to achieve reusable components and code sharing in the front-end.

Read more here: http://getbem.com/introduction/

Or here: https://bem.info/

Features

  • Simple BEM implementation, read more on the Projects structure.
  • Includes set of basic technologies: js, css, handlebars, img; pre- and postprocessors: scss, autoprefixer, es6. (List of technologies)
  • Sourcemaps in debug mode and minifying in production mode.
  • It is possible to plug-in additional techs as separate modules.
  • Fast rebuilds with caching.
  • Development server and LiveReload as built-in to Broccoli feature.

Usage

First you need to install broccoli and broccoli-bem:

npm install broccoli
npm install --global broccoli-cli
npm install broccoli-bem

Then you need to create Brocfile.js and set up build:

var bem = require('broccoli-bem')

module.exports = bem({
  blockName: 'index',
  levels: ['path/to/level']
})

Then use command broccoli serve to run development server, or broccoli build dest-dir to build files to directory.

Documentation

License

Public domain, see the LICENCE.md file.

vendor directory contains third-party software and copies of their license files.

Keywords

FAQs

Package last updated on 22 May 2015

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