init commit

This commit is contained in:
2016-06-09 17:51:55 -04:00
commit 486ed15b61
9915 changed files with 1035994 additions and 0 deletions

6
node_modules/jshint/bin/apply generated vendored Normal file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env node
var shjs = require("shelljs");
var url = "https://github.com/jshint/jshint/pull/" + process.argv[2] + ".diff";
shjs.exec('curl "' + url + '" | git apply');

38
node_modules/jshint/bin/build generated vendored Normal file
View File

@@ -0,0 +1,38 @@
#!/usr/bin/env node
/*jshint shelljs:true */
"use strict";
var browserify = require("browserify");
var bundle = browserify();
var path = require("path");
var version = require("../package.json").version;
require("shelljs/make");
var distDir = path.join(__dirname, "../dist");
var srcDir = path.join(__dirname, "../src");
if (!test("-e", distDir))
mkdir(distDir);
bundle.require(srcDir + "/jshint.js", { expose: "jshint" });
bundle.bundle(function (err, src) {
var web = distDir + "/jshint.js";
var rhino = distDir + "/jshint-rhino.js";
[ "/*! " + version + " */",
"var JSHINT;",
"if (typeof window === 'undefined') window = {};",
"(function () {",
"var require;",
src,
"JSHINT = require('jshint').JSHINT;",
"if (typeof exports === 'object' && exports) exports.JSHINT = JSHINT;",
"}());"
].join("\n").to(web);
("#!/usr/bin/env rhino\nvar window = {};\n" + cat(web, srcDir + "/platforms/rhino.js")).to(rhino);
chmod("+x", rhino);
echo("Built: " + version);
});

31
node_modules/jshint/bin/changelog generated vendored Normal file
View File

@@ -0,0 +1,31 @@
#!/usr/bin/env node
/*jshint shelljs:true, lastsemic:true, -W101*/
"use strict";
var version = require("../package.json").version;
require("shelljs/make");
exec("git log --format='%H|%h|%an|%s' " + version + "..HEAD", { silent: true }, function (code, output) {
if (code !== 0)
return void console.log("git log return code is non-zero");
var commits = output.split("\n")
.filter(function (cmt) { return cmt.trim() !== ""; })
.map(function (cmt) { return cmt.split("|"); });
var markdown = "";
var authors = {};
commits.forEach(function (cmt) {
if (cmt[3].indexOf("Merge") === 0) {
return;
}
markdown += "| https://github.com/jshint/jshint/commit/" + cmt[0] + " | " + cmt[3] + " |\n";
});
echo("<!-- auto-generated -->");
echo("| Commit | Message/Description |");
echo("| ------ | ------------------- |");
echo(markdown);
});

3
node_modules/jshint/bin/jshint generated vendored Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env node
require("../src/cli.js").interpret(process.argv);

36
node_modules/jshint/bin/land generated vendored Normal file
View File

@@ -0,0 +1,36 @@
#!/usr/bin/env node
"use strict";
var url = "https://github.com/jshint/jshint/pull/" + process.argv[2] + ".patch";
var https = require("https");
var shjs = require("shelljs");
var opts = require("url").parse(url);
var msg = process.argv[3];
opts.rejectUnauthorized = false;
opts.agent = new https.Agent(opts);
https.get(opts, succ).on("error", err);
function succ(res) {
if (res.statusCode !== 200)
return void console.log("error:", res.statusCode);
var data = "";
res.on("data", function (chunk) {
data += chunk.toString();
});
res.on("end", function () {
data = data.split("\n");
data = data[1].replace(/^From\:\s/, "");
data = data.replace(/"/g, "");
shjs.exec("git commit -s --author=\"" + data + "\" --message=\"" + msg + "\"");
});
}
function err(res) {
console.log("error:", res.message);
}