{"_id":"gulp-ng-config","_rev":"47-35334ea096892847fe9115862ce7352d","name":"gulp-ng-config","description":"AngularJS configuration generator for a module of constants","dist-tags":{"latest":"1.5.1"},"versions":{"0.0.1":{"name":"gulp-ng-config","version":"0.0.1","description":"It's often useful to generate a file of constants, usually as environment variables, for your Angular apps. This Gulp plugin will allow you to provide an object of properties and will generate an Angular module of constants.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"ISC","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"lodash":"^2.4.1","stream-combiner":"^0.2.1","through2":"^0.6.1"},"devDependencies":{"gulp":"^3.8.7"},"gitHead":"90f1b4f24e9d8faeb5ff8797818873eeb9ab5002","_id":"gulp-ng-config@0.0.1","_shasum":"de0bb8ef934dc88973fa7b3847a54af15b2ce6a0","_from":"./","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"de0bb8ef934dc88973fa7b3847a54af15b2ce6a0","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-0.0.1.tgz","integrity":"sha512-zbeXhrXGwqUj9JGguw4N7a4+mppkNo4MzEWvsdQ/eTcJKHoAw3e8QkSfX2B1OzcqeDYL0aeLKQ/ZJvAPOQYsYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiCRmm+vz+1WMrFmveLwbGlyyPTAcEzEpzuPo6GD+rlwIgMblYU8OKp4T33eUJCWvbSVefpFvvWkvbEc782lQd60s="}]},"directories":{}},"0.1.0":{"name":"gulp-ng-config","version":"0.1.0","description":"It's often useful to generate a file of constants, usually as environment variables, for your Angular apps. This Gulp plugin will allow you to provide an object of properties and will generate an Angular module of constants.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"ISC","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"lodash":"^2.4.1","stream-combiner":"^0.2.1","through2":"^0.6.1"},"devDependencies":{"gulp":"^3.8.7"},"gitHead":"f700813a2149ef884ce8e353ad1623c5cbf57738","_id":"gulp-ng-config@0.1.0","_shasum":"9652a1d4b8e8afe378b8b3acc19c72c7ff906a86","_from":"./","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"9652a1d4b8e8afe378b8b3acc19c72c7ff906a86","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-0.1.0.tgz","integrity":"sha512-CMO2PIHUmLfIry3H380uOyNRBO2qQODRz0CTqhuDMerpiqmI7bfjuSn5nSbx2AzhPd1qnTHfjIj123tsdQvqRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfgTW+v+fJVLvvvYwmPm97Y+7Zplmq1+PZsaMJBkHMawIhAOmbv1e3pi9Iw0fG7k49PntPEW15D6bK3UUlNo/7RVJs"}]},"directories":{}},"0.1.1":{"name":"gulp-ng-config","version":"0.1.1","description":"It's often useful to generate a file of constants, usually as environment variables, for your Angular apps. This Gulp plugin will allow you to provide an object of properties and will generate an Angular module of constants.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"ISC","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^2.4.1","stream-combiner":"^0.2.1","through2":"^0.6.1"},"devDependencies":{"gulp":"^3.8.7"},"gitHead":"7700f1176f77ea8f84ade0ebb7081ac2b5ef1d57","_id":"gulp-ng-config@0.1.1","_shasum":"968184483d031a8af0c955a3587a899e78b4365c","_from":"./","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"968184483d031a8af0c955a3587a899e78b4365c","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-0.1.1.tgz","integrity":"sha512-KYYoRsOcqgr9zY54XzyHvqJCyEmDnxDEFyjILmvbQigreNQasvvHnMLNYWPcTHiC5xvsubJttLzct/POrAjd/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHFrfU46fLZVbn0zXISk8BCl5SeLLrBl9zfS9ML0OTpaAiBdP0K4fNlIvRIiJ9rMQ1Y7AbAi3sxQ+Iu/0TIwE6XX0g=="}]},"directories":{}},"0.1.2":{"name":"gulp-ng-config","version":"0.1.2","description":"It's often useful to generate a file of constants, usually as environment variables, for your Angular apps. This Gulp plugin will allow you to provide an object of properties and will generate an Angular module of constants.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"ISC","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^2.4.1","stream-combiner":"^0.2.1","through2":"^0.6.1"},"devDependencies":{"gulp":"^3.8.7"},"gitHead":"93154f5674cc34ea8268911d0954da224590b4e6","_id":"gulp-ng-config@0.1.2","_shasum":"607b57f4b03540bd6e3bcccfce7b41eb69457b4f","_from":"./","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"607b57f4b03540bd6e3bcccfce7b41eb69457b4f","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-0.1.2.tgz","integrity":"sha512-32v34lRqlWkpwonVskcBCiOGJzkdXl/SxHMOqMU7EvYBwwjc8Ly6dGD1ldDcpoxTqUvUx/n//+Yp8Kze7zTHKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDq14gJwg4XbFEPTdNe9Qc2faImI85tOgJDZEdOIAUq7QIhAPsTzZaBRtmBnGOZ3Dq8v/Zi6XHio6N9bcE6Phm/S4GF"}]},"directories":{}},"0.1.3":{"name":"gulp-ng-config","version":"0.1.3","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"ISC","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^2.4.1","stream-combiner":"^0.2.1","through2":"^0.6.1"},"devDependencies":{"gulp":"^3.8.7"},"gitHead":"5d753017521adc48247951e7cbc351eab2c15113","_id":"gulp-ng-config@0.1.3","_shasum":"c75e2cd391ff28777e047732b3ef1019b9f257a7","_from":"./","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"c75e2cd391ff28777e047732b3ef1019b9f257a7","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-0.1.3.tgz","integrity":"sha512-K8UajPGaNBRR2zwAG+CXRLktvWfNOXbfZaOZrAU4i+5nvur6bew4c7c8zDekb5XJIjkm5t/+t8JDz3A//f/Weg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGYVMDp388GJXlgSZ75rjszNMaI0FrVz9tFF4iuHbT0bAiEA3LkQknDxWxp/UVapIC2DucFywwEsF3LoS0nlIBqdIwA="}]},"directories":{}},"0.1.4":{"name":"gulp-ng-config","version":"0.1.4","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"ISC","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^2.4.1","stream-combiner":"^0.2.1","through2":"^0.6.1"},"devDependencies":{"gulp":"^3.8.7"},"gitHead":"fb81fa993ca1ec9fba56491309f20a024d4acfad","_id":"gulp-ng-config@0.1.4","_shasum":"0dc30f8d02a638756d25fe1e8280237d95ef1a83","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"0dc30f8d02a638756d25fe1e8280237d95ef1a83","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-0.1.4.tgz","integrity":"sha512-995EfueilT89BDUHNZRxcTYWsTGcpaszkkXqLXECzF1WlhvR4Uu56p4+I2sWAvPr7E8R0SxHa3KBhuj1fP5bEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFKmyeuDSyUfX5SAZoQIrQPKbrry9QkQN6PE9NEwC3TcAiA5pk2/T/SPRibaQOwtv1pUN88UHOjJNzJVBjleXMCQIg=="}]},"directories":{}},"0.1.5":{"name":"gulp-ng-config","version":"0.1.5","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["gulp","grunt","config","angular","ng","gulpfriendly","gulpplugin"],"repository":{"type":"git","url":"https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"ISC","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^2.4.1","stream-combiner":"^0.2.1","through2":"^0.6.1"},"devDependencies":{"gulp":"^3.8.7"},"gitHead":"8264dc7420b010516d13239b429266a718c501b6","_id":"gulp-ng-config@0.1.5","_shasum":"81d8aedb8a0e7151c2929176ad3546d0b944282b","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"81d8aedb8a0e7151c2929176ad3546d0b944282b","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-0.1.5.tgz","integrity":"sha512-G1SdScWdgDDy1srx0J1uXZJdCKGyf62N/zJsBFetdqeHN16jAYb/Z4wXNko0OrdZJveWWs7UMXeZIrTbGfQOaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBkRO5ouMr0bu8hH4Rphjc08F8DBEIjNZqw52NLiQNS5AiBJY6Kl+fqlDZisVUtlhhqk/Fnc7sjmQGScDBO0DXJE/g=="}]},"directories":{}},"0.1.6":{"name":"gulp-ng-config","version":"0.1.6","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"gulp test"},"keywords":["gulp","grunt","config","angular","ng","gulpfriendly","gulpplugin"],"repository":{"type":"git","url":"https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"MIT","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^2.4.1","through2":"^1.1.1"},"devDependencies":{"chai":"^1.9.1","event-stream":"^3.1.7","gulp":"^3.8.7","gulp-jscs":"^1.1.2","gulp-jshint":"^1.8.4","gulp-mocha":"^1.1.0","jshint-stylish":"^0.4.0","mocha":"^1.21.4","vinyl":"^0.4.3"},"gitHead":"beb84444e9d517c222e93f093e5cd27dd7c8fda2","_id":"gulp-ng-config@0.1.6","_shasum":"93458c8b175d1014deb28234995fe9fafb41af0d","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"93458c8b175d1014deb28234995fe9fafb41af0d","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-0.1.6.tgz","integrity":"sha512-mGyGJ3GGOzETrBSh/CCCfYraxHfVuWeJsVOTrF00HLcGK+AdczdwJ54UBjhFn5/VhmoP2wGBaaopdlJEmpMcSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAgCUOxkFKNQHHpW7Ps3nleoCUG2SJNo/PJ7/lGDhK14AiA0NdOthiB/IFEoWV6R3HuhWgwqNSyB0R484WVK11RKLw=="}]},"directories":{}},"0.1.7":{"name":"gulp-ng-config","version":"0.1.7","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"gulp test"},"keywords":["gulp","grunt","config","angular","ng","gulpfriendly","gulpplugin"],"repository":{"type":"git","url":"https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"MIT","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^2.4.1","through2":"^1.1.1"},"devDependencies":{"chai":"^1.9.1","event-stream":"^3.1.7","gulp":"^3.8.7","gulp-jscs":"^1.1.2","gulp-jshint":"^1.8.4","gulp-mocha":"^1.1.0","jshint-stylish":"^0.4.0","mocha":"^1.21.4","vinyl":"^0.4.3"},"gitHead":"8932435baba7babb56f1dd2856739d2d41a8e0e5","_id":"gulp-ng-config@0.1.7","_shasum":"2d8a27525c59500c02b1c1918192af1aea94a083","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"2d8a27525c59500c02b1c1918192af1aea94a083","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-0.1.7.tgz","integrity":"sha512-bcsKSe+3nhupNlAhfKmVe2sQoB64OJhW930XIA7Pmf71gB+uvcXq0hfLaY1uNVsz25q7fyHVRT7V5Iln1e68qg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGEIxkcau9YSKGYCouebDVEUq++LAeOyQfcS8eqIjmAzAiBY2S9El0g1GrDXsqwlp77ITK7wRj7TPfIuQPkFrJ7dKw=="}]},"directories":{}},"0.1.8":{"name":"gulp-ng-config","version":"0.1.8","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"gulp test"},"keywords":["gulp","grunt","config","angular","ng","gulpfriendly","gulpplugin"],"repository":{"type":"git","url":"https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"MIT","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^2.4.1","through2":"^1.1.1"},"devDependencies":{"chai":"^1.9.1","chai-spies":"^0.5.1","event-stream":"^3.1.7","gulp":"^3.8.7","gulp-jscs":"^1.1.2","gulp-jshint":"^1.8.4","gulp-mocha":"^1.1.0","jshint-stylish":"^0.4.0","mocha":"^1.21.4","vinyl":"^0.4.3"},"gitHead":"f36d57bedcc0a94c9152bb825e4e1f35be3a54ae","_id":"gulp-ng-config@0.1.8","_shasum":"09e65f55b3875450f362b2ea0c4e47375b8d6471","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.29","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"09e65f55b3875450f362b2ea0c4e47375b8d6471","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-0.1.8.tgz","integrity":"sha512-E4X0+NmGPSQaCPwrC8mezDzgoYBXq7/B6+JUm1r2w9vIrhek4D8fVWFNBwemJ8nPCnkdYvFXNrskcw61YZnPiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICISc4bN+Ai1/8QJKnG7vdj3NXhL5aeZcgvx0C1qIsjeAiA9/uYe1XsBCdB3QQtEVt6yEqrjv6z6VinE88RF38Lt5w=="}]},"directories":{}},"1.0.0":{"name":"gulp-ng-config","version":"1.0.0","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"gulp test"},"keywords":["gulp","grunt","config","constant","angular","angularjs","ng","gulpfriendly","gulpplugin"],"repository":{"type":"git","url":"https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"MIT","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^2.4.1","through2":"^1.1.1"},"devDependencies":{"chai":"^1.9.1","chai-spies":"^0.5.1","event-stream":"^3.1.7","gulp":"^3.8.7","gulp-jscs":"^1.3.1","gulp-jshint":"^1.8.4","gulp-mocha":"^1.1.0","jshint-stylish":"^0.4.0","mocha":"^1.21.4","vinyl":"^0.4.3"},"gitHead":"59a762fac8f37dfe3c4e001488aa176545035fa3","_id":"gulp-ng-config@1.0.0","_shasum":"356a6254bd41de39d5657d7549f798fc98c1e12c","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.29","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"356a6254bd41de39d5657d7549f798fc98c1e12c","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-1.0.0.tgz","integrity":"sha512-oJmNkM1vvv9JNN6uX3sppJtVR9547G7dH189fmBL6QIwhMSoL4jIKdeWKj6wRoC0Ed03X/W7FDZqpOK7KL08lA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHo2oAhFtSjVXl6RFxGfBnm77PjFqExdWlnT8d8OxIXRAiBIyU0yiVKULBBBUqf54aT3S18l4Ijb2lBSpnH74gyntw=="}]},"directories":{}},"1.1.0":{"name":"gulp-ng-config","version":"1.1.0","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"gulp test"},"keywords":["gulp","grunt","config","constant","angular","angularjs","ng","gulpfriendly","gulpplugin"],"repository":{"type":"git","url":"https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"MIT","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^3.0.1","through2":"^1.1.1"},"devDependencies":{"chai":"^1.9.1","chai-spies":"^0.5.1","event-stream":"^3.3.0","gulp":"^3.8.7","gulp-jscs":"^1.3.1","gulp-jshint":"^1.8.4","gulp-mocha":"^1.1.0","jshint-stylish":"^0.4.0","mocha":"^1.21.4","vinyl":"^0.4.3"},"gitHead":"919366e792712cfaccd43365f767c5a0c0fab087","_id":"gulp-ng-config@1.1.0","_shasum":"696c3cc50f8d60ab25008b981756747a07291de5","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.29","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"696c3cc50f8d60ab25008b981756747a07291de5","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-1.1.0.tgz","integrity":"sha512-vni9n4ajfXdx0nw3lIm90trThxHtuSLRBPTsvSMxh8awaL2FNV6tpbu3VNiBdOHB5KRfYhjuLQbUQYCV+vV2hw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJADe0un06JkKfz8HN7mJ/F5loKNeNsX5TCpiPW3YrygIhALGqTKrvGVLwftSMTy7LRpCVaIhtezWp/+9px1+JL3lI"}]},"directories":{}},"1.2.0":{"name":"gulp-ng-config","version":"1.2.0","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"gulp test"},"keywords":["gulp","grunt","config","constant","angular","angularjs","ng","gulpfriendly","gulpplugin"],"repository":{"type":"git","url":"https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"MIT","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^3.0.1","through2":"^1.1.1","js-yaml":"3.2.7"},"devDependencies":{"chai":"^1.9.1","chai-spies":"^0.5.1","event-stream":"^3.3.0","gulp":"^3.8.7","gulp-jscs":"^1.3.1","gulp-jshint":"^1.8.4","gulp-mocha":"^1.1.0","jshint-stylish":"^0.4.0","mocha":"^1.21.4","vinyl":"^0.4.3"},"gitHead":"0e3dfe48392390b09ed3129d7fec85fe8f2cb5fa","_id":"gulp-ng-config@1.2.0","_shasum":"9d902f0ecc2addf456175d307672528dc843e00c","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.29","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"9d902f0ecc2addf456175d307672528dc843e00c","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-1.2.0.tgz","integrity":"sha512-ru/mnxs0q4MXUQHQg4CqZG67JsX3ShD8tG7KyFTkAw7tLaD2EWTFxFtgaWdXJgBwCKUyJfZQJa6plKd3QbK5zA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEXe9UYyUEf0EDBc/mZyMSsoQJEx6Q39eZWp0biErYbQIhAI//5OqGAgS2q3EtMmzEk2PyWvHdsGM5E5of8PVx/inn"}]},"directories":{}},"1.2.1":{"name":"gulp-ng-config","version":"1.2.1","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"gulp test"},"keywords":["gulp","grunt","config","constant","angular","angularjs","ng","gulpfriendly","gulpplugin"],"repository":{"type":"git","url":"https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"MIT","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^3.0.1","through2":"^1.1.1","js-yaml":"3.2.7"},"devDependencies":{"chai":"^1.9.1","chai-spies":"^0.5.1","event-stream":"^3.3.0","gulp":"^3.8.7","gulp-jscs":"^1.3.1","gulp-jshint":"^1.8.4","gulp-mocha":"^1.1.0","jshint-stylish":"^0.4.0","mocha":"^1.21.4","vinyl":"^0.4.3"},"gitHead":"c61b9acd9f9964e182461d4d91510a73b82384d7","_id":"gulp-ng-config@1.2.1","_shasum":"b6083e6edc7e291b6e12ad2b2eb64c56d1352e5d","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.29","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"b6083e6edc7e291b6e12ad2b2eb64c56d1352e5d","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-1.2.1.tgz","integrity":"sha512-5brJMBGz1qtqA2IhxiKQliQroOJeOh16TI+ZsARFGmVmLz1R1HG65i7Pm4S8uwxA8ThWMaxrJ8T8CPzij0f1/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCejvavVlLODa2Tu9lmwo544ImSTPZLRTHSqD4ZOgeXqwIhAJiTpbYVZLdj4b9x5RulzBoDThuo6U6mMTD3WaAo7spN"}]},"directories":{}},"1.3.0":{"name":"gulp-ng-config","version":"1.3.0","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"gulp test"},"keywords":["gulp","grunt","config","constant","angular","angularjs","ng","gulpfriendly","gulpplugin"],"repository":{"type":"git","url":"git+https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"MIT","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^3.0.1","through2":"^2.0.0","js-yaml":"3.4.3"},"devDependencies":{"chai":"^3.4.1","chai-spies":"^0.7.1","event-stream":"^3.3.0","gulp":"^3.8.7","gulp-coveralls":"^0.1.4","gulp-istanbul":"^0.10.2","gulp-jscs":"^3.0.2","gulp-jshint":"^1.8.4","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"^2.3.3","vinyl":"^1.1.0"},"gitHead":"ea9617a1a3df30a0de1d6cda24ba9755e0feecfa","_id":"gulp-ng-config@1.3.0","_shasum":"37b7a28fd29cddb45be7bfec692cf7ff63aaf7d1","_from":".","_npmVersion":"2.14.13","_nodeVersion":"4.2.1","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"37b7a28fd29cddb45be7bfec692cf7ff63aaf7d1","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-1.3.0.tgz","integrity":"sha512-EOxoRdgt5x5AgYSsFwKsdEKSHgvRTA1gGhhNWollX+vOLkZAD3JJb0Nyfmm1FboUW8ZJWfTsTNQGQzKtpfUwwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDG86c0fceQtF/eb/C+u6/JymGIKgUWDidRFGVSK1LrCgIgYoye3JTepvOvGn/39wHNWxDQNLJLpBsc2xlhZ+uu8Dg="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-ng-config-1.3.0.tgz_1462136360533_0.33272278495132923"},"directories":{}},"1.3.1":{"name":"gulp-ng-config","version":"1.3.1","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"gulp test"},"keywords":["gulp","grunt","config","constant","angular","angularjs","ng","gulpfriendly","gulpplugin"],"repository":{"type":"git","url":"git+https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"MIT","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^3.10.1","through2":"^2.0.0","js-yaml":"3.4.3"},"devDependencies":{"chai":"^3.4.1","chai-spies":"^0.7.1","event-stream":"^3.3.0","gulp":"^3.8.7","gulp-coveralls":"^0.1.4","gulp-istanbul":"^0.10.2","gulp-jscs":"^3.0.2","gulp-jshint":"^1.8.4","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"^2.3.3","vinyl":"^1.1.0"},"gitHead":"7ec1880dc13d4c0fbd3256e1c4715be635116a35","_id":"gulp-ng-config@1.3.1","_shasum":"71c0fa8afe7898809cc79c38af48e051b72c6fd2","_from":".","_npmVersion":"2.14.13","_nodeVersion":"4.2.1","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"71c0fa8afe7898809cc79c38af48e051b72c6fd2","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-1.3.1.tgz","integrity":"sha512-6BfFmUZL/8l4XE2hifSZHf3Zo82gzBKWH6+B4le+yeH6iCDdq+xyp3d69UMpq7L9h20JKx6U4xsuqp7+iHJwdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCawP/gRe1tBpyJEAqVqSPsfRdNsqHxrnbvw5K4yftvgIhAPqnHc+Wk27vR4OKMm8Tb7lUbVQuVMOHyO+I3ymrdbA5"}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/gulp-ng-config-1.3.1.tgz_1463013154590_0.656602481380105"},"directories":{}},"1.4.0":{"name":"gulp-ng-config","version":"1.4.0","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"gulp test"},"keywords":["gulp","grunt","config","constant","angular","angularjs","ng","gulpfriendly","gulpplugin"],"repository":{"type":"git","url":"git+https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"MIT","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.0","lodash":"^3.10.1","through2":"^2.0.0","js-yaml":"3.4.3"},"devDependencies":{"chai":"^3.4.1","chai-spies":"^0.7.1","event-stream":"^3.3.0","gulp":"^3.8.7","gulp-coveralls":"^0.1.4","gulp-istanbul":"^0.10.2","gulp-jscs":"^3.0.2","gulp-jshint":"^1.8.4","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"^2.3.3","vinyl":"^1.1.0"},"gitHead":"0a07bbc04e497ecf8b9f9e3890a3c4b6e539a65a","_id":"gulp-ng-config@1.4.0","_shasum":"c8d1a39e83587861eb10c4ea54224d1e8ea03bd0","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"dist":{"shasum":"c8d1a39e83587861eb10c4ea54224d1e8ea03bd0","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-1.4.0.tgz","integrity":"sha512-N9utrJSgT4P/fJa+2SuBw22fFLQf6cr3bryBDGnPyFJWQoBeB3uXIZOXRMYskXQIkUTBlMcqRCpHeztLVzTIKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLmv2lpVsmSNGrGcVieET0NxlCHhCd5x0fh8LWhVcUzgIhAJ7Qz/kRGYHM2uskTPOKoEn2Isb6bHPgN5766LvK+snI"}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/gulp-ng-config-1.4.0.tgz_1483105429015_0.2747227402869612"},"directories":{}},"1.5.0":{"name":"gulp-ng-config","version":"1.5.0","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"gulp test"},"keywords":["gulp","grunt","config","constant","angular","angularjs","ng","gulpfriendly","gulpplugin"],"repository":{"type":"git","url":"git+https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"MIT","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"gulp-util":"^3.0.8","js-yaml":"^3.7.0","lodash":"^4.17.3","through2":"^2.0.3"},"devDependencies":{"chai":"^3.5.0","chai-spies":"^0.7.1","event-stream":"^3.3.4","gulp":"^3.9.1","gulp-coveralls":"^0.1.4","gulp-istanbul":"^1.1.1","gulp-jscs":"^4.0.0","gulp-jshint":"^2.0.4","gulp-mocha":"^3.0.1","jshint":"^2.9.4","jshint-stylish":"^2.2.1","mocha":"^3.2.0","vinyl":"^2.0.1"},"gitHead":"b2f0c39846c22679115cd1088643f143e3d50c21","_id":"gulp-ng-config@1.5.0","_shasum":"b38fbe841ce2d2674ec73d8b65da575e582cb831","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.2","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"dist":{"shasum":"b38fbe841ce2d2674ec73d8b65da575e582cb831","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-1.5.0.tgz","integrity":"sha512-UVYnEItNeZJmNYFNCeKgAoTSJ3r5Wgle9A0QZXWnYCglgWzaD3rtomX4VzWo0pPmxDBT2sjzbS1LK2EOIWhk/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0clCtw7fGOAPphiayjQ7j8MyhqCBUDPFjRTXWcjLyJgIgJDq5oGpiOps/XWWJHYLcskSEVJ8kExr8pq9qOSjZduc="}]},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-ng-config-1.5.0.tgz_1506963577962_0.2983090062625706"},"directories":{}},"1.5.1":{"name":"gulp-ng-config","version":"1.5.1","description":"AngularJS configuration generator for a module of constants","main":"index.js","scripts":{"test":"gulp test"},"keywords":["gulp","grunt","config","constant","angular","angularjs","ng","gulpfriendly","gulpplugin"],"repository":{"type":"git","url":"git+https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"license":"MIT","bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"homepage":"https://github.com/ajwhite/gulp-ng-config","dependencies":{"js-yaml":"^3.7.0","lodash":"^4.17.3","plugin-error":"^0.1.2","replace-ext":"^1.0.0","through2":"^2.0.3"},"devDependencies":{"chai":"^3.5.0","chai-spies":"^0.7.1","event-stream":"^3.3.4","gulp":"^3.9.1","gulp-coveralls":"^0.1.4","gulp-istanbul":"^1.1.1","gulp-jscs":"^4.0.0","gulp-jshint":"^2.0.4","gulp-mocha":"^3.0.1","jshint":"^2.9.4","jshint-stylish":"^2.2.1","mocha":"^3.2.0","vinyl":"^2.0.1"},"gitHead":"26ef8e7c667432272e1da366ce9f13c6a3d2a2f9","_id":"gulp-ng-config@1.5.1","_npmVersion":"5.2.0","_nodeVersion":"8.10.0","_npmUser":{"name":"atticoos","email":"contact@atticuswhite.com"},"dist":{"integrity":"sha512-UJAkgjDfyx8zfeLGsus8UK8M5UtvYoY4RSs9y3JOyPEfW7iczCtDgKz5XF7ic79q+p45tkmYmp7+zLXEwSfV9w==","shasum":"0142f8aff9a1dffaa8b3bb9eec627eb8df3f5751","tarball":"https://registry.npmjs.org/gulp-ng-config/-/gulp-ng-config-1.5.1.tgz","fileCount":43,"unpackedSize":47855,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCKHICRA9TVsSAnZWagAAHXYP/j5Cj/jUEJknYBJ3ZrYA\nQTMGyLyNJ/2fgONTl4hrJRosjpX60L12BIwQ1CSt/UgrqvyaD/hBqVV1aCqz\nx5sq274gqREGnvQSLd+jlEc6rNeo9H85FXlRWjRNulCvKT/JSprWcXX8Afxi\nEFJl03tIubPbUQCNdmR0ODMtsSz4wOuJ2p4vues/VexYbLWGdx6rypMLpvvL\ngBbATvlQTXNDtMA9ujRBUxI8nLlOQvRr9r5hPNBkJTGVchBnlfMgKpescRkl\nn9HW5HYE0hfo517XK5aQpG6DEUrLD93qb0JwBvKFP7No6S7pd9LjDI0Zqgc5\nKGuwbDqaigrUj3BGlABaOrwkqMYfjPvH88ickiKzPLjcgrl8QNOA5+EexcMV\n5lMBDONrcLXIfCnjfXB+o+NJJunAsmvSs4zun5Ss9/QyO7tBJ/N29ySIGzL8\nPDfBcxoSKtQ8WOolWvf11Oc5gEfcJSWFY/UlyckccaZs38tzXD67rhAAJqtV\n7LAqSFFeXf9YBiDU/yhy0s97tt9kK01XGXz7MDjqTarZ9kSdiHM5muV/EGMv\n+BKbVwX6EKKBt+vFGpj1z2XgJ775fAWOpXvaWzlkNIqDPSwyKzEtM84u00rs\nE9Z0p4LVtTEBWny4cAj2hvUx5QEUI+CP00dCbf8VtI7vQ8D9duo+stNa1a3n\nse7/\r\n=tGU2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9iDejMtlYgSc+/ZOoJ2NFgvZ1UPVLIZawM5ITMX1bBwIhAIxamfrhZrlc8Y50GZybPdYo7D06vM68wzZUTPtIx4e2"}]},"maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-ng-config_1.5.1_1544069574915_0.797172103465507"},"_hasShrinkwrap":false}},"readme":"# gulp-ng-config\n\n[![License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://npmjs.org/package/gulp-ng-config)\n[![NPM version](http://img.shields.io/npm/v/gulp-ng-config.svg?style=flat)](https://npmjs.org/package/gulp-ng-config)\n[![NPM version](http://img.shields.io/npm/dm/gulp-ng-config.svg?style=flat)](https://npmjs.org/package/gulp-ng-config)\n[![Build Status](http://img.shields.io/travis/ajwhite/gulp-ng-config.svg?style=flat)](http://travis-ci.org/ajwhite/gulp-ng-config)\n[![Coverage Status](https://coveralls.io/repos/ajwhite/gulp-ng-config/badge.svg?branch=develop&service=github)](https://coveralls.io/github/ajwhite/gulp-ng-config?branch=develop)\n[![Code Climate](https://codeclimate.com/github/ajwhite/gulp-ng-config/badges/gpa.svg)](https://codeclimate.com/github/ajwhite/gulp-ng-config)\n[![Dependency Status](http://img.shields.io/gemnasium/ajwhite/gulp-ng-config.svg?style=flat)](https://gemnasium.com/ajwhite/gulp-ng-config)\n\n[![NPM](https://nodei.co/npm/gulp-ng-config.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/gulp-ng-config/)\n\nIt's often useful to generate a file of constants, usually as environment variables, for your Angular apps.\nThis Gulp plugin will allow you to provide an object of properties and will generate an Angular module of constants.\n\n## To Install:\n`npm install gulp-ng-config`\n\n## How it works\nIt's pretty simple:\n`gulpNgConfig(moduleName)`\n\n\n## Example Usage\nWe start with our task. Our source file is a JSON file containing our configuration. We will pipe this through `gulpNgConfig` and out will come an angular module of constants.\n```javascript\nvar gulp = require('gulp');\nvar gulpNgConfig = require('gulp-ng-config');\n\ngulp.task('test', function () {\n  gulp.src('configFile.json')\n  .pipe(gulpNgConfig('myApp.config'))\n  .pipe(gulp.dest('.'))\n});\n```\nAssume that `configFile.json` contains:\n```json\n{\n  \"string\": \"my string\",\n  \"integer\": 12345,\n  \"object\": {\"one\": 2, \"three\": [\"four\"]},\n  \"array\": [\"one\", 2, {\"three\": \"four\"}, [5, \"six\"]]\n}\n```\nRunning `gulp test` will take `configFile.json` and produce `configFile.js` with the following content:\n\n```js\nangular.module('myApp.config', [])\n.constant('string', \"my string\")\n.constant('integer', 12345)\n.constant('object', {\"one\":2,\"three\":[\"four\"]})\n.constant('array', [\"one\",2,{\"three\":\"four\"},[5,\"six\"]]);\n```\nWe now can include this configuration module in our main app and access the constants\n```js\nangular.module('myApp', ['myApp.config']).run(function (string) {\n  console.log(\"The string constant!\", string) // outputs \"my string\"\n});\n```\n\n\n## Configuration\nCurrently there are a few configurable options to control the output of your configuration file:\n- [options.environment](#options.environment)\n- [options.constants](#options.constants)\n- [options.createModule](#options.createModule)\n- [options.type](#options.type)\n- [options.wrap](#options.wrap)\n- [options.parser](#options.parser)\n- [options.pretty](#options.pretty)\n- [options.keys](#options.keys),\n- [options.templateFilePath](#options.templateFilePath)\n\n### <a id=\"options.environment\"></a>options.environment\nType: `String` Optional\n\nIf your configuration contains multiple environments, you can supply the key you want the plugin to load from your configuration file.\n\nExample `config.json` file with multiple environments:\n```json\n{\n  \"local\": {\n    \"EnvironmentConfig\": {\n      \"api\": \"http://localhost/\"\n    }\n  },\n  \"production\": {\n    \"EnvironmentConfig\": {\n      \"api\": \"https://api.production.com/\"\n    }\n  }\n}\n```\n\nUsage of the plugin:\n```js\ngulpNgConfig('myApp.config', {\n  environment: 'production'\n})\n```\n\nExpected output:\n```js\nangular.module('myApp.config', [])\n.constant('EnvironmentConfig', {\"api\": \"https://api.production.com/\"});\n```\n\n#### Nested Environment\nIf the configuration is nested it can be accessed by the namespace, for example\n```json\n{\n  \"version\": \"0.1.0\",\n  \"env\": {\n    \"local\": {\n      \"EnvironmentConfig\": {\n        \"api\": \"http://localhost/\"\n      }\n    },\n    \"production\": {\n      \"EnvironmentConfig\": {\n        \"api\": \"https://api.production.com/\"\n      }\n    }\n  }\n}\n```\n\nUsage of the plugin:\n```js\ngulpNgConfig('myApp.config', {\n  environment: 'env.production'\n})\n```\n\nExpected output:\n```js\nangular.module('myApp.config', [])\n.constant('EnvironmentConfig', {\"api\": \"https://api.production.com/\"});\n```\n\n#### Multiple Environment keys\nMultiple environment keys can be supplied in an array, for example for global and environmental constants\n```json\n{\n  \"global\": {\n    \"version\": \"0.1.0\"\n   },\n  \"env\": {\n    \"local\": {\n      \"EnvironmentConfig\": {\n        \"api\": \"http://localhost/\"\n      }\n    },\n    \"production\": {\n      \"EnvironmentConfig\": {\n        \"api\": \"https://api.production.com/\"\n      }\n    }\n  }\n}\n```\n\nUsage of the plugin:\n```js\ngulpNgConfig('myApp.config', {\n  environment: ['env.production', 'global']\n})\n```\n\nExpected output:\n```js\nangular.module('myApp.config', [])\n.constant('EnvironmentConfig', {\"api\": \"https://api.production.com/\"});\n.constant('version', '0.1.0');\n```\n\n### <a id=\"options.constants\"></a>options.constants\nType: `Object` Optional\n\nYou can also override properties from your json file or add more by including them in the gulp tasks:\n```javascript\ngulpNgConfig('myApp.config', {\n  constants: {\n    string: 'overridden',\n    random: 'value'\n  }\n});\n```\nGenerating `configFile.js`\n```js\nangular.module('myApp.config', [])\n.constant('string', \"overridden\")\n.constant('integer', 12345)\n.constant('object', {\"one\":2,\"three\":[\"four\"]})\n.constant('array', [\"one\",2,{\"three\":\"four\"},[5,\"six\"]])\n.constant('random', \"value\");\n\n```\n\n### <a id=\"options.type\"></a>options.type\nType: `String` Default value: `'constant'` Optional\n\nThis allows configuring the type of service that is created -- a `constant` or a `value`. By default, a `constant` is created, but a `value` can be overridden. Possible types:\n\n- `'constant'`\n- `'value'`\n\n```javascript\ngulpNgConfig('myApp.config', {\n  type: 'value'\n});\n```\n\nThis will produce `configFile.js` with a `value` service.\n```javascript\nangular.module('myApp.config', [])\n.value('..', '..');\n```\n\n### <a id=\"options.createModule\"></a>options.createModule\nType: `Boolean` Default value: `true` Optional\n\nBy default, a new module is created with the name supplied. You can access an existing module, rather than creating one, by setting `createModule` to false.\n```javascript\ngulpNgConfig('myApp.config', {\n  createModule: false\n});\n```\n\nThis will produce `configFile.js` with an existing angular module\n```javascript\nangular.module('myApp.config')\n.constant('..', '..');\n```\n\n### <a id=\"options.wrap\"></a>options.wrap\nType: `Boolean` or `String` Default value: `false` Optional\n\nPresets:\n- `ES6`\n- `ES2015`\n\nWrap the configuration module in an IIFE or your own wrapper.\n\n```js\ngulpNgConfig('myApp.config', {\n  wrap: true\n})\n```\n\nWill produce an IIFE wrapper for your configuration module:\n```javascript\n(function () {\n  return angular.module('myApp.config') // [] has been removed\n  .constant('..', '..');\n})();\n```\n\nYou can provide a custom wrapper. Provide any string you want, just make sure to include `<%= module %>` for where you want to embed the angular module.\n```js\ngulpNgConfig('myApp.config', {\n  wrap: 'define([\"angular\"], function () {\\n return <%= module %> \\n});'\n});\n```\n\nThe reuslting file will contain:\n```js\ndefine([\"angular\"], function () {\n return angular.module('myApp.config', [])\n.constant('..', '..');\n});\n```\n\n### <a id=\"options.parser\"></a>options.parser\nType: `String` Default value: 'json' Optional\n\nBy default, json file is used to generate the module. You can provide yml file to generate the module. Just set `parser` to `'yml'` or `'yaml'`. If your file type is yml and you have not defined `parser`, your file will still be parsed and js be generated correctly.\nFor example, you have a `config.yml` file,\n```yml\nstring: my string\ninteger: 12345\nobject:\n  one: 2\n  three:\n    - four\n```\n\n```javascript\ngulp.src(\"config.yml\")\n.pipe(gulpNgConfig('myApp.config', {\n  parser: 'yml'\n}));\n```\n\nGenerating,\n```js\nangular.module('myApp.config', [])\n.constant('string', \"my string\")\n.constant('integer', 12345)\n.constant('object', {\"one\":2,\"three\":[\"four\"]});\n```\n\n### <a id=\"options.pretty\"></a>options.pretty\nType: `Number|Boolean` Default value: `false` Optional\n\nThis allows `JSON.stringify` to produce a `pretty` formatted output string.\n\n```js\ngulp.src('config.json')\n.pipe(gulpNgConfig('myApp.config', {\n  pretty: true // or 2, 4, etc -- all representing the number of spaces to indent\n}));\n```\n\nWill output a formatted `JSON` object in the constants, instead of inline.\n```js\nangular.module(\"gulp-ng-config\", [])\n.constant(\"one\", {\n  \"two\": \"three\"\n});\n```\n\n### <a id=\"options.keys\"></a>options.keys\nType: `Array` Optional\n\nIf you only want some of the keys from the object imported, you can supply the keys you want the plugin to load.\n\nExample `config.json` file with unwanted keys:\n```json\n{\n  \"version\": \"0.0.1\",\n  \"wanted key\": \"wanted value\",\n  \"unwanted key\": \"unwanted value\"\n}\n```\n\nUsage of the plugin:\n```js\ngulpNgConfig(\"myApp.config\", {\n  keys: [\"version\", \"wanted key\"]\n})\n```\n\nExpected output:\n```js\nangular.module(\"myApp.config\", [])\n.constant(\"version\", \"0.0.1\")\n.constant(\"wanted key\", \"wanted value\");\n```\n\n### <a id=\"options.templateFilePath\"></a>options.templateFilePath\nType: `String` Optional\n\nThis allows the developer to provide a custom output template.\n\nSample template:\n`angularConfigTemplate.html`\n```html\nvar foo = 'bar';\n\nangular.module(\"<%= moduleName %>\"<% if (createModule) { %>, []<% } %>)<% _.forEach(constants, function (constant) { %>\n.<%= type %>(\"<%= constant.name %>\", <%= constant.value %>)<% }); %>;\n```\n\nConfiguration:\n```json\n{\n  \"Foo\": \"bar\"\n}\n```\n\nGulp task:\n```js\ngulp.src('config.json')\n.pipe(gulpNgConfig('myApp.config', {\n  templateFilePath: path.normalize(path.join(__dirname, 'templateFilePath.html'))\n}));\n```\n\nSample output:\n```js\nvar foo = 'bar';\n\nangular.module('myApp.config', [])\n.constant('Foo', 'bar');\n```\n\n## Additional Usages\n\n### Without a json/yaml file on disk\nUse `buffer-to-vinyl` to create and stream a vinyl file into `gulp-ng-config`. Now config values can come from environment variables, command-line arguments or anywhere else.\n\n```js\nvar b2v = require('buffer-to-vinyl');\nvar gulpNgConfig = require('gulp-ng-config');\n\ngulp.task('make-config', function() {\n  var json = JSON.stringify({\n    // your config here\n  });\n\n  return b2v.stream(new Buffer(json), 'config.js')\n    .pipe(gulpNgConfig('myApp.config'))\n    .pipe(gulp.dest('build'));\n});\n```\n\n### ES6/ES2015\nAn ES6/ES2015 template can be generated by passing `wrap: true` as a configuration to the plugin\n\n## Contributing\nContributions, issues, suggestions, and all other remarks are welcomed. To run locally just fork &amp; clone the project and run `npm install`. Before submitting a Pull Request, make sure that your changes pass `gulp test`, and if you are introducing or changing a feature, that you add/update any tests involved.\n","maintainers":[{"name":"atticoos","email":"contact@atticuswhite.com"}],"time":{"modified":"2022-06-18T17:35:40.351Z","created":"2014-08-16T17:04:27.480Z","0.0.1":"2014-08-16T17:04:27.480Z","0.1.0":"2014-08-16T17:19:35.449Z","0.1.1":"2014-08-16T17:36:35.700Z","0.1.2":"2014-08-16T17:43:18.310Z","0.1.3":"2014-08-16T18:14:52.378Z","0.1.4":"2014-09-11T03:52:54.744Z","0.1.5":"2014-09-11T04:08:57.841Z","0.1.6":"2014-09-13T00:52:13.662Z","0.1.7":"2014-09-18T15:55:55.483Z","0.1.8":"2014-12-13T06:18:55.589Z","1.0.0":"2014-12-17T05:52:23.452Z","1.1.0":"2015-03-29T20:01:49.636Z","1.2.0":"2015-04-23T17:34:29.965Z","1.2.1":"2015-05-18T01:42:44.942Z","1.3.0":"2016-05-01T20:59:22.803Z","1.3.1":"2016-05-12T00:32:36.212Z","1.4.0":"2016-12-30T13:43:49.705Z","1.5.0":"2017-10-02T16:59:38.059Z","1.5.1":"2018-12-06T04:12:55.002Z"},"homepage":"https://github.com/ajwhite/gulp-ng-config","repository":{"type":"git","url":"git+https://github.com/ajwhite/gulp-ng-config.git"},"author":{"name":"Atticus White"},"bugs":{"url":"https://github.com/ajwhite/gulp-ng-config/issues"},"license":"MIT","readmeFilename":"README.md","users":{"atticoos":true,"tetotechy":true,"mchlbrnd":true,"dmarsh":true,"ozdemir":true,"zwxajh":true,"andrewdouglas":true,"firerishi":true,"vittal288":true,"pmarconi":true,"alfeo92":true,"dwayneford":true},"keywords":["gulp","grunt","config","constant","angular","angularjs","ng","gulpfriendly","gulpplugin"]}