react app

This commit is contained in:
Mario Romano
2016-04-06 17:52:19 +01:00
parent f7e6ef55a2
commit 29df96a085
4425 changed files with 446323 additions and 0 deletions

21
react-app/node_modules/path-exists/index.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
'use strict';
var fs = require('fs')
module.exports = function (pth, cb) {
var fn = typeof fs.access === 'function' ? fs.access : fs.stat;
fn(pth, function (err) {
cb(null, !err);
});
};
module.exports.sync = function (pth) {
var fn = typeof fs.accessSync === 'function' ? fs.accessSync : fs.statSync;
try {
fn(pth);
return true;
} catch (err) {
return false;
}
};