chore(package): re-init package with commitizen and standard-release

This commit is contained in:
Pavel Pertsev
2018-05-16 12:54:46 +03:00
parent cb4e7a5643
commit eaf2328575
10640 changed files with 609660 additions and 117 deletions

30
node_modules/app-root-path/lib/app-root-path.js generated vendored Normal file
View File

@@ -0,0 +1,30 @@
'use strict';
module.exports = function(dirname) {
var path = require('path');
var resolve = require('./resolve.js');
var appRootPath = resolve(dirname);
var publicInterface = {
resolve: function(pathToModule) {
return path.join(appRootPath, pathToModule);
},
require: function(pathToModule) {
return require(publicInterface.resolve(pathToModule));
},
toString: function() {
return appRootPath;
},
setPath: function(explicitlySetPath) {
appRootPath = path.resolve(explicitlySetPath);
publicInterface.path = appRootPath;
},
path: appRootPath
};
return publicInterface;
};