Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ovcharik/meteor-ruby-sass
Ruby sass compiler for meteor
https://github.com/ovcharik/meteor-ruby-sass
Last synced: 7 days ago
JSON representation
Ruby sass compiler for meteor
- Host: GitHub
- URL: https://github.com/ovcharik/meteor-ruby-sass
- Owner: ovcharik
- Created: 2014-07-21T19:31:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-28T20:27:22.000Z (about 10 years ago)
- Last Synced: 2023-07-08T22:10:25.203Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 242 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ruby sass compiler for meteor
## Install
Package required `sass` gem.
$ gem install sass
# or check http://sass-lang.com/install### Add package
$ meteor add ovcharik:ruby-sass
## Configuration
Add a `ruby-sass.json` file to root directory of project.
### file
type: `string`
Path to main file. Required unless specified `files`.
### files
type: `object`
Format:
'files': {
'main file': 'dependencies', // can be pattern, like 'scss/home/**/*.scss'
// or
'main file': ['array', 'of', 'dependencies']
}### unixNewlines
type: `boolean`, default: `false`
Use Unix-style newlines in written files.
### scss
type: `boolean`, default: `false`
Use the CSS-superset SCSS syntax.
### style
type: `string`, default: `nested`
Output style. Can be `nested`, `compact`, `compressed`, or `expanded`.
### precision
type: `number`, default: `5`
How many digits of precision to use when outputting decimal numbers.
### compass
type: `boolean`, default: `false`
Make Compass imports available and load project configuration.
### comments
type: `boolean`, default: `false`
Emit comments in the generated CSS indicating the corresponding source line.
### import
type: `string`
Add a sass import path.
### require
type: `string`
Require a Ruby library before running Sass.
### cacheLocation
type: `string`
The path to put cached Sass files. Defaults to `.sass-cache`
### noCache
type: `boolean`, default: `false`
Don't cache to sassc files.
### defaultEncoding
type: `string`
Specify the default encoding for Sass files.
## Examples
### Simple
{
"file": "path/to/main/sass/file.scss"
}### Files
{
"files": {
"styles/application.scss": ["styles/**/*.scss", "include/variabled.css"],
"vendor/bootstrap/bootstrap.scss": "vendor/bootstrap/**/*.scss"
}
}