{"_id":"fie-config","_rev":"79-d87d90dc752676baa05e7c70c3a1feb4","name":"fie-config","description":"fie.config.js文件操作","dist-tags":{"latest":"4.0.1","alpha":"4.0.1-alpha.1"},"versions":{"1.1.0":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"1.1.0","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","LICENSE"],"dependencies":{"debug":"^2.3.2","escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fs-extra":"^1.0.0","tosource":"^1.0.0"},"_id":"fie-config@1.1.0","_shasum":"6519ea0d1cd7c53449c4635eba4970b7ab096ba6","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"6519ea0d1cd7c53449c4635eba4970b7ab096ba6","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-1.1.0.tgz","integrity":"sha512-DCzmlymEqIn4fTSbHwrvucDXYwjQ3X0P6ozClYFYD4mfaKb4EzsByb/MyC0D1DlzOlPjcIQIJpPIRaUAsdBRKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPbwCW/CzIOunYZAa+csVGlD0kYfYQLAAArXK+BFJJnwIgfVEDwIpOGy0QDSyog8c2AaT95WSNNIwyutnIkpYNmuk="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/fie-config-1.1.0.tgz_1479817630322_0.039332441287115216"},"directories":{}},"1.2.1":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"1.2.1","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"debug":"^2.3.2","escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@1.2.1","_shasum":"053312e031588c8f74f845a6e7d21dab00dbf85a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"zernmal","email":"zernmal@foxmail.com"},"dist":{"shasum":"053312e031588c8f74f845a6e7d21dab00dbf85a","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-1.2.1.tgz","integrity":"sha512-ud4aNUlR4Yoaz3nr7M+yUuLTOvlrI/K3TJrel+PMiD8jyhXdmy/xG0YTq8l11g9lKUYNVeM6742PjxYBHqVC6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCl0mPbt5+93zzYLsnvjuZ8bmJr77vQr76k5ZEUsENXIAIgNw/qNzxuVDJntWOwc4RiyHIyHTMbqL7j5hCWETPflVI="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fie-config-1.2.1.tgz_1480413147347_0.9333289545029402"},"directories":{}},"1.3.0":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"1.3.0","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"debug":"^2.3.2","escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@1.3.0","_shasum":"a524839493057d7d56884bd21c6cac5f8af2fdc2","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"zernmal","email":"zernmal@foxmail.com"},"dist":{"shasum":"a524839493057d7d56884bd21c6cac5f8af2fdc2","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-1.3.0.tgz","integrity":"sha512-jZOIYJkkleDDnKnC0ClUJ4LIIQWqOSHIj0dvZbdMS8W4DzE4EUElljruSxnlN809lf97NedB3YJ/GB38R+rOvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICj2DgvZdkQVKqWtQWT8L9RQVQi51qzSe88WAz1BTkdlAiEAqOAgLD9pu8GIhy8iWGw9WxjzbYqygOj+2Y/wC+/1gD4="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fie-config-1.3.0.tgz_1480413633728_0.23630999331362545"},"directories":{}},"1.3.1":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"1.3.1","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"debug":"^2.3.2","escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@1.3.1","_shasum":"b41ab857f780ff50ad93e1754ed9d26838cdf85a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"zernmal","email":"zernmal@foxmail.com"},"dist":{"shasum":"b41ab857f780ff50ad93e1754ed9d26838cdf85a","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-1.3.1.tgz","integrity":"sha512-QPooGyDi4VH4VzrNGd1IK+lkIhCjmPAYZSCAO/LJX/TMWmPVOngltXpaCEXVhyXuUrooc9KX/HxNRFRjuDq8Bw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDN4IUQ0tNFo81Phdg6+fQtZgJHvMQ9R4A0pABSEUJcZQIhAPVKz3zMMRxP+/eWxmr4KMdvayPGmE+w3Y+bj0rYvSek"}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fie-config-1.3.1.tgz_1480420815618_0.31142070377245545"},"directories":{}},"1.3.3":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"1.3.3","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"debug":"^2.3.2","escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@1.3.3","_shasum":"340e28806f2cb35bb01f85d43c5d6b18fc634fd6","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"340e28806f2cb35bb01f85d43c5d6b18fc634fd6","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-1.3.3.tgz","integrity":"sha512-XfzKaVEp0268vxYaRA/bnXW8D/yV/ZSNSmNKANdbEwxtMAyGNCao+C/WDja02ahFy12aQo2QLAWw25fwIyZihg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC89lGNWJVuIy5XkDF5L5ECArYN1b9VUr8qpNauNBvExAiEAnujLAWyMB2vdhjSbdInjhXSjNX1b2dXTW5Um0kQq0Mc="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/fie-config-1.3.3.tgz_1481961887400_0.6894095039460808"},"directories":{}},"1.3.5":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"1.3.5","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"debug":"^2.3.2","escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@1.3.5","_shasum":"bf951389fc466347cbd8457ebf985071cb4d96ac","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"zernmal","email":"zernmal@foxmail.com"},"dist":{"shasum":"bf951389fc466347cbd8457ebf985071cb4d96ac","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-1.3.5.tgz","integrity":"sha512-T6iuSlaenPgby0gc2BMYQ40h8o0DCPqwulTNoxG1D0aN/ennJI55hF0sWYqorQFOK987ceJGYO+meMLhNcCN5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA0IDsmgAUg24PHuX8bVrM9uYVXIpOVopMhw3sLCoeKhAiBFdPLPzyle+s88Ralp+XDATTbC7VRrB6hwZoROvN52Bw=="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/fie-config-1.3.5.tgz_1487239052947_0.16534025967121124"},"directories":{}},"2.7.4":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"2.7.4","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-log":"^2.7.4","fie-report":"^2.7.4","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@2.7.4","_shasum":"0480acf21150d74a306fd0f6c63e634de3328a8c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"zernmal","email":"zernmal@foxmail.com"},"dist":{"shasum":"0480acf21150d74a306fd0f6c63e634de3328a8c","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-2.7.4.tgz","integrity":"sha512-DuFsIT203+uiPt0o2tPUv5VbNlfVDfN2hrAwXn1lxLQ+U8jFjB5UtXDR5KzA5nZiFH5W/rMleHi9ufbV2dOj9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDjHNuZqe5Ejdu2QicUp920UsdbSqBSZ7vf4HNJYsHiAiA7SCjUPwq2M4+uW1j4gnylZyFMtRbAbwO7H3irdpPY5A=="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config-2.7.4.tgz_1495518058847_0.9734976796898991"},"directories":{}},"2.7.6":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"2.7.6","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-log":"^2.7.4","fie-report":"^2.7.6","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@2.7.6","_shasum":"1feb506623e241a93a2e83f1e63899863a6028b4","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"zernmal","email":"zernmal@foxmail.com"},"dist":{"shasum":"1feb506623e241a93a2e83f1e63899863a6028b4","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-2.7.6.tgz","integrity":"sha512-ASGaFslzC5eRixOaPCMWN9Lf6kvahIWN1U+xS3ik+J80oFyVs/0YyDxnYsfDVRaHJGpY1eC2nFGU+QOa0di8NA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEwXpHuEfPVjt/6SkWRUfd9H1o01GTsV3a7juV6fjZdAiEApWRol4pQDGRnqKFIJuX+PLXSUvJbrgihLKH8iT3meMA="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config-2.7.6.tgz_1497510632094_0.2605617556255311"},"directories":{}},"2.7.7":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"2.7.7","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-log":"^2.7.7","fie-report":"^2.7.7","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@2.7.7","_shasum":"5061d18777bc3473646fba68b8d914b30ee6795b","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"5061d18777bc3473646fba68b8d914b30ee6795b","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-2.7.7.tgz","integrity":"sha512-kMQDrpwnyP8TF5NcV1nKMdd5hsO+RFbpkHBri8zy3kGVaDmA8lSlBlNExPEw/qg1vojJUt4rl3Bpp2A3LrSP3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhbSXkOcjGjTpVF0fS7BloLwohZ6RBhe8Huz1RAe9v5AiEA4gxgpWKavgSxUYhyV35nuDcBZakeOXKbK3mos1R2fmo="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config-2.7.7.tgz_1501727404541_0.708693886641413"},"directories":{}},"2.7.8":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"2.7.8","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-log":"^2.7.8","fie-report":"^2.7.8","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@2.7.8","_shasum":"6ce4833a5bc06581a113c58b3beabb59471ed470","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"6ce4833a5bc06581a113c58b3beabb59471ed470","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-2.7.8.tgz","integrity":"sha512-GEczsRuT/0QuuhSiFMOZRAU8JlyYJKbXgJrM/Bnc4kna+on3Hv6AoOU4n4YlQv3AO6E+2Q3d1KX+DhM8EJGs3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFAE7z7+xDxxDL96mlx/ju/oVQq8GVSI+OCr40I4g+8aAiEA3myfSMUPt0blIVsegZHVO6T441dxKChn/rNyHu0dNew="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config-2.7.8.tgz_1502981576318_0.3325873943977058"},"directories":{}},"3.0.0":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"3.0.0","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","locale","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-log":"^3.0.0","fie-report":"^3.0.0","fs-extra":"^1.0.0","fie-intl":"^3.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@3.0.0","_shasum":"fbc8d20cd372b608cf88ff88d09bb70a9b0b85cc","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"fbc8d20cd372b608cf88ff88d09bb70a9b0b85cc","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-3.0.0.tgz","integrity":"sha512-8A5dfxA0KFdbwWq2aUBITedhvQvbnCytUn78+YUR8YR6y6y3dv3r7ji8miAFJQWN/42XWXNIWmE3yDdOHagESg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkxFHp3i5q+L5FCDUSTg0cr2+Ur37JNHAiyzwTe9vJeAIgA8nyyGna19Nc5+fgoUGvmtw3KnoACBIF+N6gmjmm/2A="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config-3.0.0.tgz_1507468662691_0.7215406557079405"},"directories":{}},"3.0.1":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"3.0.1","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","locale","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-log":"^3.0.1","fie-report":"^3.0.1","fs-extra":"^1.0.0","fie-intl":"^3.0.1","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@3.0.1","_shasum":"dbd159965c61f6a6e1f74a163cc443cf0a83672b","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"dbd159965c61f6a6e1f74a163cc443cf0a83672b","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-3.0.1.tgz","integrity":"sha512-yEhNPKjRAHkMqv8IdQUo4+iX7cEAyhN1Kz4aiK4+1udBjZQB51n+e0Ye6j05RFDuJqKtrRC7C9AgQGJWO2Uelw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICQ5UZlO3guz+r0HA4aQsFUqw56Hwpl+sTZD0b5j5JSvAiAwZKPqs4NBcD4KZjrF3x2YPX1FVrn7GxSocFUwqe+I2A=="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config-3.0.1.tgz_1507470558728_0.26337775657884777"},"directories":{}},"3.0.2":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"3.0.2","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","locale","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-log":"^3.0.1","fie-report":"^3.0.2","fs-extra":"^1.0.0","fie-intl":"^3.0.2","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@3.0.2","_shasum":"c65ec36116f8c129ecdeeec037b8999116be7506","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"c65ec36116f8c129ecdeeec037b8999116be7506","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-3.0.2.tgz","integrity":"sha512-z4Bp6MLCx6ZbvWs9HUad66daoHLcbi4iBK/JRmmE9CNFlWfS0bV6K7pm4OiXcK8/Ao/0H6jG6fj7JYvIqq2BVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCW0Y11ur2aqCXVfCoFPTLBcHe83qyt6wf+Kd6XF3VSnwIgXW7AIac7sxpVwdKwLaSbX7yN2psU3EYMc83RqVgCb98="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config-3.0.2.tgz_1507533272755_0.19916092744097114"},"directories":{}},"3.0.4":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"3.0.4","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","locale","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-log":"^3.0.1","fie-report":"^3.0.2","fs-extra":"^1.0.0","fie-intl":"^3.0.4","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@3.0.4","_shasum":"f99556f6dde5368978322f068ef752c173b77ba9","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"f99556f6dde5368978322f068ef752c173b77ba9","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-3.0.4.tgz","integrity":"sha512-O1nhC5dUalvzhEhlBlbMj8TCFe1RWDVLDGAZ0IelKfIyJZ+pAjy4cj+MIh9p9o5Kh4QBDkc8D7LOgm/1PqVYjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFPP9BUY81+qfhnmvE6wRSyWIIEqLp6skETCX3o4D041AiEA8xDQAT2lx2lLgSyz0G0oVsqcsA91Nx0seHtAqqM6Ga0="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config-3.0.4.tgz_1507643604766_0.6583209743257612"},"directories":{}},"3.0.5":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"3.0.5","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","locale","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-log":"^3.0.1","fie-report":"^3.0.5","fs-extra":"^1.0.0","fie-intl":"^3.0.5","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@3.0.5","_shasum":"1cea30753d2235ba34bbd5705bfc00e8704cdc26","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"1cea30753d2235ba34bbd5705bfc00e8704cdc26","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-3.0.5.tgz","integrity":"sha512-pWHMO/hjTaOvrBuOasy7U99sevgn01ycyABdoc4EnSmCEUM1f7qnDaoDcWRu4vjbIg9QdGuSneU4iQ6IHaJUdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICdpiLT3AJfKMFJ9rN4vSODt5XerMTP04ynQRN+4e4VCAiBbIatEEKW7QxwLRET15VOU/JC9k5IiWhg10Ez7TMU7Pg=="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config-3.0.5.tgz_1508424589096_0.472205116879195"},"directories":{}},"3.1.0":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"3.1.0","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","locale","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-log":"^3.0.1","fie-report":"^3.0.5","fs-extra":"^1.0.0","fie-intl":"^3.1.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@3.1.0","_shasum":"729ccdd7dae42387cfbcb5fee4fb61562249b830","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"729ccdd7dae42387cfbcb5fee4fb61562249b830","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-3.1.0.tgz","integrity":"sha512-OAdWBflvsFUId+FAYTSO078ulrGZbR8JTvJtiHMTqmBWmNfDxRewQFreR/1FN2DmGK/j+S74aMnC2pytZkLe0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsoCaU2m3gpXxQVBu7jQ3PIwU1r6tUeOCnumREHz9VJQIhAMzLS6Enjm51yd1piysD/FR/eoE5Dhz79DTBWNHTA5qX"}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config-3.1.0.tgz_1508814566860_0.8745196298696101"},"directories":{}},"3.1.2":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"3.1.2","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","locale","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-intl":"^3.1.2","fie-log":"^3.1.2","fie-report":"^3.1.2","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@3.1.2","_shasum":"615924e4942411c4770c1b19e4fac1088eaecee2","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.5","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"615924e4942411c4770c1b19e4fac1088eaecee2","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-3.1.2.tgz","integrity":"sha512-ac0a++a6O0lER1UhDN4eFqjWdysMskKPpeidwwHcUm4h3Wc6y6ithKyYacnB3nrEQdQ+4lYS3nP2mRVSXRvaCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfaMOYlpT9zXNzGAP4hWoVGrs5EP4vtFkdLWcSrSptXQIhANm1dqOm72YjvIWq+C9BZvS1aCtyJ+zlxYYWQWwU891M"}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config-3.1.2.tgz_1516979665715_0.5528771439567208"},"directories":{}},"3.1.3-0":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"3.1.3-0","keywords":["nodejs","fie","fie-config"],"scripts":{},"files":["lib","locale","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"readmeFilename":"README.md","dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-intl":"^3.1.3-0","fie-log":"^3.1.3-0","fie-report":"^3.1.3-0","fs-extra":"^1.0.0","tosource":"^1.0.0"},"readme":"# fie-config\n\n[![NPM version][npm-image]][npm-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/fie-config.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/fie-config\n[david-image]: https://img.shields.io/david/cnpm/npminstall.svg?style=flat-square\n[david-url]: https://david-dm.org/fieteam/fie-config\n[snyk-image]: https://snyk.io/test/npm/fie-config/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/fie-config\n[download-image]: https://img.shields.io/npm/dm/fie-config.svg?style=flat-square\n[download-url]: https://npmjs.org/package/fie-config\n\n> fie.config.js 文件操作模块, 可以对 fie.config.js 文件进行读写等操作\n\n\n## Installation\n\n```\nnpm install fie-config --save\n```\n\n## API\n\n### get(key, cwd)\n\n> 获取fie配置文件(fie.config.js)的内容,如果不存则返回 null\n\n- key `{string}` 配置的键\n- cwd `{string}` 配置文件所在的路径, 默认为 process.cwd()\n- return: `{mix}` 配置内容\n\n\n```js\n//fie.config.js文件\nmodule.exports = {\n\ttoolkit: 'fie-toolkit-dev',\n\tgo : {\n\t   projectId: 85932,\n\t   assetsId: 21443\n\t}\n};\n```\n\n```js\nconst config = require('fie-config')\n//获取配置文件中go字段的内容\nconfig.get('go');\n// => 返回 { projectId : 85932, assetsId : 21443 }\n\n```\n\n\n\n### set(key, value, cwd)\n\n> 修改fie配置文件内容\n\n- key `{string}` 配置的键\n- value `{mix}` 配置的值,可以为字符串,数字或json对象\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n\n```js\n//原始fie.config.js文件\nmodule.exports = {\n  // abc 插件\n  abc: {\n    xyz: 22\n  },\n  // 任务列表\n  tasks: {\n    start: [{\n      command: 'echo 33'\n    }]\n  }\n};\n\n```\n\n```js\nconst config = require('fie-config')\n//set 设置一个对象\nconfig.set('abc', {xyz: 23});\n\n//set 设置一个带注释的字符串对象\nconfig.set('gg',\n\t\t\t`\n//这是一行注释\n{\n  \"good\" : \"yes\"\n}\n      `);\n\n//set 设置一个带.的字符串\nconfig.set('xx.yy','123');\nconfig.set('tasks.build',[{\n\t\t\tcommand: 'echo 44'\n\t\t}]);\n```\n\n\n```js\n//最终修改输出后的fie.config.js文件\nmodule.exports = {\n    // abc 插件\n    abc: { xyz: 23 },\n    // 任务列表\n    tasks: {\n        start: [{ command: 'echo 33' }],\n        build: [{ command: 'echo 44' }]\n    },\n    gg: //这是一行注释\n    { 'good': 'yes' },\n    xx: { yy: 123 }\n};\n```\n\n### exist(cwd)\n\n> 判断 fie.config.js 文件是否存在\n\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n- return: `{boolean}` 是否存在\n\n### getToolkitName(cwd)\n\n> 获取配置文件里面配置的 toolkit 的名字\n\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n- return: `{string}` toolkit 的名字, 若不存在返回 null\n\n```js\n//fie.config.js文件\nmodule.exports = {\n\ttoolkit: 'fie-toolkit-dev',\n\tgo : {\n\t   projectId: 85932,\n\t   assetsId: 21443\n\t}\n};\n```\n\n```js\nconst config = require('fie-config')\nconst toolkit = config.getToolkitName();\n// =>  toolkit = fie-toolkit-dev\n```\n\n\n## Support\n\n使用过程中遇到的相关问题，及BUG反馈，可联系: hugohua <baofen14787@gmail.com> ，也可直接提[issues](https://github.com/fieteam/fie/issues/new)\n\n## License\n\n[GNU GPLv3](LICENSE)\n","bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@3.1.3-0","_shasum":"4a578d75670d333ae6647e96e8b977c730af36a7","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"4a578d75670d333ae6647e96e8b977c730af36a7","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-3.1.3-0.tgz","fileCount":6,"unpackedSize":45586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbF41UCRA9TVsSAnZWagAACjcP/1Oc9W1GR3a6ENlnJoKU\nWaDXVPRijbT3ogY6cr013FWVsVbBN6iZBTHlUBQ+e6Fluw+DT1yEdy++cE/Y\ny83HoNtAEfKHPv0H1w/PjK9m2kgtfWxyJM5kD5sH/xavc9zH1dtSe9TF2LHN\nJ6o9Mp8qUeOwnWt9zQiWUjAS/BFdJblwI1XsYvCfky7x6tpXXZKuhO1zyXCm\nchkY7nYg3qtmQatljcQcgDtrXexOlfojRK3IOvSrD7P6oVU1Eg/ZBfL6IGHn\n73Ta6yqHiDPUbHkc1LXaLUwll9VnVgEZTYU3j/KaQJfgphH5zofp8F9hvCmK\n/DQm1NdVr2gidHe4RQE/8qxHB/dzdTEGV6ff2+/jVvOAhYx5cTn4FS4ulHb/\nVkXQ8B599QK5Y+qtQ39s9IejOOtsuV6SaPCuEiWTnrSNkmxdSf/eeEIkayb6\nDeegvpAwMaX8/SEKgHsqsC+zs6HOmQR2arZJRrB3YW8MQst4sMCkSVPjLQhu\n1Dwg7gtDgbnySfYz4KUAe3h5dR7zaOVWDrB0dLZF+9s7lpvHKKLiP90kXcsw\nHIvqCJe8ApqM+G/QmHvYGSgNrUyLh6/txrs76CXxsE3y2zj72Nx3Ko7sdTB0\nJlBq4583Ch8/yrciPZzVj4GWVqSl7k5qpTIQN1TQPH7laGaU8B0lgg+9Cdou\nJvjU\r\n=ISZx\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-F68pGDoCJf/TXZdU5Fk3yfd5vbha8eZVlB6D45P9niJFz2HirOA+YFxSGfuhpla4ech8JtzLpnMWTUEjRKZi+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDU9GxEINEbDBOZmUmtkOc5sDi3t/trbCWL9dBqwCEVCAiB8x1UcBqgwUnqK9kp0+LDL+4ARK2ZP9mijQMH+1gq+/g=="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config_3.1.3-0_1528270163851_0.7227835595779977"},"_hasShrinkwrap":false},"3.1.3":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"3.1.3","keywords":["nodejs","fie","fie-config"],"scripts":{},"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-intl":"^3.1.3","fie-log":"^3.1.3","fie-report":"^3.1.3","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@3.1.3","_shasum":"3189bcd2639aded857cc3491c4cb46746d5a1cf7","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"3189bcd2639aded857cc3491c4cb46746d5a1cf7","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-3.1.3.tgz","integrity":"sha512-fl3nvRbxTAWGI6XOIjq5wM4xqtpaSVoyZhqnTctM/BcgflL8EASq9V+utTm1XNpHrq8GhhTPQX8dzERnozlX+A==","fileCount":6,"unpackedSize":45578,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzYU6CRA9TVsSAnZWagAA558P/27JkShb+gmLciSI8c86\n2+9qp6Vhk8lbFlbrFWtprgmhgbElGGshQglPhaT2IrX4oQsxiDIJlni7a2Xk\nLDwQn4eju+NBL/T8VwOQ5b8nZZmfQxJY4zA1j+ihn+5je9YiRrEX4jQkci38\nvBwu4FxII7MFVDOT23pRSmN3vZqbN2Bjbh71KLBpVeJxXoehugi2i5XaFug5\nMKikVrbm12ahjqJpCczURFxgFxtHlnvKN/s1qPEKrzhXWK3B44VyZw6a9ceg\nZBlWt06K2Rl/z/kwt+wJUzKGXtKiWpappbMcYpvkqjZEAjhWs+dI2h0KbhJ5\nw/XcJQqWXQ+YESX1SW9qJfyRU9lsBkCF75mOlBIB6Vmw2jLDusgXN3A8jmLX\nXY3glVTjv/j/dEgnMOeYM/HaQnpfyYlM1AQCUZdOPl1WKaE5k/EQz3+5p16Y\n54M7QsjGYoPj6EZdMQ3fmoujC+XUc0BYBvIToeVkE3Dwm1XQc51G4qzLhPZl\nKz0xEpl1S/yBwuhchuNGTBTKnNefjlEXUKYyVBc0LGB2pqpXHIRzJyXH+bmz\nAKcPwdW1ohTdEGTFxSK3Ibg5X4sDBClhMp8u6bNLEQH6TUpOxCoHOG/xb9DL\nM4pk8T9/pbSvDTO843cnBXPwLAoa/m3aLrnHZkv7sCDJx7F4HBlyzwIyAY7e\nzpF9\r\n=4dpw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSR6U077tD6j1m888qwO287IOiJZWVQwX92XjRcubHkwIgFtDIHVyueHwvkeEcemH04LMLBa6K8MwtCe4dWGFFZa4="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config_3.1.3_1540195641830_0.27781783133021"},"_hasShrinkwrap":false},"3.1.4":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"3.1.4","keywords":["nodejs","fie","fie-config"],"scripts":{},"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-intl":"^3.1.4","fie-log":"^3.1.4","fie-report":"^3.1.4","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@3.1.4","_shasum":"72697d757a4772faec6f47be1b5fa882660b3194","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"72697d757a4772faec6f47be1b5fa882660b3194","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-3.1.4.tgz","integrity":"sha512-3aMPz6SPE2H93J0TEu9SHnpmCr/Iz4RMHAmofA27/BeN0RcLOH8DfXHPm+tpHtaX92Vhkltq+7863aSnendaIg==","fileCount":6,"unpackedSize":45578,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBTCdCRA9TVsSAnZWagAAjfsQAIiYg6ZOqMwxUXdP2M2T\nVILwWBoeW9Sn6bWN9atjWp4l9FLGz1NTGnsBq6qgiZidbykLPef8hUpg5lhV\n1pqHsL19IKRC6C4cvm7S5opF+i+j6tQ8ZYRFnh+UJji6Lq6rKnACozn3Zws4\nJ1ziFB0pXXr3gPBRKxecVXA04eZN1byzsQSyNIS7BmY/pm1K5SrWr24eY6fZ\nisl5qfsc6OEznhXz9TSfdKd7QYnFZLU3jG9SZrcwOA1dksdBAIMCmrPc/16q\nUzEGl+v8jqwWOw0eAUUl638V5DJU7aZaK+F+eh+O8cWRsRayucuNc7IkSS7r\nc2lpQ3a2o8UQdhIG+ftWgKZM+MP9Es3v+g4QAJWxe6veIG8nd+N2LzfHIAbM\n2ZkaJWnfKi+e6hxn8xiPRg9tKj35VBBRSud18pBs3h/KV/c+KdkGbJxBN+Za\n1VlDIDvSm2bEBm6IbhBwm2l8Oy53rYskICFdMlypDK/CtrFZJx0eBuayiWPs\nPZ6eji/EeIjySzVVIJhSFAgzJXRqq4vhZve6FwozbNgB4ighkCWMDq28xJ2R\nTyx70e5L6SNg4WtHv1uOx2HyFrNspRUhtw3d1SDP3G3DLMawevbZftO5xBaH\nhxYRoM5OkoCbMcYWS4pTmOBBqQkfF3bmegsVo6xqXieWYGEvUz4P72nvecVq\nvXS2\r\n=XT47\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEog4LoQNY3AMOsV15nVbY00ykjzPm3hZ8FZwx2JTOblAiEAln+3qdqx7nzfqIpzD+R8AVkjM8lB0fLdaNivfzKRe5A="}]},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"zernmal","email":"zernmal@foxmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config_3.1.4_1543843997192_0.24971408264055928"},"_hasShrinkwrap":false},"3.1.5":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"3.1.5","keywords":["nodejs","fie","fie-config"],"scripts":{},"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-intl":"^3.1.4","fie-log":"^3.1.4","fie-report":"^3.1.4","find-up":"^4.1.0","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@3.1.5","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-rrAu0+/3glk9hgUeH2VpzRhgO2pZKYzPfmnreU4e+I7HYnywgEh1O5O/qBgQAbK7ZV1HKR5tuJoAYEeIhlFqkQ==","shasum":"44bbc056942767216fb7ca067c3f218d40502f72","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-3.1.5.tgz","fileCount":6,"unpackedSize":45618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSRv6CRA9TVsSAnZWagAAgtEP/2IhgwT2l/iFJYZGx3cX\n9ke98b0R7v2PtuZOYVgDrGkJds6a2N7Ls4nG+7Qj4Fl9yTwMRpn72708exQs\nyJKsszRvD2mw2W1UKH0amOyXP9qmgYLtPbc06xl+WLg5EV9AGVJFPhKSzRoT\nbop2k+2EgYASW+NS3ZsebIAk7ZfQh5WqsmRqzJO6mR3G4DIh6eS54JeDJP9E\nPy8QxoalUnXnv/TZCkMBI9g42SPIfoxTYX1oV0Se2kLpiJmfYgA9sSPdrBio\neOJPdBQeTH32h1rwpp2PvI5Ts0/YwrPZdoB+RPB6bcGj1yeNzFgtp+NvncH8\nZ7eRpnIsPKAejThlC9rzJus6ILv62KKCEu2LxzXO3LU+xl21hDWtfFsXrBBU\n0KlZPGWjmc/8nc7VG4winQaqWt/Oy29HzPtajvB9CI3CYtXEQb615iJIEiNU\nRgbCuzvQyhKOkwfkDk9G99QBW7acfIDZ30wS0YySa94CV+A71YzNJJZt+QRJ\n3nibPVjI2CBFH0V4nwfe7Lr2zRC0x4eNspJSZBC/0Xh+asY83PolDrwNZzMD\n4FuGXpcBHtLLgOXviIYZW2FenzGyLbo6/ymMnPaPSBERTZw8DdmPDUDwcJhF\nbULOJvQbrztcFUuUP8psfarnBMGm/8rSgco6WRlk1Af9cNnziZfG+mJ+LWbp\nkAh5\r\n=Mz/f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCckLnN9TgnuElcTaZ9aBBokoNflM6CpnyVElMFZU4W1gIhAPJHEdydKe0wA+FA3XIQUN0U/MIhwfF3Xkt8xKxYQVot"}]},"maintainers":[{"email":"akirakai@163.com","name":"akirakai"},{"email":"baofen14787@gmail.com","name":"hugohua"},{"email":"zernmal@foxmail.com","name":"zernmal"}],"_npmUser":{"name":"akirakai","email":"akirakai@163.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config_3.1.5_1565072377820_0.7168079711575179"},"_hasShrinkwrap":false},"3.1.7":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"3.1.7","keywords":["nodejs","fie","fie-config"],"scripts":{},"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-intl":"^3.1.4","fie-log":"^3.1.4","fie-report":"^3.1.4","find-up":"^4.1.0","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@3.1.7","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-xYMHo9uXV4Na6FrgyeSJ+bzV3Di7a8AJ9E4mYefCbCy5C2hK5mvCiPU9WmDBiBLjFuZzx5o5H4Nb8yb0CMr3vw==","shasum":"6625cc408bc51553bd0e01a285362ad4d642619a","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-3.1.7.tgz","fileCount":6,"unpackedSize":45939,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSl1HCRA9TVsSAnZWagAA5usQAJX/JBpvRw2RBtl5z0zv\nmSTCdJr193mX6btGEuRhKaL3Ur/0d9PHqAUamM+rXip4l65FRp2cDyqA4SmZ\nvWxEfPv3eBQ3NK5zhAG3rAlzBvVXGANk9Z46AXDKjx3RJ8oGEs4tKZiMdyA5\n0lqeWdWwDZeq+z5Cezrq0JYp9F5W2rS/USwXfiFKFNGyXvTDNlpNLapAocde\n+S9yIDGwIL0IHODL0f/m7XbQOuVKrF8vkWhiPbohlSV1HEzz1Zf7fGZpK6Af\nsBj1mazaSWQPPZDx6I1RbrHYlBCeFb3eU+WmG4Vz6PAAOP5kMPBCvOw+xvt4\n19O6tP1957WgLiewMNx1/uY03lB8VXItYbOUOs/3jHm9KV4nVMQzHHqLi783\npEWltbS/5vL2zMxqzddGWkUUoojrEYuLlXpr/u+gk6+oY5Sm+1deX2r4S+CS\nqk54GOv/TESD8JdtWnC3qinFmMVQ5Cbq/ib+2UM/7bOTl5P58N2pbYmtaeEl\nAzxPXOc73gSJ6giQEftBYMc4yzBb3KFKzhk/nfULRaWj7dC+W9KD3GvEBxDF\npLzkrfovrnmJBcRfV7drgW16JuVI98N75YyadodbYiYXACGmpX2kT4amOmus\nDkBZx1bG9aoSA+xdoaJb2iiFcZicM6dQJ10IOeN5eY3S8JQPmHNhrTQgsxyk\nmW9j\r\n=WUL1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwEBQOkinOEkuO9ztBVp7qZYV9xv2qLGGb1ouMRcrBmAIgdL0GtSgmXHNrOcLRxo06R3vTz/ftTSpRc+gyAXpWX8c="}]},"maintainers":[{"email":"akirakai@163.com","name":"akirakai"},{"email":"baofen14787@gmail.com","name":"hugohua"},{"email":"zernmal@foxmail.com","name":"zernmal"}],"_npmUser":{"name":"akirakai","email":"akirakai@163.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config_3.1.7_1565154630985_0.9656756086301381"},"_hasShrinkwrap":false},"3.1.8-alpha.0":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"3.1.8-alpha.0","keywords":["nodejs","fie","fie-config"],"scripts":{},"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-intl":"^3.1.8-alpha.0","fie-log":"^3.1.8-alpha.0","fie-report":"^3.1.8-alpha.0","find-up":"^4.1.0","fs-extra":"^1.0.0","tosource":"^1.0.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@3.1.8-alpha.0","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-DIPU+CuYy1RDbUvD06FLBP94KuTaposxeawmonlail5PIkrN3qYwew54NBv4h3yUjSUrOkM+BSULlnXiDBUEyA==","shasum":"4d3ea7e76ef8e5db8904302ffb64edd844d7a9f0","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-3.1.8-alpha.0.tgz","fileCount":6,"unpackedSize":45970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVCDbCRA9TVsSAnZWagAAVO0P/iOYAzBqhw1CJNAo4+nl\n/8dnlWLmnr9ZGG+PIP6juWM+VJCDCjcmYr6oGLRlmem10EcSYKvguHsiNYgU\nh0vhXa6k2bujuDLjqkIPk+a+Z17um683338DJK4nj2KTyPdHS7++t3qayaKe\nHhHctUXobLQkNpyxIRxb2Lhcg7gqsLLvOCAYezN/aL+N/CbvrECNDXgkTxzk\nKwyH+JXquP4QZoy2ynTG9tw+ZZ/SFjyLXcj2gQM+t6cVgIjC3VLjOTSsnjIL\np70yWVl3jXHw1c2EAIJDC5fQ5OXBpVhHca9gSfLciJQJy9Z7XVHaTI1nGqe7\nyt0zJR2fHiOUFauYYf2NespCPccRJxDxHheTbQHJeCBcIpYQUKmDid9Bid+l\nnHNUU96vjZF7AbfiliYsqc9Vz1uqYc5WyruUL50nj4d8/604VzBDQSD3nmkz\nSTYtvYeJJ4SCQb0Ya6Sh+QeLssGI7ColgDGREPzvxbMt2lkl4H/umvXsGBm6\ng9rh/f36FcWQLtqZmyNPfk1Ys504uAroDLF7JwteqTalEklLRNdZhh4vnPxF\nbXEzrqMgpKQHlXwRj8XakPPB/MijsFdSXutpFZ6/o83VCVZ0/OZOul/Q+bNj\nxQxhACvzJOXyZnwHCDu8axBMUPbjoWMUVA/Dkt5hBsT83lTWA/2ohchLqq+4\nVG/c\r\n=/5s2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmH1Sgw9tJR+GYIz/MR5wNhPlQSgy50JoSgBddP6y3zgIgCCQhpAdZRomEuHPEUiGiYbhpILA3B9yGcbd+juKd744="}]},"maintainers":[{"email":"akirakai@163.com","name":"akirakai"},{"email":"baofen14787@gmail.com","name":"hugohua"},{"email":"zernmal@foxmail.com","name":"zernmal"}],"_npmUser":{"name":"akirakai","email":"akirakai@163.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config_3.1.8-alpha.0_1565794523116_0.8459116811929759"},"_hasShrinkwrap":false},"3.1.8-alpha.1":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"3.1.8-alpha.1","keywords":["nodejs","fie","fie-config"],"scripts":{},"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"readmeFilename":"README.md","dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-intl":"^3.1.8-alpha.1","fie-log":"^3.1.8-alpha.0","fie-report":"^3.1.8-alpha.1","find-up":"^4.1.0","fs-extra":"^1.0.0","tosource":"^1.0.0"},"gitHead":"bcae960e84521406d1fc97395c3d150f1d29dd15","readme":"# fie-config\n\n[![NPM version][npm-image]][npm-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/fie-config.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/fie-config\n[david-image]: https://img.shields.io/david/cnpm/npminstall.svg?style=flat-square\n[david-url]: https://david-dm.org/fieteam/fie-config\n[snyk-image]: https://snyk.io/test/npm/fie-config/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/fie-config\n[download-image]: https://img.shields.io/npm/dm/fie-config.svg?style=flat-square\n[download-url]: https://npmjs.org/package/fie-config\n\n> fie.config.js 文件操作模块, 可以对 fie.config.js 文件进行读写等操作\n\n\n## Installation\n\n```\nnpm install fie-config --save\n```\n\n## API\n\n### get(key, cwd)\n\n> 获取fie配置文件(fie.config.js)的内容,如果不存则返回 null\n\n- key `{string}` 配置的键\n- cwd `{string}` 配置文件所在的路径, 默认为 process.cwd()\n- return: `{mix}` 配置内容\n\n\n```js\n//fie.config.js文件\nmodule.exports = {\n\ttoolkit: 'fie-toolkit-dev',\n\tgo : {\n\t   projectId: 85932,\n\t   assetsId: 21443\n\t}\n};\n```\n\n```js\nconst config = require('fie-config')\n//获取配置文件中go字段的内容\nconfig.get('go');\n// => 返回 { projectId : 85932, assetsId : 21443 }\n\n```\n\n\n\n### set(key, value, cwd)\n\n> 修改fie配置文件内容\n\n- key `{string}` 配置的键\n- value `{mix}` 配置的值,可以为字符串,数字或json对象\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n\n```js\n//原始fie.config.js文件\nmodule.exports = {\n  // abc 插件\n  abc: {\n    xyz: 22\n  },\n  // 任务列表\n  tasks: {\n    start: [{\n      command: 'echo 33'\n    }]\n  }\n};\n\n```\n\n```js\nconst config = require('fie-config')\n//set 设置一个对象\nconfig.set('abc', {xyz: 23});\n\n//set 设置一个带注释的字符串对象\nconfig.set('gg',\n\t\t\t`\n//这是一行注释\n{\n  \"good\" : \"yes\"\n}\n      `);\n\n//set 设置一个带.的字符串\nconfig.set('xx.yy','123');\nconfig.set('tasks.build',[{\n\t\t\tcommand: 'echo 44'\n\t\t}]);\n```\n\n\n```js\n//最终修改输出后的fie.config.js文件\nmodule.exports = {\n    // abc 插件\n    abc: { xyz: 23 },\n    // 任务列表\n    tasks: {\n        start: [{ command: 'echo 33' }],\n        build: [{ command: 'echo 44' }]\n    },\n    gg: //这是一行注释\n    { 'good': 'yes' },\n    xx: { yy: 123 }\n};\n```\n\n### exist(cwd)\n\n> 判断 fie.config.js 文件是否存在\n\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n- return: `{boolean}` 是否存在\n\n### getToolkitName(cwd)\n\n> 获取配置文件里面配置的 toolkit 的名字\n\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n- return: `{string}` toolkit 的名字, 若不存在返回 null\n\n```js\n//fie.config.js文件\nmodule.exports = {\n\ttoolkit: 'fie-toolkit-dev',\n\tgo : {\n\t   projectId: 85932,\n\t   assetsId: 21443\n\t}\n};\n```\n\n```js\nconst config = require('fie-config')\nconst toolkit = config.getToolkitName();\n// =>  toolkit = fie-toolkit-dev\n```\n\n## getConfigPath()\n\n> 获取配置文件的路径\n\n从当前目录开始逐级向上查找含有 `fie.config.js` (或其他指定的文件名)文件的路径\n\n## Support\n\n使用过程中遇到的相关问题，及BUG反馈，可联系: hugohua <baofen14787@gmail.com> ，也可直接提[issues](https://github.com/fieteam/fie/issues/new)\n\n## License\n\n[GNU GPLv3](LICENSE)\n","bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@3.1.8-alpha.1","_nodeVersion":"10.14.2","_npmVersion":"lerna/3.16.4/node@v10.14.2+x64 (darwin)","dist":{"integrity":"sha512-N1W4U6GXBP5EDoODQvbG0I5t9RjnaXPe92hNsYECtuqjP4BQ2uPooIbwJQ9RnjM/OV00lImUTLGb8d6LZQhSZA==","shasum":"3e800e85a04fa1e7b1fe7081fb65542f6b5aa2ee","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-3.1.8-alpha.1.tgz","fileCount":6,"unpackedSize":46027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcLFBCRA9TVsSAnZWagAAuF0P/2OcL1ZEgdpg4FSlMwB4\nBp5knEY9zAgt+/+icaowNLJej8lEULlN0QmUziYz3+yoKWNW4xcDnBJ2/dg5\nAk4tZHJbiC6h57M568rWSjtvQaxFsaWzi5EVFEi1eTDwzz/d8DVEeW/GcDtV\nik4FZwemgPOVZ0UCiNx+cc6r5SSJ54yFpSQ1/X5jRgvu4HV4sxelzTEZsgEl\ns3NAbtnWzjzuUIdOcA9jlobNwaO6uBFcfLk04+84sTgC7YlYv9g5nqvmsfNw\n6PHpcq3WIR6hK4Yb73buTsZjJS2WflLg9aoR+LqLIi7FDjVy+A0pi7jjZHjO\n7PyCtcJUaRDWh/V0NQ7Mfc8Q+EQ3l0D+e/tD68J+n/d0ae8A3OK8YW6z9Cv1\nYBr9Jg7glY+5oa1Mw3bIAebeFxF8IrRqt1AezSUtqw44oXiyyhxB+/0TqT5V\n5FoGJtQfsocvFJSWadZBuLXxiLQMkqniEmdhefRDa6pbe9n8xq8dxbb9Tq79\nCNttIESkRMdKjcY0Wl97p3Y5R+DjJckTq3/94adcak565DzWBnIk9TF8WqAU\ngBMii3OmNOc9YoYkBzs350E2tdJ2vdWAVHMUtLiu8iAUWa8HEhyccSm6tTbh\nI+33VoRiT1h4hxseh6CKwwpnqr7JesCTZC8DQglbWbD3Fw6KljKmUfVyKULA\nRvCU\r\n=unWG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFB661uiR5/pR3vPViUl7Uxo7Ud4KH7ApXszKqKTO6TDAiEAohtNCDG01G6WkELs60HKziCfmjiGaIDZqa5QURD50vg="}]},"maintainers":[{"email":"akirakai@163.com","name":"akirakai"},{"email":"firewash@gmail.com","name":"firewash"},{"email":"baofen14787@gmail.com","name":"hugohua"},{"email":"zernmal@foxmail.com","name":"zernmal"}],"_npmUser":{"name":"firewash","email":"firewash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config_3.1.8-alpha.1_1567666496505_0.003213769232115027"},"_hasShrinkwrap":false},"4.0.0-alpha.0":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"4.0.0-alpha.0","keywords":["nodejs","fie","fie-config"],"scripts":{},"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-intl":"^3.1.4","fie-log":"^3.1.4","fie-report":"^3.1.4","fs-extra":"^1.0.0","tosource":"^1.0.0"},"gitHead":"9c8dcebbe1498f942c45ecf4769888eb631d4fb4","bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@4.0.0-alpha.0","_nodeVersion":"12.19.0","_npmVersion":"lerna/4.0.0/node@v12.19.0+x64 (darwin)","dist":{"integrity":"sha512-BUXyUHhiCeiuxRenpfhmC73+fKH6IYDRvwMQBoqkxN251WPSfI6rfhAuZkUdyfizsf1E5qEbEDcmJwBBtt3Ktg==","shasum":"d87413e0ee77c01ec969da1fb0139c5187a585a2","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-4.0.0-alpha.0.tgz","fileCount":6,"unpackedSize":45995,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3CvRCRA9TVsSAnZWagAAFxYP/jwHC79rEc9T4CSnZ5KN\ndXUXVYjfcnUfuIn6Lomt02OFaxKIvOYoCP2t8MDISYTl44BFBAFZziKiEMIu\n+o+jyIvkYcC1GbEE4sDVRKTve5LVSntURZWgNl5WE+WJFBmgjk7w7DheN9zJ\n1bLSq6EylkQoX7Ve4A0+rEoYVOV10U8DR/BhrKXfmsVGx2/F1V6pZpXknX2j\nJ4Zs3CDsKfpArHkIWgkuqdNtN1pLFlDLEU9GJAWQU6AsplSNSwpQ1kY66kB/\nrzgLwmaQaZCZG0qNLhOC5bpNoWoNXn1SVdltiZDVjpt+2anngjFK1IU5libF\n7TId1b0fiIuQlI822AJE25uO3M4fU9JbrPpDb3N0jQm3K9EUvQ0lfPGtFU0S\n9/RfbwL1qO3ALvl4kLYNsZjattXfrae6ny1FxU3vOH5voQ7rdPxu5l6oMqgY\nbKZbgq1HeQky1jGaUhkYMaTEnbJ15zirIWMPtbuf2d9dwWyLrRC2FHNui79Q\nn4YyV74Gr1WVxiIGCTTThNkVDBhwW/5E7ucviVZp/qY3WMkYKe5mcCKe6hW8\nCY+EdvkLchQTu0juY3tu6/INyTRN/NE673GzUyRdoLiqE4PJ1/RZHBwSab2G\nBI3JBHSNKJNaepV/H+rToiBscWPsZo+gJueEUfgDL2PidHuZ9Va08g4CLswU\n1wil\r\n=zJIb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCu5Y/HfEk8Xpx0tVPwBPqdJFo2KCKgIcWqLKsMwTq1AwIgbsY15UQjpGdgdMF/I/08IrqlG+dUIWhkU8BiS/o7CKs="}]},"_npmUser":{"name":"zhouxiong03","email":"zhouxiongking@163.com"},"directories":{},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"xiaocong.hxc","email":"xiaocong.hxc@alibaba-inc.com"},{"name":"zernmal","email":"zernmal@foxmail.com"},{"name":"zhouxiong03","email":"zhouxiongking@163.com"},{"name":"akirakai","email":"akirakai@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config_4.0.0-alpha.0_1625041872761_0.04350986401793122"},"_hasShrinkwrap":false},"4.0.0-alpha.2":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"4.0.0-alpha.2","license":"ISC","keywords":["nodejs","fie","fie-config"],"scripts":{},"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"readmeFilename":"README.md","dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-intl":"^3.1.4","fie-log":"^3.1.6","fie-report":"^3.1.4","fs-extra":"^1.0.0","tosource":"^1.0.0"},"gitHead":"0d9296cf6b195dfb378611a56175188f48ad86f5","readme":"# fie-config\n\n[![NPM version][npm-image]][npm-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/fie-config.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/fie-config\n[david-image]: https://img.shields.io/david/cnpm/npminstall.svg?style=flat-square\n[david-url]: https://david-dm.org/fieteam/fie-config\n[snyk-image]: https://snyk.io/test/npm/fie-config/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/fie-config\n[download-image]: https://img.shields.io/npm/dm/fie-config.svg?style=flat-square\n[download-url]: https://npmjs.org/package/fie-config\n\n> fie.config.js 文件操作模块, 可以对 fie.config.js 文件进行读写等操作\n\n\n## Installation\n\n```\nnpm install fie-config --save\n```\n\n## API\n\n### get(key, cwd)\n\n> 获取fie配置文件(fie.config.js)的内容,如果不存则返回 null\n\n- key `{string}` 配置的键\n- cwd `{string}` 配置文件所在的路径, 默认为 process.cwd()\n- return: `{mix}` 配置内容\n\n\n```js\n//fie.config.js文件\nmodule.exports = {\n\ttoolkit: 'fie-toolkit-dev',\n\tgo : {\n\t   projectId: 85932,\n\t   assetsId: 21443\n\t}\n};\n```\n\n```js\nconst config = require('fie-config')\n//获取配置文件中go字段的内容\nconfig.get('go');\n// => 返回 { projectId : 85932, assetsId : 21443 }\n\n```\n\n\n\n### set(key, value, cwd)\n\n> 修改fie配置文件内容\n\n- key `{string}` 配置的键\n- value `{mix}` 配置的值,可以为字符串,数字或json对象\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n\n```js\n//原始fie.config.js文件\nmodule.exports = {\n  // abc 插件\n  abc: {\n    xyz: 22\n  },\n  // 任务列表\n  tasks: {\n    start: [{\n      command: 'echo 33'\n    }]\n  }\n};\n\n```\n\n```js\nconst config = require('fie-config')\n//set 设置一个对象\nconfig.set('abc', {xyz: 23});\n\n//set 设置一个带注释的字符串对象\nconfig.set('gg',\n\t\t\t`\n//这是一行注释\n{\n  \"good\" : \"yes\"\n}\n      `);\n\n//set 设置一个带.的字符串\nconfig.set('xx.yy','123');\nconfig.set('tasks.build',[{\n\t\t\tcommand: 'echo 44'\n\t\t}]);\n```\n\n\n```js\n//最终修改输出后的fie.config.js文件\nmodule.exports = {\n    // abc 插件\n    abc: { xyz: 23 },\n    // 任务列表\n    tasks: {\n        start: [{ command: 'echo 33' }],\n        build: [{ command: 'echo 44' }]\n    },\n    gg: //这是一行注释\n    { 'good': 'yes' },\n    xx: { yy: 123 }\n};\n```\n\n### exist(cwd)\n\n> 判断 fie.config.js 文件是否存在\n\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n- return: `{boolean}` 是否存在\n\n### getToolkitName(cwd)\n\n> 获取配置文件里面配置的 toolkit 的名字\n\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n- return: `{string}` toolkit 的名字, 若不存在返回 null\n\n```js\n//fie.config.js文件\nmodule.exports = {\n\ttoolkit: 'fie-toolkit-dev',\n\tgo : {\n\t   projectId: 85932,\n\t   assetsId: 21443\n\t}\n};\n```\n\n```js\nconst config = require('fie-config')\nconst toolkit = config.getToolkitName();\n// =>  toolkit = fie-toolkit-dev\n```\n\n\n## Support\n\n使用过程中遇到的相关问题，及BUG反馈，可联系: hugohua <baofen14787@gmail.com> ，也可直接提[issues](https://github.com/fieteam/fie/issues/new)\n\n## License\n\n[GNU GPLv3](LICENSE)\n","bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@4.0.0-alpha.2","_nodeVersion":"12.19.0","_npmVersion":"lerna/4.0.0/node@v12.19.0+x64 (darwin)","dist":{"integrity":"sha512-aF9OdN5q/gIxjkM8OxnyGaUo4d+4gsNztuIY3YJ81dOVexKEj7oHQK/Q7gbkKsiEPt0UYCD7AmOGhSpxl9txOg==","shasum":"98a755d9206fba30815c6f5090d05e6e1a092542","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-4.0.0-alpha.2.tgz","fileCount":6,"unpackedSize":46015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg//qPCRA9TVsSAnZWagAA26sP/0tkALpnsQu6akOP7z/V\nfGaGtE7iX4mnJbyEaSB2RAVon56VQxAHWALo8b3nRGBXF8NnVvSf40VXBkV7\n8FlHBGGjHwJF8NJl8AMFvqdZOFHGQHCirwy4hGQxcjnQZXvUZMYb62o5uOU4\nD5OH3zKFaUwSdTD+MJHBfL758e9cmhhQ/bwCQL4p9RDD4rt9phVESEs4Z9JR\nG7wbdWRkhO/pdPGdIbQwewbH1Bl6XDz44D0BkbjWq+tWyBy/CdCqvEDD0aty\nfgPGXpswAeAUVQdvPGEm8joff4g1x+e4JudhSmwDcrKt+753jqO8y7jv3Dqi\nNi6tWNt7KFwoLPm1Are/eD7cSdmDhldWqNgjU5/bzS4FruwL0u5t1c3pwqL0\nO/dYm1nN8AGdaNAYFKW0m9Ao3MB25qnAIQdgB9HSCjReTQPKfr2NJMGMu4Tr\nCs4YILndPWwQrME1GLLP7DnB337B+tz2kyjJVzklm9rVgAG9ZnRNO5R2j6UJ\nnAIUpZTU9mVTlif0poS9MH1fm4XhupUudCb89o8euvSCdIjmZ908HjMAjj+o\nf5x2g5eGIb+lk6iE+Ziu27vu2lQWvPAEsTets2O4gS/nQ7oEYF+1xB8PrlMT\n5qvkOCKTIWc2ay9eGv9KKN/EfzA8frSP1qBzezhZk2DylQch1xCfzdgZUiq0\nG4NS\r\n=b0Dr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBdBhcvtV3zBD6XSvA/TkVc3fqNCVcdZZxHPJSan8z9WAiEAmk1kFi622ljKT5qRkmsm1cOD9WqJgRBtOPSbzt/Upww="}]},"_npmUser":{"name":"zhouxiong03","email":"zhouxiongking@163.com"},"directories":{},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"xiaocong.hxc","email":"xiaocong.hxc@alibaba-inc.com"},{"name":"zernmal","email":"zernmal@foxmail.com"},{"name":"zhouxiong03","email":"zhouxiongking@163.com"},{"name":"akirakai","email":"akirakai@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config_4.0.0-alpha.2_1627388559531_0.31469757810953936"},"_hasShrinkwrap":false},"4.0.0":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"4.0.0","license":"ISC","keywords":["nodejs","fie","fie-config"],"scripts":{},"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-intl":"^3.1.4","fie-log":"^3.1.7","fie-report":"^3.1.4","fs-extra":"^1.0.0","tosource":"^1.0.0"},"gitHead":"ad01f2fbb2bdbf06854933b807d1b9463b05dfd2","bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@4.0.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/4.0.0/node@v14.16.0+x64 (darwin)","dist":{"integrity":"sha512-8jKTy15tVp3BL0TMXZQMNBr1FbmQdpHWT1NAQbjSjGYLZc5fu+UZtc+plN5L/msu4XNypav+eJ2IoB2lWnAa+Q==","shasum":"66fbcc8b9bcf8830d4a68ac25c367f9c629f40ae","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-4.0.0.tgz","fileCount":6,"unpackedSize":46007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOcdMCRA9TVsSAnZWagAAoacQAJxYvsE/EfTHQb6Qykdd\ncXheDtEIsNRaBCw2BqeKS4yU8sb5d6XIzs3widw5GkLjNTpeD8TqzEYvPGhG\n1jq27s104tbCzLSEuJW7NyzBXCJ0ML9I9eqWiHFL6yDVBr4HrB8Rfc2AicMI\nE1Tk+ndG0buc8sk9YYUx58RRkBS+I/uIkRUxR2PuIEzJF6kw5EFVghROfkCT\nqxOh42OwhcyuLPHI98RyrUjA/GLEo5vlLonsdn/HXSYX6pw8XWD+mUa93guK\nkmT2YfpxxbArH96930H62EdV7L5QB03JpKUepeFStfeleoPq8LGGtRHAXOlA\nk53PJoYwCUYTPhYZNb/sxsMdnAC+ks3IaLdo8EXq1cr8AZnuDXd27iUpILwk\nwyvQFWPXaiVBkiylHuPLrzg5DgGJoX8flk69ttTXr0WfjBQUHnkzi2BRM+Yw\nuzdbWBFIDdtXwQGqgHr8ENn65a3Ech6AVEx0quh36TQ1AgT8q/HvP/PtnGSk\naA7AaJegOU8V+KOTDFfsxb1+hsvmTEL0bWhinBk5+DKev+z4QO/n1TvfZMFs\nU/pe2fqCwm1Ky2Wpwj0dFKo8HURofcXt5i0GTSQ9vitRLTHmQn9825Xk21wH\nTumB4buTh1rI/M7MH6EYnLs1IjpyVj5auj9+66Q7xM+53N22/UnB+KLA8fKJ\nE968\r\n=1I/T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCn2KgZgVW9qPVoj7j6FBXORbgfn5fyoUVrsw5pyZ+vswIgYSS2ZV6o1LkdC0JMh4y4s+YQBvaxrmSzAtSUkrcxtrs="}]},"_npmUser":{"name":"zhouxiong03","email":"zhouxiongking@163.com"},"directories":{},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"xiaocong.hxc","email":"xiaocong.hxc@alibaba-inc.com"},{"name":"zernmal","email":"zernmal@foxmail.com"},{"name":"zhouxiong03","email":"zhouxiongking@163.com"},{"name":"akirakai","email":"akirakai@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config_4.0.0_1631176524323_0.5379600587235429"},"_hasShrinkwrap":false},"4.0.1-alpha.0":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"4.0.1-alpha.0","license":"ISC","keywords":["nodejs","fie","fie-config"],"scripts":{},"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"readmeFilename":"README.md","dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-intl":"^3.1.4","fie-log":"^3.1.7","fie-report":"^3.1.4","fs-extra":"^1.0.0","tosource":"^1.0.0"},"gitHead":"ac12fe477dfd8b146ad481440a573addb7e617b7","readme":"# fie-config\n\n[![NPM version][npm-image]][npm-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/fie-config.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/fie-config\n[david-image]: https://img.shields.io/david/cnpm/npminstall.svg?style=flat-square\n[david-url]: https://david-dm.org/fieteam/fie-config\n[snyk-image]: https://snyk.io/test/npm/fie-config/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/fie-config\n[download-image]: https://img.shields.io/npm/dm/fie-config.svg?style=flat-square\n[download-url]: https://npmjs.org/package/fie-config\n\n> fie.config.js 文件操作模块, 可以对 fie.config.js 文件进行读写等操作\n\n\n## Installation\n\n```\nnpm install fie-config --save\n```\n\n## API\n\n### get(key, cwd)\n\n> 获取fie配置文件(fie.config.js)的内容,如果不存则返回 null\n\n- key `{string}` 配置的键\n- cwd `{string}` 配置文件所在的路径, 默认为 process.cwd()\n- return: `{mix}` 配置内容\n\n\n```js\n//fie.config.js文件\nmodule.exports = {\n\ttoolkit: 'fie-toolkit-dev',\n\tgo : {\n\t   projectId: 85932,\n\t   assetsId: 21443\n\t}\n};\n```\n\n```js\nconst config = require('fie-config')\n//获取配置文件中go字段的内容\nconfig.get('go');\n// => 返回 { projectId : 85932, assetsId : 21443 }\n\n```\n\n\n\n### set(key, value, cwd)\n\n> 修改fie配置文件内容\n\n- key `{string}` 配置的键\n- value `{mix}` 配置的值,可以为字符串,数字或json对象\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n\n```js\n//原始fie.config.js文件\nmodule.exports = {\n  // abc 插件\n  abc: {\n    xyz: 22\n  },\n  // 任务列表\n  tasks: {\n    start: [{\n      command: 'echo 33'\n    }]\n  }\n};\n\n```\n\n```js\nconst config = require('fie-config')\n//set 设置一个对象\nconfig.set('abc', {xyz: 23});\n\n//set 设置一个带注释的字符串对象\nconfig.set('gg',\n\t\t\t`\n//这是一行注释\n{\n  \"good\" : \"yes\"\n}\n      `);\n\n//set 设置一个带.的字符串\nconfig.set('xx.yy','123');\nconfig.set('tasks.build',[{\n\t\t\tcommand: 'echo 44'\n\t\t}]);\n```\n\n\n```js\n//最终修改输出后的fie.config.js文件\nmodule.exports = {\n    // abc 插件\n    abc: { xyz: 23 },\n    // 任务列表\n    tasks: {\n        start: [{ command: 'echo 33' }],\n        build: [{ command: 'echo 44' }]\n    },\n    gg: //这是一行注释\n    { 'good': 'yes' },\n    xx: { yy: 123 }\n};\n```\n\n### exist(cwd)\n\n> 判断 fie.config.js 文件是否存在\n\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n- return: `{boolean}` 是否存在\n\n### getToolkitName(cwd)\n\n> 获取配置文件里面配置的 toolkit 的名字\n\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n- return: `{string}` toolkit 的名字, 若不存在返回 null\n\n```js\n//fie.config.js文件\nmodule.exports = {\n\ttoolkit: 'fie-toolkit-dev',\n\tgo : {\n\t   projectId: 85932,\n\t   assetsId: 21443\n\t}\n};\n```\n\n```js\nconst config = require('fie-config')\nconst toolkit = config.getToolkitName();\n// =>  toolkit = fie-toolkit-dev\n```\n\n\n## Support\n\n使用过程中遇到的相关问题，及BUG反馈，可联系: hugohua <baofen14787@gmail.com> ，也可直接提[issues](https://github.com/fieteam/fie/issues/new)\n\n## License\n\n[GNU GPLv3](LICENSE)\n","bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@4.0.1-alpha.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/4.0.0/node@v14.16.0+x64 (darwin)","dist":{"integrity":"sha512-N8Qxr/vldBji2mHHfpTuKHbCkfdhIKgqJrmje+7k9NOtsoiQHq53/Jv/n0eL6m2x/gRo5RvajEvyuKQS5AEoIQ==","shasum":"ce09f5423fc2c463b8e23d59c57e4248f93d9012","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-4.0.1-alpha.0.tgz","fileCount":6,"unpackedSize":46015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOvZzCRA9TVsSAnZWagAAe/kP/3enOvmOy1xTFB8FxADs\nW1K1sxHy0ksWqPIiXc1uCfFG5BqYL0VqKcbRisKuZcA9CL73+xt7vQKV/gnv\nz+2zKIcBJMt/kiELbD55NtSrOruu+GZhqyoNKxBaE4GAlvkLxDHA77wfWRif\nDwfpIxu67EazuP49eP5Sx311dwOerE1TMvc53BYzjYVrVgd37zD/NpYW3kOq\n+AoK9VQmtET8iVGOc124XXxVEyXvvBiqCoyu2LpNYuWY9mFTwzDATmiQHfQU\nl7VHHBBW0NzourIcTbN7eZf1NKVH9qhLShmjwWBT4uWRtBg+T94ReGgd4R9a\nnzFDqUhBIyj3HajRFV1yA1X3/Oo//bKO0dmF2eBSyNEZLpPK6L2OPiOcps36\naOkc5fW2HabxSY7kCp87p6fRLpBQ2IF0y9LErN6FFFgLs2dIo1VPX0GXEue0\nc7f7QgwYFe+IIRy4t32lNf+KVtx5v8ZjY/xhDDpsFi+LV/2eIslTv558kqiX\nqt1Bof81EfROny1g9NZefZZmfi9HrqGHx3kigY6Y3bbWYMALMLmQeIKQlbMm\ncStcmLRBFKD6eFyOqRrlMDbq9wMiTDNUuip2i8xa93fAx9Fna+Ibqft4uQmQ\nrPtjhOOCpsL0NWhmU7J/IgXU1EisOqeekT4+iOm1JtfxslNsLD/fjf8TCdi8\nxk6z\r\n=dFxP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzQOjPRt7HxZ/m9pYRIjqXVTGCzEeNQhK6miHGVMMpJAIhAOVrxEjNujBkrOGIekC0s0iQHy6ONzn9I2XeyVZRDhzt"}]},"_npmUser":{"name":"zhouxiong03","email":"zhouxiongking@163.com"},"directories":{},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"xiaocong.hxc","email":"xiaocong.hxc@alibaba-inc.com"},{"name":"zernmal","email":"zernmal@foxmail.com"},{"name":"zhouxiong03","email":"zhouxiongking@163.com"},{"name":"akirakai","email":"akirakai@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config_4.0.1-alpha.0_1631254130936_0.06942819175042292"},"_hasShrinkwrap":false},"4.0.1-alpha.1":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"4.0.1-alpha.1","license":"ISC","keywords":["nodejs","fie","fie-config"],"scripts":{},"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"readmeFilename":"README.md","dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-intl":"^3.1.4","fie-log":"^3.1.7","fie-report":"^3.1.4","fs-extra":"^1.0.0","tosource":"^1.0.0"},"gitHead":"a5c2ac7f3e530f6a0e5cd1929ff9b9c98b314f3b","readme":"# fie-config\n\n[![NPM version][npm-image]][npm-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/fie-config.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/fie-config\n[david-image]: https://img.shields.io/david/cnpm/npminstall.svg?style=flat-square\n[david-url]: https://david-dm.org/fieteam/fie-config\n[snyk-image]: https://snyk.io/test/npm/fie-config/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/fie-config\n[download-image]: https://img.shields.io/npm/dm/fie-config.svg?style=flat-square\n[download-url]: https://npmjs.org/package/fie-config\n\n> fie.config.js 文件操作模块, 可以对 fie.config.js 文件进行读写等操作\n\n\n## Installation\n\n```\nnpm install fie-config --save\n```\n\n## API\n\n### get(key, cwd)\n\n> 获取fie配置文件(fie.config.js)的内容,如果不存则返回 null\n\n- key `{string}` 配置的键\n- cwd `{string}` 配置文件所在的路径, 默认为 process.cwd()\n- return: `{mix}` 配置内容\n\n\n```js\n//fie.config.js文件\nmodule.exports = {\n\ttoolkit: 'fie-toolkit-dev',\n\tgo : {\n\t   projectId: 85932,\n\t   assetsId: 21443\n\t}\n};\n```\n\n```js\nconst config = require('fie-config')\n//获取配置文件中go字段的内容\nconfig.get('go');\n// => 返回 { projectId : 85932, assetsId : 21443 }\n\n```\n\n\n\n### set(key, value, cwd)\n\n> 修改fie配置文件内容\n\n- key `{string}` 配置的键\n- value `{mix}` 配置的值,可以为字符串,数字或json对象\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n\n```js\n//原始fie.config.js文件\nmodule.exports = {\n  // abc 插件\n  abc: {\n    xyz: 22\n  },\n  // 任务列表\n  tasks: {\n    start: [{\n      command: 'echo 33'\n    }]\n  }\n};\n\n```\n\n```js\nconst config = require('fie-config')\n//set 设置一个对象\nconfig.set('abc', {xyz: 23});\n\n//set 设置一个带注释的字符串对象\nconfig.set('gg',\n\t\t\t`\n//这是一行注释\n{\n  \"good\" : \"yes\"\n}\n      `);\n\n//set 设置一个带.的字符串\nconfig.set('xx.yy','123');\nconfig.set('tasks.build',[{\n\t\t\tcommand: 'echo 44'\n\t\t}]);\n```\n\n\n```js\n//最终修改输出后的fie.config.js文件\nmodule.exports = {\n    // abc 插件\n    abc: { xyz: 23 },\n    // 任务列表\n    tasks: {\n        start: [{ command: 'echo 33' }],\n        build: [{ command: 'echo 44' }]\n    },\n    gg: //这是一行注释\n    { 'good': 'yes' },\n    xx: { yy: 123 }\n};\n```\n\n### exist(cwd)\n\n> 判断 fie.config.js 文件是否存在\n\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n- return: `{boolean}` 是否存在\n\n### getToolkitName(cwd)\n\n> 获取配置文件里面配置的 toolkit 的名字\n\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n- return: `{string}` toolkit 的名字, 若不存在返回 null\n\n```js\n//fie.config.js文件\nmodule.exports = {\n\ttoolkit: 'fie-toolkit-dev',\n\tgo : {\n\t   projectId: 85932,\n\t   assetsId: 21443\n\t}\n};\n```\n\n```js\nconst config = require('fie-config')\nconst toolkit = config.getToolkitName();\n// =>  toolkit = fie-toolkit-dev\n```\n\n\n## Support\n\n使用过程中遇到的相关问题，及BUG反馈，可联系: hugohua <baofen14787@gmail.com> ，也可直接提[issues](https://github.com/fieteam/fie/issues/new)\n\n## License\n\n[GNU GPLv3](LICENSE)\n","bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@4.0.1-alpha.1","_nodeVersion":"14.16.0","_npmVersion":"lerna/4.0.0/node@v14.16.0+x64 (darwin)","dist":{"integrity":"sha512-yNqd3tHTp1msNneW1OOD/Yl9xGFdGQnfu2GPPUuyOUuOmzNk0PTuDE2sHI0tW8eiaO7yycZLRoAK9wyWTNgUsQ==","shasum":"043830d33795250c81649ab685019db8ed0e0aa8","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-4.0.1-alpha.1.tgz","fileCount":6,"unpackedSize":46015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOvmbCRA9TVsSAnZWagAAHKUP/RnQhEliq6a0KWBOTXMr\nxWpMrMpHsG+W1RWHQrYNDRiOcEKdiRjJhzk8R9hzrv9c03JYwsjiN5V9sifg\n2U816ZYQRkmsNpzRpYNkU+k2RTdxe26U2W5K2+9gB+7UiYYSCX4HmmyGq84q\ncwFBPdH7gAPrKx+6/fhv11VD35sX5+j6ZVhQpdGJn7AnixaySS5w28gzBd5W\nvpcgP5c0O968oqPNPXEiLDHtvUfYju1zZMyCp17f7sRljYBqSsgmU6U0h6YR\nvbZYqte0RF0NsD051z+v1KDvp25D+csgO6VhEc/o1w6BczikEslFOzGOhcep\n0AXY6KrGm0LZXh4a+OHAfvW27VDzXQJWuj54C6qauV/hkwPVQ/vPIkFANpoj\nuYm7nt+37V45lt5N05tC3QBG0sxiKDZJe8fFlYeD8mIcEp3qlDw6Ta1AhgJE\n9xpQTwyleNvlYOw7Ubbd9gspsKXICg07Kx41mUxSwIQ1z+WzETGvjYhn2eld\nMgYG/5YpDKUYJljayjKBz1cVLrFODpi/QCpNX2FBXtQR9UlEm+oXT69dTJAC\nnBNGDRfvH/6ZCoc+Wk+fl3zR2sNPY7eSzlDszs3r3PFV8Lpopz2YsEytrmLu\nF2N2KBD9upSkGumrgaM+EUqM0W/lbvAnq7TBaYlgXyfrTwznQENauvF2T518\nAN1S\r\n=3u3P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHlIzdqQBV9VFhngNTEE3PbUnpPewqw8aDUplXYks7eHAiEAiu5gNkVX1XF1AAfVeXTchcrYM50xXAVB87n3IK46IxQ="}]},"_npmUser":{"name":"zhouxiong03","email":"zhouxiongking@163.com"},"directories":{},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"xiaocong.hxc","email":"xiaocong.hxc@alibaba-inc.com"},{"name":"zernmal","email":"zernmal@foxmail.com"},{"name":"zhouxiong03","email":"zhouxiongking@163.com"},{"name":"akirakai","email":"akirakai@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config_4.0.1-alpha.1_1631254939661_0.6431321508516257"},"_hasShrinkwrap":false},"4.0.1":{"name":"fie-config","main":"lib/index.js","description":"fie.config.js文件操作","version":"4.0.1","license":"ISC","keywords":["nodejs","fie","fie-config"],"scripts":{},"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"dependencies":{"escodegen":"^1.8.1","esprima":"^3.1.1","esquery":"^0.4.0","fie-intl":"^3.1.4","fie-log":"^3.1.7","fie-report":"^3.1.4","fs-extra":"^1.0.0","tosource":"^1.0.0"},"gitHead":"704c3d6cc16e2298429f1a362a687505e734af40","bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-config@4.0.1","_nodeVersion":"14.16.0","_npmVersion":"lerna/4.0.0/node@v14.16.0+x64 (darwin)","dist":{"integrity":"sha512-UQD3izaU6IquBl3+dflEXLePCF6nO+9faTWGidKcU+IwqE4gZuw+XE34ARjrqRy4ykzRp42GtxrtUEtxjggacA==","shasum":"21b697c8ced7d41318dc497cfb6d6efa2551def8","tarball":"https://registry.npmjs.org/fie-config/-/fie-config-4.0.1.tgz","fileCount":6,"unpackedSize":46007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOvuoCRA9TVsSAnZWagAAzD0P/1n9RAv3QxkrCPWvQOQ2\nArnz9SM1zqkvz0vDDY9d06piS8J36caChFA6mBgzQ4AhA/G1PypIFXIN5Nj/\nUh9D/mNwju48HHSA2qmMbVlzYGrsj+tnvXOPf8G1DPM/97t4JH0kGnOT753U\nfuZBMfQND/HJFZ+V8N7vM7sBtnA8pF0hj+KhInhQatclOZ4h9x9+zTm9EjFo\nKIXhmn/lClkBhEf/dWePLJ8WKbCrIch+wy3/FEmJRNWBDLTCVk8BhzWans4q\n/Bb1cdXwRAPY+LZ+TXW5sPhaPIKM7oaSLv8C2MzHG11S6r5+cqYTuG9HmCPR\nBT6XIH1ap5+L0KexM5xYKxmK6uZCyCAerqAEb3sSdXyPHh1QLvqVk0Sew8HO\nE7iVCZfespIFYMm3ARrCxRUTqNH03CaSdeMt+tX4FeOKOCEPeTg5CMF8cXNm\nR8rfP2y048Td929SWoEPqeztlJshaYvXi3Bhi6H/lZNHRaW+zLZ/GaopXWDV\nj9BXA8PfAynTpFAf3NmVwum8iBmUh6meK+BVok0vU9E64XepIkWVjUWV5xkK\nMPL6xwBvXKcEGfvvs00gQL7a/iYDNung9+iFMJM15LgL4RCdA4l63FCtdJqh\nvRRpLHtrpasvJpYlplp81yM1dWNcCDhY1gcSN3ulNgccEeWEfDJMuJ6rxUX0\n18hy\r\n=TMF1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFuSm5t/QwFj2b1xliiCiYm88nrGt5k9DXqUgMtdmzxwAiBf++yx/WSjldp5xbKsFq//Hr+Dtn20+/79oAcHzVBebw=="}]},"_npmUser":{"name":"zhouxiong03","email":"zhouxiongking@163.com"},"directories":{},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"},{"name":"xiaocong.hxc","email":"xiaocong.hxc@alibaba-inc.com"},{"name":"zernmal","email":"zernmal@foxmail.com"},{"name":"zhouxiong03","email":"zhouxiongking@163.com"},{"name":"akirakai","email":"akirakai@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-config_4.0.1_1631255464359_0.3497953714877595"},"_hasShrinkwrap":false}},"readme":"# fie-config\n\n[![NPM version][npm-image]][npm-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/fie-config.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/fie-config\n[david-image]: https://img.shields.io/david/cnpm/npminstall.svg?style=flat-square\n[david-url]: https://david-dm.org/fieteam/fie-config\n[snyk-image]: https://snyk.io/test/npm/fie-config/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/fie-config\n[download-image]: https://img.shields.io/npm/dm/fie-config.svg?style=flat-square\n[download-url]: https://npmjs.org/package/fie-config\n\n> fie.config.js 文件操作模块, 可以对 fie.config.js 文件进行读写等操作\n\n\n## Installation\n\n```\nnpm install fie-config --save\n```\n\n## API\n\n### get(key, cwd)\n\n> 获取fie配置文件(fie.config.js)的内容,如果不存则返回 null\n\n- key `{string}` 配置的键\n- cwd `{string}` 配置文件所在的路径, 默认为 process.cwd()\n- return: `{mix}` 配置内容\n\n\n```js\n//fie.config.js文件\nmodule.exports = {\n\ttoolkit: 'fie-toolkit-dev',\n\tgo : {\n\t   projectId: 85932,\n\t   assetsId: 21443\n\t}\n};\n```\n\n```js\nconst config = require('fie-config')\n//获取配置文件中go字段的内容\nconfig.get('go');\n// => 返回 { projectId : 85932, assetsId : 21443 }\n\n```\n\n\n\n### set(key, value, cwd)\n\n> 修改fie配置文件内容\n\n- key `{string}` 配置的键\n- value `{mix}` 配置的值,可以为字符串,数字或json对象\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n\n```js\n//原始fie.config.js文件\nmodule.exports = {\n  // abc 插件\n  abc: {\n    xyz: 22\n  },\n  // 任务列表\n  tasks: {\n    start: [{\n      command: 'echo 33'\n    }]\n  }\n};\n\n```\n\n```js\nconst config = require('fie-config')\n//set 设置一个对象\nconfig.set('abc', {xyz: 23});\n\n//set 设置一个带注释的字符串对象\nconfig.set('gg',\n\t\t\t`\n//这是一行注释\n{\n  \"good\" : \"yes\"\n}\n      `);\n\n//set 设置一个带.的字符串\nconfig.set('xx.yy','123');\nconfig.set('tasks.build',[{\n\t\t\tcommand: 'echo 44'\n\t\t}]);\n```\n\n\n```js\n//最终修改输出后的fie.config.js文件\nmodule.exports = {\n    // abc 插件\n    abc: { xyz: 23 },\n    // 任务列表\n    tasks: {\n        start: [{ command: 'echo 33' }],\n        build: [{ command: 'echo 44' }]\n    },\n    gg: //这是一行注释\n    { 'good': 'yes' },\n    xx: { yy: 123 }\n};\n```\n\n### exist(cwd)\n\n> 判断 fie.config.js 文件是否存在\n\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n- return: `{boolean}` 是否存在\n\n### getToolkitName(cwd)\n\n> 获取配置文件里面配置的 toolkit 的名字\n\n- cwd `{string}` 配置文件所在的路径,默认为 process.cwd()\n- return: `{string}` toolkit 的名字, 若不存在返回 null\n\n```js\n//fie.config.js文件\nmodule.exports = {\n\ttoolkit: 'fie-toolkit-dev',\n\tgo : {\n\t   projectId: 85932,\n\t   assetsId: 21443\n\t}\n};\n```\n\n```js\nconst config = require('fie-config')\nconst toolkit = config.getToolkitName();\n// =>  toolkit = fie-toolkit-dev\n```\n\n\n## Support\n\n使用过程中遇到的相关问题，及BUG反馈，可联系: hugohua <baofen14787@gmail.com> ，也可直接提[issues](https://github.com/fieteam/fie/issues/new)\n\n## License\n\n[GNU GPLv3](LICENSE)\n","maintainers":[{"email":"baofen14787@gmail.com","name":"hugohua"},{"email":"xiaocong.hxc@alibaba-inc.com","name":"xiaocong.hxc"},{"email":"zernmal@foxmail.com","name":"zernmal"},{"email":"zhouxiongking@163.com","name":"zhouxiong03"},{"email":"akirakai@163.com","name":"akirakai"},{"email":"muscle.mark.cheng@gmail.com","name":"mark-ck"},{"email":"690051834@qq.com","name":"channing_hyl"}],"time":{"modified":"2022-10-18T06:48:42.506Z","created":"2016-11-22T12:27:10.963Z","1.1.0":"2016-11-22T12:27:10.963Z","1.2.1":"2016-11-29T09:52:29.553Z","1.3.0":"2016-11-29T10:00:35.923Z","1.3.1":"2016-11-29T12:00:17.844Z","1.3.3":"2016-12-17T08:04:48.045Z","1.3.5":"2017-02-16T09:57:35.061Z","2.7.4":"2017-05-23T05:40:58.938Z","2.7.6":"2017-06-15T07:10:32.226Z","2.7.7":"2017-08-03T02:30:04.654Z","2.7.8":"2017-08-17T14:52:56.388Z","2.7.9":"2017-10-08T07:03:09.941Z","2.7.10":"2017-10-08T07:14:51.419Z","3.0.0":"2017-10-08T13:17:42.771Z","3.0.1":"2017-10-08T13:49:18.806Z","3.0.2":"2017-10-09T07:14:32.834Z","3.0.4":"2017-10-10T13:53:24.864Z","3.0.5":"2017-10-19T14:49:49.415Z","3.1.0":"2017-10-24T03:09:27.069Z","3.1.2":"2018-01-26T15:14:25.822Z","3.1.3-0":"2018-06-06T07:29:24.009Z","3.1.3":"2018-10-22T08:07:21.990Z","3.1.4":"2018-12-03T13:33:17.363Z","3.1.5":"2019-08-06T06:19:37.979Z","3.1.7":"2019-08-07T05:10:31.079Z","3.1.8-alpha.0":"2019-08-14T14:55:23.253Z","3.1.8-alpha.1":"2019-09-05T06:54:56.701Z","4.0.0-alpha.0":"2021-06-30T08:31:12.864Z","4.0.0-alpha.2":"2021-07-27T12:22:39.696Z","4.0.0":"2021-09-09T08:35:24.508Z","4.0.1-alpha.0":"2021-09-10T06:08:51.086Z","4.0.1-alpha.1":"2021-09-10T06:22:19.789Z","4.0.1":"2021-09-10T06:31:04.543Z"},"keywords":["nodejs","fie","fie-config"],"readmeFilename":"README.md","homepage":"https://github.com/fieteam/fie#readme","repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"license":"ISC"}