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

24
node_modules/find-root/index.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
var path = require('path')
var fs = require('fs')
function findRoot(start) {
start = start || module.parent.filename
if (typeof start === 'string') {
if (start[start.length-1] !== path.sep) {
start+=path.sep
}
start = start.split(path.sep)
}
if(!start.length) {
throw new Error('package.json not found in path')
}
start.pop()
var dir = start.join(path.sep)
try {
fs.statSync(path.join(dir, 'package.json'));
return dir;
} catch (e) {}
return findRoot(start)
}
module.exports = findRoot