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 clones the famous/famous repo and convert it to a npm compatible CommonJS format.
var buildLib = require('famous-dist-generator');
var path = require('path');
var ref = '6b2ad41b3c024a298d778e6344383d846ae7fa98';
var out = path.join(process.cwd(), 'famous-' + ref);
buildLib.writeCommonJS(ref, out, function(err) {
if (err) { return console.error(err); }
// do something here.
});
var minify = true;
buildLib.writeStandalone(ref, out, minify, function(err) {
if (err) { return console.error(err); }
// do something here.
});
Build a single JavaScript file that defines a famous
property on window
$ famous-dist-generator --standalone --ref 0.2.1 --minify --out ./famous-standalone-0.2.1.js
Build a single JavaScript file that apes the legacy single file RequireJS version
$ famous-dist-generator --requirejs --ref 0.2.1 --minify --out ./famous-requirejs-0.2.1.js
dist-generator RequireJS-based Famous to CommonJS.
$ famous-dist-generator --commonjs --ref 0.2.1 --out ./famous-commonjs-0.2.1
Get the famous.css file for a specific version
$ famous-dist-generator --css --ref 0.2.1 --out ./famous-0.2.1.css
If you want to use a different Github repo URL to make Famo.us from, just set
the FAMOUS_GITHUB_REPO_URL
environment variable. The default value is
'git@github.com:Famous/famous.git'
.
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.