Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
famous-dist-generator
Advanced tools
Build various dist versions of famous/famous. RequireJS, CommonJS, or standalone window.famous object
This module allows you to convert Famo.us to the various ways it is consumed in production. It is generic enough that it should be able to work for any project that is architected in a similar
var distGenerator = require('famous-dist-generator');
var path = require('path');
var src = path.join(path-to-famous, 'src');
var dest = path.join(process.cwd(), 'famous.js');
distGenerator.standalone(src, dest, function (err) {
if (err) { return console.error(new Error(err)); }
//do something
});
var minify = true;
distGenerator.standalone(src, dest, minify, function (err) {
if (err) { return console.error(new Error(err)); }
//do something
});
Build a single JavaScript file that supports AMD, commonJS, and a global object version of famous
$ famous-dist-generator path-to-src path-to-output/famous-global.js
Build a single JavaScript file utilizing the AMD api supported by RequireJS
$ famous-dist-generator --amd path-to-src path-to-output/famous.js
Convert the entire src directory from AMD to common (output is a folder that is ready to publish to npm)
$ famous-dist-generator --common path-to-src path-to-output/
Copy famous.css from the src folder to your output folder
$ famous-dist-generator --css path-to-src path-to-output
FAQs
Build various dist versions of famous/famous. RequireJS, CommonJS, or standalone window.famous object
The npm package famous-dist-generator receives a total of 7 weekly downloads. As such, famous-dist-generator popularity was classified as not popular.
We found that famous-dist-generator 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.