|
|
- {
- "_args": [
- [
- "chokidar@^2.0.3",
- "/home/herrhase/Workspace/tentakelfabrik/tiny-components/tiny-consent/node_modules/laravel-mix"
- ]
- ],
- "_from": "chokidar@>=2.0.3 <3.0.0",
- "_hasShrinkwrap": false,
- "_id": "chokidar@2.1.8",
- "_inCache": true,
- "_installable": true,
- "_location": "/chokidar",
- "_nodeVersion": "12.8.1",
- "_npmOperationalInternal": {
- "host": "s3://npm-registry-packages",
- "tmp": "tmp/chokidar_2.1.8_1566409705431_0.31447568058522024"
- },
- "_npmUser": {
- "email": "paul@paulmillr.com",
- "name": "paulmillr"
- },
- "_npmVersion": "6.10.3",
- "_phantomChildren": {},
- "_requested": {
- "name": "chokidar",
- "raw": "chokidar@^2.0.3",
- "rawSpec": "^2.0.3",
- "scope": null,
- "spec": ">=2.0.3 <3.0.0",
- "type": "range"
- },
- "_requiredBy": [
- "/laravel-mix",
- "/sass",
- "/watchpack",
- "/webpack-dev-server"
- ],
- "_resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz",
- "_shasum": "804b3a7b6a99358c3c5c61e71d8728f041cff917",
- "_shrinkwrap": null,
- "_spec": "chokidar@^2.0.3",
- "_where": "/home/herrhase/Workspace/tentakelfabrik/tiny-components/tiny-consent/node_modules/laravel-mix",
- "author": {
- "name": "Paul Miller",
- "url": "https://paulmillr.com"
- },
- "bugs": {
- "url": "https://github.com/paulmillr/chokidar/issues"
- },
- "dependencies": {
- "anymatch": "^2.0.0",
- "async-each": "^1.0.1",
- "braces": "^2.3.2",
- "fsevents": "^1.2.7",
- "glob-parent": "^3.1.0",
- "inherits": "^2.0.3",
- "is-binary-path": "^1.0.0",
- "is-glob": "^4.0.0",
- "normalize-path": "^3.0.0",
- "path-is-absolute": "^1.0.0",
- "readdirp": "^2.2.1",
- "upath": "^1.1.1"
- },
- "description": "A neat wrapper around node.js fs.watch / fs.watchFile / fsevents.",
- "devDependencies": {
- "@types/node": "^11.9.4",
- "chai": "^3.2.0",
- "coveralls": "^3.0.1",
- "dtslint": "0.4.1",
- "graceful-fs": "4.1.4",
- "mocha": "^5.2.0",
- "nyc": "^11.8.0",
- "rimraf": "^2.4.3",
- "sinon": "^1.10.3",
- "sinon-chai": "^2.6.0"
- },
- "directories": {},
- "dist": {
- "fileCount": 7,
- "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==",
- "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXYPqCRA9TVsSAnZWagAAD3wP/irJQlf2kbB6XF6wRa9I\no6DIDY/XukhWwlXuvQfxnmCmosflH3bq+aXMZK5HPFpfDWHayJ8P1YV2ypiE\nP8cfG3iDCnE0S8TpO73etXxaiUT2NuLBvAhypBWjZS9S4kZ1jp+oFxCs+yG5\nU+ALkILneYpHVCjEmRZkGEKnyYrQYwfDugd89u3Ue3DdqmSlPlm2TQUGi7pz\nfyK4By1+f1Are7SIabOmKruyoyN11Qj3avwzKXjYyWj5knaRm03s7siSZG0p\nFqgrzZwXymIO5qS5nQaEP/F7sbgRG9rzr2s2aKZf1NtOSfmWQn2OiHRBM2aN\nh6IWj5/UfVR3sViLqXwTf52BueJSonGsNhEHeLAxsDDgj62VRqj/tUWFR5Os\naeCf8aNb+HLz/PqLRxtfCGmU0z8ar6i6CWpxUzlZyZqNMDl1gFeR5d7x5Evn\nf2xSQ6/091jx+65XDoapQML26KuGlbt5s9IQLeP+oG4MtYbwcFnsmfaN1t6S\nKt0cL+R0HIGOT3+YiZxUkZIk76I0FVdW0vxgerNdaASubF7Epq1ftNNYio+5\nEsr0OWprSiXlzHH+3Y3L9JAldf3GfW9KPDpTgJorhbrzw0JEuV6z/R5I9Ces\n5naB6w5EPPnhSvhL6J+7Tm6+ge1f5f+U1/+A5QGv8paQYkRH0rvZP2735q3R\nNyeK\r\n=wtk7\r\n-----END PGP SIGNATURE-----\r\n",
- "shasum": "804b3a7b6a99358c3c5c61e71d8728f041cff917",
- "tarball": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz",
- "unpackedSize": 87828
- },
- "gitHead": "a60961966746b143c1cdab13b37a90b97c4fae05",
- "homepage": "https://github.com/paulmillr/chokidar",
- "keywords": [
- "file",
- "fs",
- "fsevents",
- "watch",
- "watchFile",
- "watcher",
- "watching"
- ],
- "license": "MIT",
- "maintainers": [
- {
- "name": "es128",
- "email": "elan.shanker+npm@gmail.com"
- },
- {
- "name": "paulmillr",
- "email": "paul@paulmillr.com"
- }
- ],
- "name": "chokidar",
- "optionalDependencies": {
- "fsevents": "^1.2.7"
- },
- "readme": "# Chokidar [![Weekly downloads](https://img.shields.io/npm/dw/chokidar.svg)](https://github.com/paulmillr/chokidar) [![Yearly downloads](https://img.shields.io/npm/dy/chokidar.svg)](https://github.com/paulmillr/chokidar) [![Mac/Linux Build Status](https://img.shields.io/travis/paulmillr/chokidar/master.svg?label=Mac%20OSX%20%26%20Linux)](https://travis-ci.org/paulmillr/chokidar) [![Windows Build status](https://img.shields.io/appveyor/ci/paulmillr/chokidar/master.svg?label=Windows)](https://ci.appveyor.com/project/paulmillr/chokidar/branch/master) [![Coverage Status](https://coveralls.io/repos/paulmillr/chokidar/badge.svg)](https://coveralls.io/r/paulmillr/chokidar)\n\n> A neat wrapper around node.js fs.watch / fs.watchFile / FSEvents.\n\n[![NPM](https://nodei.co/npm/chokidar.png)](https://www.npmjs.com/package/chokidar)\n\n## Why?\nNode.js `fs.watch`:\n\n* Doesn't report filenames on MacOS.\n* Doesn't report events at all when using editors like Sublime on MacOS.\n* Often reports events twice.\n* Emits most changes as `rename`.\n* Has [a lot of other issues](https://github.com/nodejs/node/search?q=fs.watch&type=Issues)\n* Does not provide an easy way to recursively watch file trees.\n\nNode.js `fs.watchFile`:\n\n* Almost as bad at event handling.\n* Also does not provide any recursive watching.\n* Results in high CPU utilization.\n\nChokidar resolves these problems.\n\nInitially made for **[Brunch](http://brunch.io)** (an ultra-swift web app build tool), it is now used in\n[gulp](https://github.com/gulpjs/gulp/),\n[karma](http://karma-runner.github.io),\n[PM2](https://github.com/Unitech/PM2),\n[browserify](http://browserify.org/),\n[webpack](http://webpack.github.io/),\n[BrowserSync](http://www.browsersync.io/),\n[Microsoft's Visual Studio Code](https://github.com/microsoft/vscode),\nand [many others](https://www.npmjs.org/browse/depended/chokidar/).\nIt has proven itself in production environments.\n\n## How?\nChokidar does still rely on the Node.js core `fs` module, but when using\n`fs.watch` and `fs.watchFile` for watching, it normalizes the events it\nreceives, often checking for truth by getting file stats and/or dir contents.\n\nOn MacOS, chokidar by default uses a native extension exposing the Darwin\n`FSEvents` API. This provides very efficient recursive watching compared with\nimplementations like `kqueue` available on most \\*nix platforms. Chokidar still\ndoes have to do some work to normalize the events received that way as well.\n\nOn other platforms, the `fs.watch`-based implementation is the default, which\navoids polling and keeps CPU usage down. Be advised that chokidar will initiate\nwatchers recursively for everything within scope of the paths that have been\nspecified, so be judicious about not wasting system resources by watching much\nmore than needed.\n\n## Getting started\nInstall with npm:\n\n```sh\nnpm install chokidar\n```\n\nThen `require` and use it in your code:\n\n```javascript\nvar chokidar = require('chokidar');\n\n// One-liner for current directory, ignores .dotfiles\nchokidar.watch('.', {ignored: /(^|[\\/\\\\])\\../}).on('all', (event, path) => {\n console.log(event, path);\n});\n```\n\n```javascript\n// Example of a more typical implementation structure:\n\n// Initialize watcher.\nvar watcher = chokidar.watch('file, dir, glob, or array', {\n ignored: /(^|[\\/\\\\])\\../,\n persistent: true\n});\n\n// Something to use when events are received.\nvar log = console.log.bind(console);\n// Add event listeners.\nwatcher\n .on('add', path => log(`File ${path} has been added`))\n .on('change', path => log(`File ${path} has been changed`))\n .on('unlink', path => log(`File ${path} has been removed`));\n\n// More possible events.\nwatcher\n .on('addDir', path => log(`Directory ${path} has been added`))\n .on('unlinkDir', path => log(`Directory ${path} has been removed`))\n .on('error', error => log(`Watcher error: ${error}`))\n .on('ready', () => log('Initial scan complete. Ready for changes'))\n .on('raw', (event, path, details) => {\n log('Raw event info:', event, p
- "readmeFilename": "README.md",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/paulmillr/chokidar.git"
- },
- "scripts": {
- "coveralls": "nyc report --reporter=text-lcov | coveralls",
- "dtslint": "dtslint types",
- "test": "nyc mocha --exit"
- },
- "types": "./types/index.d.ts",
- "version": "2.1.8"
- }
|