diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..5926df1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +indent_style = tab +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[{package.json,*.yml}] +indent_style = space +indent_size = 2 \ No newline at end of file diff --git a/README.md b/README.md index eac7207..54987ef 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,33 @@ # has-gulp Check if a project is using Gulp + +## Install + +``` +$ npm install --save has-gulp +``` + +## Usage + +```js +const hasGulp= require('has-gulp'); +``` + + +## API + +### hasGulp([cwd]) + +Returns a `boolean`. + +#### cwd + +Type: `string`
+Default: `process.cwd()` + +Current working directory. + + +## License + +MIT © [kasiriveni](https://github.com/kasiriveni) \ No newline at end of file