{"name":"@eggjs/development","version":"4.0.0","keywords":["egg","plugin","egg-plugin","eggPlugin"],"author":{"name":"jtyjty99999"},"license":"MIT","_id":"@eggjs/development@4.0.0","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":"dead_horse","email":"dead_horse@qq.com"},{"name":"wanghx","email":"whxaxes@gmail.com"},{"name":"hyj1991","email":"yeekwanvong@gmail.com"},{"name":"killagu","email":"killa07071201@gmail.com"},{"name":"coolme200","email":"2001-wms@163.com"},{"name":"mansonchor.zzw","email":"mansonchor1987@gmail.com"},{"name":"hubcarl","email":"hubcarl@126.com"},{"name":"gemwuu","email":"gemwuu@gmail.com"},{"name":"akitasummer","email":"644171127@qq.com"}],"homepage":"https://github.com/eggjs/development#readme","bugs":{"url":"https://github.com/eggjs/egg/issues"},"dist":{"shasum":"0302f5951dc8ec86ce259b825fa47e9650b5e477","tarball":"http://registry-npm.ywwl.com/@eggjs/development/download/@eggjs/development-4.0.0.tgz","fileCount":45,"integrity":"sha512-kBLn1aBKm42zKRaKoQH/aELz1eW9Xyi0sp0xInSYmeYZCNaj6q4WU0yCnKeL0qkUxm8Dvpu1VsWZIAuWn+68fA==","signatures":[{"sig":"MEUCIAfqvXQXsIdWa9g/94z78V1x/S9wCXbCGlqHcUU3r/eNAiEAwQg/tSYN5gRfR0dAkArKFgCdWWrR63mglvqn0dOnpI8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@eggjs%2fdevelopment@4.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":52611,"size":12981,"noattachment":false,"key":"/@eggjs/development/-/@eggjs/development-4.0.0.tgz"},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18.19.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"d4732b5e4a1301becc85a6dc58527a97fd7c96ba","scripts":{"ci":"egg-bin cov","lint":"eslint --cache src test --ext .ts","test":"egg-bin test","clean":"rimraf dist","preci":"npm run clean &&  npm run lint","postci":"npm run prepublishOnly && npm run clean","pretest":"npm run clean && npm run lint -- --fix","prepublishOnly":"tshy && tshy-after && attw --pack"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"eggPlugin":{"env":["local"],"name":"development","exports":{"import":"./dist/esm","require":"./dist/commonjs","typescript":"./src"},"dependencies":["watcher"]},"repository":{"url":"git+https://github.com/eggjs/development.git","type":"git"},"_npmVersion":"10.8.2","description":"development tool for egg","directories":{},"_nodeVersion":"20.18.1","dependencies":{"utility":"^2.4.0","debounce":"^2.2.0","multimatch":"^5.0.0","@eggjs/core":"^6.2.11"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"egg":"beta","tshy":"3","eslint":"8","rimraf":"^6.0.1","@eggjs/bin":"7","tshy-after":"1","typescript":"5","@eggjs/mock":"6","@types/node":"22","@types/mocha":"10","@eggjs/tsconfig":"1","@eggjs/supertest":"8","eslint-config-egg":"14","@arethetypeswrong/cli":"^0.17.2"},"_npmOperationalInternal":{"tmp":"tmp/development_4.0.0_1736577898839_0.5664057639614168","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":1736577899027,"_cnpm_publish_time":1736577899027,"dist-tags":{"beta":"5.0.2-beta.27","latest":"5.1.0","rc":"5.0.2-rc.1"}}