
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
This grunt plugin has been deprecated. If you're looking for a less grunt plugin, check out grunt-contrib-less.
Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-less
Then add this line to your project's grunt.js
gruntfile:
grunt.loadNpmTasks('grunt-less');
This task is a multi task, meaning that grunt will automatically iterate over all less
targets if a target is not specified.
compress
and yuicompress
.// project configuration
grunt.initConfig({
less: {
signup: {
src: 'signup.less',
dest: 'signup.css'
},
homepage: {
src: ['banner.less', 'app.less'],
dest: 'homepage.css',
options: {
yuicompress: true
}
},
all: {
src: '*.less',
dest: 'all.css',
options: {
compress: true
}
}
}
});
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.
gruntplugin
keyword to be consistent with other plugins.src
and dest
properties are defined. Also now accept a string for src
and not just an array of strings.Copyright (c) 2012 Jake Harding
Licensed under the MIT license.
FAQs
Grunt task for LESS.
The npm package grunt-less receives a total of 74 weekly downloads. As such, grunt-less popularity was classified as not popular.
We found that grunt-less 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.