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

21
node_modules/dotgitignore/index.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
'use strict'
const findUp = require('find-up')
const fs = require('fs')
const ignore = require('./lib/dotignore')
const gitignoreFilename = '.gitignore'
class DotGitignore {
constructor (opts) {
const gitignorePath = findUp.sync(gitignoreFilename, opts)
const content = gitignorePath ? fs.readFileSync(gitignorePath, 'utf8') : ''
this.matcher = ignore.createMatcher(content)
}
ignore (name) {
return this.matcher.shouldIgnore(name)
}
}
module.exports = function (opts) {
return new DotGitignore(opts)
}