
Security News
/Research
npm Phishing Email Targets Developers with Typosquatted Domain
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
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
v0.2.3
ENOENT, open '/folder/component-name/styles.css'
FAQs
A plugin to transpile Less files for the component builder.
The npm package component-less receives a total of 13 weekly downloads. As such, component-less popularity was classified as not popular.
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.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
Security News
Knip hits 500 releases with v5.62.0, refining TypeScript config detection and updating plugins as monthly npm downloads approach 12M.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.