
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
grunt-google-site-verification
Advanced tools
Generate Google site verifications on the fly.
This plugin requires Grunt ~0.4.5
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, you may install this plugin with this command:
npm install grunt-google-site-verification --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-google-site-verification');
In your project's Gruntfile, add a section named google-site-verification
to
the data object passed into grunt.initConfig()
.
grunt.initConfig({
google-site-verification: {
options: {
code: '<YOUR-VERIFICATION-CODE>'
},
dest: '<YOUR-BUILD-FOLDER>'
}
});
Type: String
Default value: undefined
A verification code Google generated for your domain ownership. If you omit
this option the plugin falls back to the environment variable
GOOGLE_SITE_VERIFICATION
.
This can be useful if you don't want to have your verification code in your
repository, for custom builds or i.e. Travis-CI deployments.
This example writes a verification file to './build/google834ee6e921e63f8e.html'.
grunt.initConfig({
google-site-verification: {
options: {
code: '834ee6e921e63f8e'
},
dest: 'build'
}
});
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
FAQs
Generate Google site verifications on the fly.
We found that grunt-google-site-verification 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
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.