Gathering detailed insights and metrics for grunt-sass-revisited
Gathering detailed insights and metrics for grunt-sass-revisited
Gathering detailed insights and metrics for grunt-sass-revisited
Gathering detailed insights and metrics for grunt-sass-revisited
npm install grunt-sass-revisited
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (91.2%)
CSS (8.8%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
154 Commits
1 Watchers
1 Branches
20 Contributors
Updated on Feb 08, 2016
Latest Version
1.1.2
Package Id
grunt-sass-revisited@1.1.2
Size
3.02 kB
NPM Version
3.6.0
Node Version
5.5.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
4
NOTE: This is a fork of https://github.com/sindresorhus/grunt-sass, with the addition of an issue (with more detailed task configuration example) and a pull request (for output of total files processed at the end of the task) that were rejected by the current maintainer. https://github.com/sindresorhus/grunt-sass/pull/228 https://github.com/sindresorhus/grunt-sass/issues/227
This version is being used in project where more detailed output from the task (total number of stylesheets processed) is helpful. I'll monitor and maintain parity with the original repo.
(with updated install instructions, and additional task configuration example)
Compile Sass to CSS using node-sass
The issue tracker is disabled because of continuous abuse. Use Stack Overflow for support questions. Issues with the output should be reported on the libsass issue tracker. Install issues should be reported on the node-sass issue tracker. Learn how semver works before opening a PR updating node-sass.
This task uses libsass which is a Sass compiler in C++. In contrast to the original Ruby compiler, this one is much faster, but is missing some features, though improving quickly. It also doesn't support Compass. Check out grunt-contrib-sass if you prefer something more stable, but slower.
$ npm install --save-dev grunt-sass-revisited
1grunt.initConfig({ 2 sass: { 3 options: { 4 sourceMap: true 5 }, 6 dist: { 7 files: { 8 'main.css': 'main.scss' 9 } 10 } 11 } 12});
Or...
1grunt.initConfig({ 2 sass: { 3 dev: { 4 options: { 5 outputStyle: 'expanded', 6 sourceMap: true 7 }, 8 files: [{ 9 expand: true, 10 cwd: 'assets/scss', 11 src: ['*.scss'], 12 dest: 'public/css/', 13 ext: '.css' 14 }] 15 }, 16 dist: { 17 options: { 18 outputStyle: 'compressed', 19 sourceMap: false 20 }, 21 files: [{ 22 expand: true, 23 cwd: 'assets/scss', 24 src: ['*.scss'], 25 dest: 'public/css/', 26 ext: '.css' 27 }] 28 } 29 } 30});
grunt.registerTask('default', ['sass']);
Files starting with _
are ignored to match the expected Sass partial behaviour.
See the node-sass
options, except for file
, outFile
, success
, error
.
The default value for the precision
option is 10
, so you don't have to change it when using Bootstrap.
MIT © Sindre Sorhus, portions © Anthony Bouch as well as other contributors.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More