
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
component-less
Advanced tools
A plugin to transpile Less files for the component builder.
$ npm install component-less
Add your .less
files to the styles
array in your component.json
:
{
"styles": [
"base.less",
"button.css"
]
}
Use the plugin during your build process:
var Builder = require('component-builder');
var less = require('component-less');
var fs = require('fs');
var builder = new Builder(__dirname);
builder.use(less);
builder.build(function (err, res) {
if (err) {
throw err
}
fs.writeFileSync('build/build.js', res.require + res.js);
if (res.css) {
fs.writeFileSync('build/build.css', res.css);
}
});
MIT
FAQs
A plugin to transpile Less files for the component builder.
We found that component-less demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.