https://github.com/g4code/compile-compass
https://github.com/g4code/compile-compass
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/g4code/compile-compass
- Owner: g4code
- License: mit
- Created: 2016-06-03T06:23:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-31T13:35:51.000Z (almost 10 years ago)
- Last Synced: 2025-09-03T06:41:51.623Z (10 months ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 1
- Watchers: 9
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
compile-compass
=========
> Compile-compass is a library that provides binding for Node.js to [LibSass](https://github.com/sass/libsass), the C version of the popular stylesheet preprocessor, Sass via [node-sass](https://github.com/sass/node-sass).
> It allows you to use compass features and compile .scss files to css at incredible speed.
## Install
Install globally
```bash
$ npm install -g compile-compass
```
## Usage
```bash
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
```bash
$ 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
```js
{
"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](https://github.com/g4code/compile-compass/blob/master/LICENSE.md) file for details...