motion
Version:
motion - moving development forward
91 lines (90 loc) • 4.23 kB
JSON
{
"_args": [
[
"is-dotfile@https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.2.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "is-dotfile@>=1.0.0 <2.0.0",
"_id": "is-dotfile@1.0.2",
"_inCache": true,
"_location": "/is-dotfile",
"_phantomChildren": {},
"_requested": {
"name": "is-dotfile",
"raw": "is-dotfile@https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.2.tgz",
"rawSpec": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.2.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.2.tgz",
"type": "remote"
},
"_requiredBy": [
"/parse-glob"
],
"_resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.2.tgz",
"_shasum": "2c132383f39199f8edc268ca01b9b007d205cc4d",
"_shrinkwrap": null,
"_spec": "is-dotfile@https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.2.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"bugs": {
"url": "https://github.com/jonschlinkert/is-dotfile/issues"
},
"dependencies": {},
"description": "Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.",
"devDependencies": {
"benchmarked": "^0.1.3",
"dotfile-regex": "^0.1.2",
"mocha": "*"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/jonschlinkert/is-dotfile",
"keywords": [
"detect",
"dot",
"dotfile",
"expression",
"file",
"filepath",
"find",
"fs",
"is",
"match",
"path",
"regex",
"regexp",
"regular"
],
"license": "MIT",
"main": "index.js",
"name": "is-dotfile",
"optionalDependencies": {},
"readme": "# is-dotfile [](http://badge.fury.io/js/is-dotfile)\n\n> Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i is-dotfile --save\n```\n\n## Usage\n\n```js\nvar isDotfile = require('is-dotfile');\n```\n\n**false**\n\nAll of the following return `false`:\n\n```js\nisDotfile('a/b/c.js');\nisDotfile('/.git/foo');\nisDotfile('a/b/c/.git/foo');\n//=> false\n```\n\n**true**\n\nAll of the following return `true`:\n\n```js\nisDotfile('a/b/.gitignore');\nisDotfile('.gitignore');\nisDotfile('/.gitignore');\n//=> true\n```\n\n## Related projects\n\n* [dotfile-regex](https://www.npmjs.com/package/dotfile-regex): Regular expresson for matching dotfiles. | [homepage](https://github.com/regexps/dotfile-regex)\n* [has-glob](https://www.npmjs.com/package/has-glob): Returns `true` if an array has a glob pattern. | [homepage](https://github.com/jonschlinkert/has-glob)\n* [is-dotdir](https://www.npmjs.com/package/is-dotdir): Returns true if a path is a dot-directory. | [homepage](https://github.com/jonschlinkert/is-dotdir)\n* [is-glob](https://www.npmjs.com/package/is-glob): Returns `true` if the given string looks like a glob pattern or an extglob pattern.… [more](https://www.npmjs.com/package/is-glob) | [homepage](https://github.com/jonschlinkert/is-glob)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-dotfile/issues/new).\n\n## Authors\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on October 20, 2015._",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/jonschlinkert/is-dotfile.git"
},
"scripts": {
"test": "mocha"
},
"verb": {
"related": {
"list": [
"dotfile-regex",
"has-glob",
"is-dotdir",
"is-glob"
]
}
},
"version": "1.0.2"
}