Wondering what’s next for npm?Check out our public roadmap! »

    compile-compass

    1.6.0 • Public • Published

    compile-compass

    Compile-compass is a library that provides binding for Node.js to LibSass, the C version of the popular stylesheet preprocessor, Sass via node-sass. It allows you to use compass features and compile .scss files to css at incredible speed.

    Install

    Install globally

    $ npm install -g compile-compass

    Usage

    Usage: compile-compass [options]
     
      Options:
     
        -h, --help           output usage information
        -V, --version        output the version number
        -c, --config [type]  specify the location of the configuration file explicitly
        -w, --watch          compile sass stylesheets to css when they change

    examples

    $ compile-compass --help
    $ compile-compass --version
        
    # compile  
    $ compile-compass --config path/to/config.json
     
    # watch for changes 
    $ compile-compass --watch --config path/to/config.json

    Config options

    css_dir

    import_paths

    sass_dir

    eg

    {
      "css_dir": "/path/to/css/dir",
      "import_paths": [
        "/path/to/external/css/imports/dir"
      ],
      "sass_dir": "/path/to/sass/dir"
    }

    License

    (The MIT License) see LICENSE file for details...

    Install

    npm i compile-compass

    DownloadsWeekly Downloads

    2

    Version

    1.6.0

    License

    MIT

    Last publish

    Collaborators

    • avatar