Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
grunt-compass
Advanced tools
A custom grunt.js task that executes compass compile for you and prints the COMPASS output to grunt.log.write().
compass compile
for grunt.jsThis is a custom grunt.js task that executes compass compile
for you and prints the COMPASS output to grunt.log.write()
.
Call grunt.loadNpmTasks('grunt-compass')
in your gruntfile.
Configure grunt watch
to watch your scss files and call the task.
e.g.:
watch: {
files: ['assets/scss/partials/*.scss'],
tasks: ['compass']
}
Setup the config for compass in your grunt config, or setup a compass config file:
Option 1: Set the configuration for compass in your grunt.js file:
compass: {
src: 'assets/scss/partials',
dest: 'assets/css/partials'
}
"src" is the folder with sass/scss files. "dest" is the file where the css files will be place.
Option 2: Setup a compass project
compass install compass
You can set your custom output style like this:
compass: {
outputstyle: 'compressed'
}
You can disable line comments like this:
compass: {
linecomments: false
}
Run "grunt watch" and change some SASS files :)
Notice: At this moment this task doesn't work with grunt
or grunt compass
only with grunt watch
. Calling grunt compass
only creates the folders, not the files!
FAQs
A custom grunt.js task that executes compass compile for you and prints the COMPASS output to grunt.log.write().
The npm package grunt-compass receives a total of 19 weekly downloads. As such, grunt-compass popularity was classified as not popular.
We found that grunt-compass demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.