{"name":"egg-development","version":"3.0.2","keywords":["egg","plugin","egg-plugin","eggPlugin"],"author":{"name":"jtyjty99999"},"license":"MIT","_id":"egg-development@3.0.2","maintainers":[{"name":"jtyjty99999","email":"jtyjty99999@126.com"},{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"eggjs-admin","email":"fengmk2+eggjs@gmail.com"}],"homepage":"https://github.com/eggjs/egg-development#readme","bugs":{"url":"https://github.com/eggjs/egg/issues"},"dist":{"shasum":"0c85efe0a8a0f3d710c083d24d993b4fae8cdece","tarball":"http://registry-npm.ywwl.com/egg-development/download/egg-development-3.0.2.tgz","fileCount":8,"integrity":"sha512-sxJzgw+EwfaZhrVcoGniLBT3B3Xd99VsNZnpLKrYp35upaLqw+tCB+kaTYmXZYqXv1Zm2c6RoGCvJbyqr+Mkjw==","signatures":[{"sig":"MEQCIAjqgrtwnuEUkJptJZZZOWvlvPd+5qufq9q258Y3duewAiADlCqQsv4jEUBV+uEsD6z5ptSG0xggIc9F3LUL0XtEaQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/egg-development@3.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11082,"size":4621,"noattachment":false,"key":"/egg-development/-/egg-development-3.0.2.tgz"},"engines":{"node":">=14.0.0"},"gitHead":"571b8513f93593cba9723925e7407f00aaaacd21","scripts":{"ci":"npm run lint && npm run cov","cov":"egg-bin cov --ts false","lint":"eslint .","test":"npm run lint -- --fix && npm run test-local","test-local":"egg-bin test --ts false"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"eggPlugin":{"env":["local"],"name":"development","dependencies":["watcher"]},"repository":{"url":"git+https://github.com/eggjs/egg-development.git","type":"git"},"_npmVersion":"10.8.2","description":"development tool for egg","directories":{},"_nodeVersion":"20.18.1","dependencies":{"utility":"^2.4.0","debounce":"^1.1.0","multimatch":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"egg":"3","eslint":"8","egg-bin":"6","egg-mock":"5","supertest":"^3.4.2","@types/node":"^22.10.2","eslint-config-egg":"12"},"_npmOperationalInternal":{"tmp":"tmp/egg-development_3.0.2_1734887049356_0.3686731251027058","host":"s3://npm-registry-packages-npm-production"},"readme":"# egg-development\n\n[![NPM version][npm-image]][npm-url]\n[![Node.js CI](https://github.com/eggjs/egg-development/actions/workflows/nodejs.yml/badge.svg)](https://github.com/eggjs/egg-development/actions/workflows/nodejs.yml)\n[![Test coverage][codecov-image]][codecov-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n[![Node.js Version](https://img.shields.io/node/v/egg-development.svg?style=flat)](https://nodejs.org/en/download/)\n\n[npm-image]: https://img.shields.io/npm/v/egg-development.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/egg-development\n[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-development.svg?style=flat-square\n[codecov-url]: https://codecov.io/github/eggjs/egg-development?branch=master\n[snyk-image]: https://snyk.io/test/npm/egg-development/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/egg-development\n[download-image]: https://img.shields.io/npm/dm/egg-development.svg?style=flat-square\n[download-url]: https://npmjs.org/package/egg-development\n\nThis is an egg plugin for local development, under development environment enabled by default, and closed under other environment.\n\n`egg-development` has been built-in for egg. It is enabled by default.\n\n## Configuration\n\nsee [config/config.default.js](https://github.com/eggjs/egg-development/blob/master/config/config.default.js) for more detail.\n\n## Features\n\n- Under development environment, Output request log in STDOUT, statistic and output all key parts time-consuming;\n- Watch file changes, and reload application；\n\n### About Reload\n\nUnder the following directory (including subdirectories) will watch file changes under development environment by default, trigger an Egg development environment server reload:\n\n- ${app_root}/app\n- ${app_root}/config\n- ${app_root}/mocks\n- ${app_root}/mocks_proxy\n- ${app_root}/app.js\n\n> set `config.development.overrideDefault` to `true` to skip defaults merge.\n\nUnder the following directory (including subdirectories) will ignore file changes under development environment by default:\n\n- ${app_root}/app/view\n- ${app_root}/app/assets\n- ${app_root}/app/public\n- ${app_root}/app/web\n\n> set `config.development.overrideIgnore` to `true` to skip defaults merge.\n\nDeveloper can use `config.reloadPattern`([multimatch](https://github.com/sindresorhus/multimatch)) to control whether to reload.\n\n```js\n// config/config.default.js\nexports.development = {\n  // don't reload when ts fileChanged\n  // https://github.com/sindresorhus/multimatch\n  reloadPattern: ['**', '!**/*.ts'],\n};\n```\n\n### Loader Trace\n\nYou can view loader trace for performance issue from `http://127.0.0.1:7001/__loader_trace__`\n\n## Questions & Suggestions\n\nPlease open an issue [here](https://github.com/eggjs/egg/issues).\n\n## License\n\n[MIT](LICENSE)\n\n## Contributors\n\n[![Contributors](https://contrib.rocks/image?repo=eggjs/egg-development)](https://github.com/eggjs/egg-development/graphs/contributors)\n\nMade with [contributors-img](https://contrib.rocks).\n","publish_time":1734887049562,"_cnpm_publish_time":1734887049562,"dist-tags":{"latest":"3.0.2","latest-1":"1.4.2","release-3.x":"3.0.2"}}