Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

README.md 680B

před 4 roky
1234567891011121314151617181920212223242526
  1. # ignore-by-default
  2. This is a package aimed at Node.js development tools. It provides a list of
  3. directories that should probably be ignored by such tools, e.g. when watching
  4. for file changes.
  5. It's used by [AVA](https://www.npmjs.com/package/ava) and
  6. [nodemon](https://www.npmjs.com/package/nodemon).
  7. [Please contribute!](./CONTRIBUTING.md)
  8. ## Installation
  9. ```
  10. npm install --save ignore-by-default
  11. ```
  12. ## Usage
  13. The `ignore-by-default` module exports a `directories()` function, which will
  14. return an array of directory names. These are the ones you should ignore.
  15. ```js
  16. // ['.git', '.sass_cache', …]
  17. var ignoredDirectories = require('ignore-by-default').directories()
  18. ```