
Product
Introducing Custom Tabs for Org Alerts
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.
grunt-assemble-contextual
Advanced tools
Generates a JSON file with the context of each page. Basic plugin to help see what's happening in the build.
Generates a JSON file with the context of each page. Basic plugin to help see what's happening in the build.
In the command line, run:
npm install grunt-assemble-contextual --save
Next, to register the plugin with Assemble in your project's Gruntfile you can either specify the direct path to the plugin(s) (e.g. ./path/to/plugins/*.js), or if installed via npm, make sure the plugin is in the devDependencies of your project.js package.json, and simply add the module's name to the plugins option:
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
assemble: {
options: {
plugins: ['grunt-assemble-contextual', 'other/plugins/*.js'],
contextual: {
dest: 'tmp/'
}
},
files: {
'dist/': ['templates/*.hbs']
}
}
});
grunt.loadNpmTasks('assemble');
grunt.registerTask('default', ['assemble']);
};
If everything was installed and configured correctly, after running grunt assemble you should see a JSON file for each page in the dest directory defined in the plugin's options. The basename of each page will be used as the name of each file.
This plugin will make the build run slower! To disable it simple remove it from the options or remove the dest property.
Visit the plugins docs for more info or for help getting started.
Type: String
Default: assemble.dest + /tmp
Destination of JSON context.
grunt-assemble-anchors: Assemble plugin for creating anchor tags from headings in generated html using Cheerio.js. | homepage
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Jon Schlinkert
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on September 24, 2015.
FAQs
Generates a JSON file with the context of each page. Basic plugin to help see what's happening in the build.
We found that grunt-assemble-contextual 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.

Product
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.