@css-blocks/cli
Command line interface to css-blocks.
Last updated 4 months ago by chriseppstein .
BSD-2-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @css-blocks/cli 
SYNC missed versions from official npm registry.

CSS Blocks Command Line Interface

A simple interface for working with CSS Blocks. Not meant to replace a proper build tool integration.

Installation

yarn add @css-blocks/cli

or run without installation:

npx @css-blocks/cli validate blocks/*.block.css
npx @css-blocks/cli convert my-bem-file.css

Usage

css-blocks <cmd> [options] block-dir-or-file...

Commands:
  css-blocks validate <blocks..>  Validate block file syntax.
  css-blocks convert <files..>    Convert BEM syntax to block file syntax.

Options:
  --version        Show version number                                [boolean]
  --preprocessors  A JS file that exports an object that maps          [string]
                   extensions to a preprocessor function for that type.
  --npm            Allow importing from node_modules                  [boolean]
  --alias          Define an import alias. Requires two arguments:      [array]
                   an alias and a directory.
  --help           Show help                                          [boolean]

Current Tags

  • 1.5.0                                ...           latest (4 months ago)
  • 1.0.0-alpha.6                                ...           next (a year ago)

19 Versions

  • 1.5.0                                ...           4 months ago
  • 1.4.0                                ...           5 months ago
  • 1.3.2                                ...           5 months ago
  • 1.3.0                                ...           5 months ago
  • 1.2.0                                ...           6 months ago
  • 1.1.2                                ...           6 months ago
  • 1.1.1                                ...           7 months ago
  • 1.1.0                                ...           8 months ago
  • 1.0.0                                ...           10 months ago
  • 1.0.0-alpha.6                                ...           a year ago
  • 1.0.0-alpha.5                                ...           a year ago
  • 1.0.0-alpha.4                                ...           a year ago
  • 1.0.0-alpha.3                                ...           a year ago
  • 1.0.0-alpha.1                                ...           a year ago
  • 1.0.0-alpha.0                                ...           a year ago
  • 0.24.0                                ...           a year ago
  • 0.23.1                                ...           2 years ago
  • 0.23.0                                ...           2 years ago
  • 0.22.0                                ...           2 years ago
Downloads
Today 1
This Week 1
This Month 20
Last Day 0
Last Week 0
Last Month 19
Dependencies (8)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |