-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 8.45 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "grunt-contrib-sass",
"description": "Compile Sass to CSS",
"version": "0.7.3",
"homepage": "https://github.com/gruntjs/grunt-contrib-sass",
"author": {
"name": "Grunt Team",
"url": "http://gruntjs.com/"
},
"repository": {
"type": "git",
"url": "git://github.com/gruntjs/grunt-contrib-sass.git"
},
"bugs": {
"url": "https://github.com/gruntjs/grunt-contrib-sass/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/gruntjs/grunt-contrib-sass/blob/master/LICENSE-MIT"
}
],
"main": "Gruntfile.js",
"engines": {
"node": ">=0.8.0"
},
"scripts": {
"test": "grunt test"
},
"dependencies": {
"dargs": "~0.1.0",
"async": "~0.2.9",
"chalk": "~0.4.0",
"win-spawn": "~2.0.0",
"which": "~1.0.5"
},
"devDependencies": {
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-jshint": "~0.7.2",
"grunt-contrib-nodeunit": "~0.2.0",
"grunt-contrib-internal": "~0.4.4",
"grunt": "~0.4.1"
},
"peerDependencies": {
"grunt": "~0.4.0"
},
"keywords": [
"gruntplugin",
"scss",
"sass",
"css",
"compile",
"preprocessor",
"style"
],
"contributors": [
{
"name": "Sindre Sorhus",
"url": "http://github.com/sindresorhus"
}
],
"readme": "# grunt-contrib-sass v0.7.3 [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-sass.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-sass)\n\n> Compile Sass to CSS\n\n\n\n## Getting Started\nThis plugin requires Grunt `~0.4.0`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-contrib-sass --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-contrib-sass');\n```\n\n\n\n\n## Sass task\n_Run this task with the `grunt sass` command._\n\n[Sass](http://sass-lang.com) is a preprocessor that adds nested rules, variables, mixins and functions, selector inheritance, and more to CSS. Sass files compile into well-formatted, standard CSS to use in your site or application.\n\nThis task requires you to have [Ruby](http://www.ruby-lang.org/en/downloads/) and [Sass](http://sass-lang.com/download.html) installed. If you're on OS X or Linux you probably already have Ruby installed; test with `ruby -v` in your terminal. When you've confirmed you have Ruby installed, run `gem install sass` to install Sass.\n\nNote: Files that begin with \"_\" are ignored even if they match the globbing pattern. This is done to match the expected [Sass partial behaviour](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#partials).\n\n### Options\n\n\n#### sourcemap\n\nType: `Boolean` \nDefault: `false`\n\nEnable Source Maps.\n\n**Requires Sass 3.3.0, which can be installed with `gem install sass --pre`**\n\n\n#### trace\n\nType: `Boolean` \nDefault: `false`\n\nShow a full traceback on error.\n\n\n#### unixNewlines\n\nType: `Boolean` \nDefault: `false` on Windows, otherwise `true`\n\nForce Unix newlines in written files.\n\n\n#### check\n\nType: `Boolean` \nDefault: `false`\n\nJust check syntax, don't evaluate.\n\n\n#### style\n\nType: `String` \nDefault: `nested`\n\nOutput style. Can be `nested`, `compact`, `compressed`, `expanded`.\n\n\n#### precision\n\nType: `Number` \nDefault: `3`\n\nHow many digits of precision to use when outputting decimal numbers.\n\n\n#### quiet\n\nType: `Boolean` \nDefault: `false`\n\nSilence warnings and status messages during compilation.\n\n\n#### compass\n\nType: `Boolean` \nDefault: `false`\n\nMake Compass imports available and load project configuration (`config.rb` located close to the `Gruntfile.js`).\n\n\n#### debugInfo\n\nType: `Boolean` \nDefault: `false`\n\nEmit extra information in the generated CSS that can be used by the FireSass Firebug plugin.\n\n\n#### lineNumbers\n\nType: `Boolean` \nDefault: `false`\n\nEmit comments in the generated CSS indicating the corresponding source line.\n\n\n#### loadPath\n\nType: `String|Array`\n\nAdd a (or multiple) Sass import path.\n\n\n#### require\n\nType: `String|Array`\n\nRequire a (or multiple) Ruby library before running Sass.\n\n\n#### cacheLocation\n\nType: `String` \nDefault: `.sass-cache`\n\nThe path to put cached Sass files.\n\n\n#### noCache\n\nType: `Boolean` \nDefault: `false`\n\nDon't cache to sassc files.\n\n\n#### bundleExec\n\nType: `Boolean` \nDefault: `false`\n\nRun `sass` with [bundle exec](http://gembundler.com/man/bundle-exec.1.html): `bundle exec sass`.\n\n\n#### banner\n\nType: `String` \n\nPrepend the specified string to the output file. Useful for licensing information.\n\n*Can't be used if you use the `sourcemap` option.*\n\n### Examples\n\n#### Example config\n\n```javascript\ngrunt.initConfig({\n sass: { // Task\n dist: { // Target\n options: { // Target options\n style: 'expanded'\n },\n files: { // Dictionary of files\n 'main.css': 'main.scss', // 'destination': 'source'\n 'widgets.css': 'widgets.scss'\n }\n }\n }\n});\n\ngrunt.loadNpmTasks('grunt-contrib-sass');\n\ngrunt.registerTask('default', ['sass']);\n```\n\n#### Compile\n\n```javascript\ngrunt.initConfig({\n sass: {\n dist: {\n files: {\n 'main.css': 'main.scss'\n }\n }\n }\n});\n```\n\n#### Concat and compile\n\nInstead of concatenating the files, just `@import` them into another `.sass` file eg. `main.scss`.\n\n\n#### Compile multiple files\n\nYou can specify multiple `destination: source` items in `files`.\n\n```javascript\ngrunt.initConfig({\n sass: {\n dist: {\n files: {\n 'main.css': 'main.scss',\n 'widgets.css': 'widgets.scss'\n }\n }\n }\n});\n```\n\n#### Compile files in a directory\n\nInstead of naming all files you want to compile, you can use the `expand` property allowing you to specify a directory. More information available in the [grunt docs](http://gruntjs.com/configuring-tasks) - `Building the files object dynamically`.\n\n```javascript\ngrunt.initConfig({\n sass: {\n dist: {\n files: [{\n expand: true,\n cwd: 'styles',\n src: ['*.scss'],\n dest: '../public',\n ext: '.css'\n }]\n }\n }\n});\n```\n\n\n## Release History\n\n * 2014-03-06 v0.7.3 Only create empty dest files when they don't already exist.\n * 2014-02-02 v0.7.2 Fix error reporting when Sass is not available.\n * 2014-01-28 v0.7.1 Fix regression of Bundler support.\n * 2014-01-26 v0.7.0 Improve Windows support.\n * 2013-12-10 v0.6.0 Ignore files where filename have leading underscore.\n * 2013-08-21 v0.5.0 Add banner option.\n * 2013-07-06 v0.4.1 Use file.orig.src if file.src does not exist and return early to avoid passing non-existent files to sass binary.\n * 2013-06-30 v0.4.0 Rewrite task to be able to support Source Maps. Compile Sass files in parallel for better performance.\n * 2013-03-26 v0.3.0 Add support for `bundle exec`. Make sure `.css` files are compiled with SCSS.\n * 2013-02-15 v0.2.2 First official release for Grunt 0.4.0.\n * 2013-01-25 v0.2.2rc7 Updating grunt/gruntplugin dependencies to rc7. Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions.\n * 2013-01-09 v0.2.2rc5 Updating to work with grunt v0.4.0rc5. Switching to this.files api. Add separator option.\n * 2012-11-05 v0.2.0 Grunt 0.4 compatibility. Improve error message when Sass binary couldn't be found\n * 2012-10-12 v0.1.3 Rename grunt-contrib-lib dep to grunt-lib-contrib.\n * 2012-10-08 v0.1.2 Fix regression for darwin.\n * 2012-10-05 v0.1.1 Windows support.\n * 2012-09-24 v0.1.0 Initial release.\n\n---\n\nTask submitted by [Sindre Sorhus](http://github.com/sindresorhus)\n\n*This file was generated on Thu Mar 06 2014 14:43:40.*\n",
"readmeFilename": "README.md",
"_id": "grunt-contrib-sass@0.7.3",
"_from": "grunt-contrib-sass@0.7.3"
}