An open API service indexing awesome lists of open source software.

https://github.com/cjpatoilo/csscompile

Compile, optimize and compress anything to CSS.
https://github.com/cjpatoilo/csscompile

compile compress css less optimize postcss sass stylus

Last synced: 3 months ago
JSON representation

Compile, optimize and compress anything to CSS.

Awesome Lists containing this project

README

        

# CSSCompile

> Compile, optimize and compress anything to CSS.

[![Travis Status](https://travis-ci.org/cjpatoilo/csscompile.svg?branch=master)](https://travis-ci.org/cjpatoilo/csscompile?branch=master)
[![AppVeyor Status](https://ci.appveyor.com/api/projects/status/ddvb3deetsy4hbus?svg=true)](https://ci.appveyor.com/project/cjpatoilo/csscompile)
[![Codacy Status](https://img.shields.io/codacy/grade/acd168808f5445de9c7a859ccfa141c7/master.svg)](https://www.codacy.com/app/cjpatoilo/csscompile/dashboard)
[![Dependencies Status](https://david-dm.org/cjpatoilo/csscompile.svg)](https://david-dm.org/cjpatoilo/csscompile)
[![Version Status](https://badge.fury.io/js/csscompile.svg)](https://www.npmjs.com/package/csscompile)
[![Download Status](https://img.shields.io/npm/dt/csscompile.svg)](https://www.npmjs.com/package/csscompile)
[![Gitter Chat](https://img.shields.io/badge/gitter-join_the_chat-4cc61e.svg)](https://gitter.im/cjpatoilo/csscompile)

## Why it's awesome

No spend several hours setting configuration files. **CSSCompile** will compile, optimize and compress anything to CSS. Set folder name where the source code is located and we'll take care of the rest for you. Just it!

_NOTE: For now only works with Less, Sass, Stylus and CSS._

## Getting Started

**Install with npm**

```
$ npm install csscompile
```

**Install with Yarn**

```
$ yarn add csscompile
```

**Run with npx (without installing)**

```
$ npx install csscompile
```

**Usage**

```
$ csscompile src dist
```

_NOTE: Only the folder name is required._

## CLI

```
$ csscompile --help

Usage:

$ csscompile [] []

Options:

-h, --help Display help information
-v, --version Output version

Examples:

$ csscompile src
$ csscompile src dist
```

## Contributing

Want to contribute? Follow these [recommendations](https://github.com/cjpatoilo/csscompile/contribute).

## License

Designed with ♥ by [CJ Patoilo](https://twitter.com/cjpatoilo). Licensed under the [MIT License](https://cjpatoilo.com/license).