{"name":"@eggjs/development","version":"5.0.0-beta.22","keywords":["egg","plugin","egg-plugin","eggPlugin"],"author":{"name":"jtyjty99999"},"license":"MIT","_id":"@eggjs/development@5.0.0-beta.22","maintainers":[{"name":"gxkl","email":"gxkl203@gmail.com"},{"name":"eggjs-admin","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"atian25","email":"atian25@qq.com"},{"name":"hyj1991","email":"yeekwanvong@gmail.com"},{"name":"killagu","email":"killa07071201@gmail.com"},{"name":"coolme200","email":"2001-wms@163.com"},{"name":"akitasummer","email":"akitasummer@outlook.com"}],"homepage":"https://github.com/eggjs/egg/tree/next/plugins/development","bugs":{"url":"https://github.com/eggjs/egg/issues"},"dist":{"shasum":"28bb79f423a06d09abe6a36b9d2d07f8cfa7f638","tarball":"http://registry-npm.ywwl.com/@eggjs/development/download/@eggjs/development-5.0.0-beta.22.tgz","fileCount":17,"integrity":"sha512-7R2wWCKFczVY98JZIZQaqCjlWfa33F12r6CrRBvRYnCpDTz000UTYbMj3R3YZSx+QCkRGMm3OZvNwp/fZkiGOg==","signatures":[{"sig":"MEUCIE1vNoU6WxoBfFCA3Spp9lgTiJEvdtL0sAFXjuxhYlbGAiEAyDtE3QtSUZl79kb4DHa4NTZ3i7ytH/yZNSjAR/e3iKU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@eggjs%2fdevelopment@5.0.0-beta.22","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21242,"size":7326,"noattachment":false,"key":"/@eggjs/development/-/@eggjs/development-5.0.0-beta.22.tgz"},"main":"./dist/index.js","type":"module","_from":"file:eggjs-development-5.0.0-beta.22.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.18.0"},"exports":{".":"./dist/index.js","./app":"./dist/app.js","./agent":"./dist/agent.js","./types":"./dist/types.js","./utils":"./dist/utils.js","./package.json":"./package.json","./config/config.default":"./dist/config/config.default.js","./app/middleware/egg_loader_trace":"./dist/app/middleware/egg_loader_trace.js"},"scripts":{"lint":"oxlint --type-aware","test":"vitest run","build":"tsdown && rimraf dist && tsc -b --clean && tsc","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6d3a8825-0822-4007-8823-c8b2e3056c5e"}},"_resolved":"/tmp/dc56251295c3027bcc197268c143fca0/eggjs-development-5.0.0-beta.22.tgz","eggPlugin":{"env":["local"],"name":"development","dependencies":["watcher"]},"_integrity":"sha512-7R2wWCKFczVY98JZIZQaqCjlWfa33F12r6CrRBvRYnCpDTz000UTYbMj3R3YZSx+QCkRGMm3OZvNwp/fZkiGOg==","repository":{"url":"git://github.com/eggjs/egg.git","type":"git","directory":"plugins/development"},"_npmVersion":"11.6.1","description":"development tool for egg","directories":{},"_nodeVersion":"22.20.0","dependencies":{"utility":"^2.5.0","debounce":"^2.2.0","multimatch":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsdown":"^0.15.4","typescript":"^5.9.3","@eggjs/mock":"7.0.0-beta.22","@eggjs/tsconfig":"3.1.0-beta.22","@eggjs/supertest":"9.0.0-beta.22"},"peerDependencies":{"egg":"4.1.0-beta.22"},"_npmOperationalInternal":{"tmp":"tmp/development_5.0.0-beta.22_1759600564027_0.7514359807987918","host":"s3://npm-registry-packages-npm-production"},"readme":"# @eggjs/development\n\n[![NPM version][npm-image]][npm-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/@eggjs/development.svg?style=flat)](https://nodejs.org/en/download/)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)\n\n[npm-image]: https://img.shields.io/npm/v/@eggjs/development.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/@eggjs/development\n[snyk-image]: https://snyk.io/test/npm/@eggjs/development/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/@eggjs/development\n[download-image]: https://img.shields.io/npm/dm/@eggjs/development.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@eggjs/development\n\nThis is an egg plugin for local development, under development environment enabled by default, and closed under other environment.\n\n`@eggjs/development` has been built-in for egg. It is enabled by default.\n\n## Configuration\n\nsee [config/config.default.ts](https://github.com/eggjs/egg/blob/master/plugins/development/src/config/config.default.ts) 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```ts\n// config/config.default.ts\nexport default = {\n  development: {\n    // don't reload when css fileChanged\n    // https://github.com/sindresorhus/multimatch\n    reloadPattern: ['**', '!**/*.css'],\n  },\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)](https://github.com/eggjs/egg/graphs/contributors)\n\nMade with [contributors-img](https://contrib.rocks).\n","publish_time":1759600564210,"_cnpm_publish_time":1759600564210,"dist-tags":{"beta":"5.0.2-beta.27","latest":"5.1.0","rc":"5.0.2-rc.1"}}