JSPM

  • Created
  • Published
  • Downloads 10083
  • Score
    100M100P100Q124034F

Tool for beautify CSS

Package Exports

  • csscomb
  • csscomb/lib/csscomb

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (csscomb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Tool for beautify CSS

Installation

npm install csscomb

To run csscomb, you can use the following command from the project root:

./node_modules/.bin/csscomb path[ path[...]]
$ ./node_modules/.bin/csscomb --help

  Usage: csscomb [options] <file ...>

  Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -c, --config [path]  configuration file path

Configuration

csscomb is configured using .csscomb.json file, located in the project root.

Example configuration:

{
    "exclude": ["node_modules/**"],
    "colon-space": true,
    "stick-brace": true,
    "strip-spaces": true
}

Tests

Run npm test for tests.

Other projects