Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
grunt-sassdoc
Advanced tools
SassDoc grunt task.
If you haven't used grunt before, be sure to check out the Getting Started guide, as it explains how to create a gruntfile as well as install and use grunt plugins. Once you're familiar with that process, install this plugin with this command:
npm install --save-dev grunt-sassdoc
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-sassdoc');
Tip: the load-grunt-tasks module makes it easier to load multiple grunt tasks.
See the Gruntfile in this repo for a full example.
Run this task with the grunt sassdoc
command.
Task targets, files and options may be specified according to the grunt Configuring tasks guide.
Any specified option will be passed through directly to SassDoc, thus you can specify any option that SassDoc supports. See the SassDoc documentation for a list of supported options.
Type: String
Default: null
Path to a view configuration file.
Type: String
Default: 'SassDoc'
Generated documentation page title.
Type: Array
Default: ['public', 'private']
Access levels that should be displayed.
Type: Boolean
Default: false
Enable/disable display of alias items.
Heads up: If a config file is passed and found, its options will prevail over defauts. Additionnal options passed to the grunt task, will complement it but not override it. You should really manage your options in one place.
grunt.initConfig({
sassdoc: {
default: {
src: 'sass',
dest: 'docs',
options: {
config: 'test/view.json'
}
}
},
});
grunt.initConfig({
sassdoc: {
default: {
src: 'sass',
dest: 'docs',
options: {
title: 'My cool project'
display_access: ['public'],
display_alias: true
}
}
},
});
grunt-sassdoc is unlicensed.
FAQs
SassDoc grunt task
The npm package grunt-sassdoc receives a total of 112 weekly downloads. As such, grunt-sassdoc popularity was classified as not popular.
We found that grunt-sassdoc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.