{"_id":"gulp-ng-constant","_rev":"30-9ab18319a7572fdd99796811f4073f9e","name":"gulp-ng-constant","description":"Gulp plugin for dynamic generation of angular constant modules.","dist-tags":{"latest":"1.2.0"},"versions":{"0.0.0":{"name":"gulp-ng-constant","version":"0.0.0","description":"Gulp plugin for dynamic generation of angular constant modules.","main":"index.js","repository":{"type":"git","url":"git://github.com/guzart/gulp-ng-constant.git"},"keywords":["gulp","angularjs","constant"],"author":{"name":"Arturo Guzman"},"license":"MIT","bugs":{"url":"https://github.com/guzart/gulp-ng-constant/issues"},"homepage":"https://github.com/guzart/gulp-ng-constant","dependencies":{"lodash":"^2.4.1","js2coffee":"^0.2.7","gulp-util":"^2.2.14","through2":"^0.4.1"},"_id":"gulp-ng-constant@0.0.0","dist":{"shasum":"ab5ad2062f3ede1b4872a4a089956cc7e9fc58ff","tarball":"https://registry.npmjs.org/gulp-ng-constant/-/gulp-ng-constant-0.0.0.tgz","integrity":"sha512-h3KkhKiRePmI6DrMwTkJ9UIgqQaBpowhSwikndanDwq0qWKV4QR+YghEFyKZoPnwsL6AIRnxV18IKsZQJ+R/3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBkZeH8DAphN9vROIcpDsvPIywmZrI81cHKzfKwzplK4AiEAmQx8V86YCHugc0W/DYh5HadolAwJijkdRthLQQ8asLg="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"guzart","email":"arturo@guzart.com"},"maintainers":[{"name":"guzart","email":"arturo@guzart.com"}]},"0.0.1":{"name":"gulp-ng-constant","version":"0.0.1","description":"Gulp plugin for dynamic generation of angular constant modules.","main":"index.js","repository":{"type":"git","url":"git://github.com/guzart/gulp-ng-constant.git"},"keywords":["gulp","angularjs","constant"],"author":{"name":"Arturo Guzman"},"license":"MIT","bugs":{"url":"https://github.com/guzart/gulp-ng-constant/issues"},"homepage":"https://github.com/guzart/gulp-ng-constant","dependencies":{"lodash":"^2.4.1","js2coffee":"^0.2.7","gulp-util":"^2.2.14","through2":"^0.4.1"},"_id":"gulp-ng-constant@0.0.1","dist":{"shasum":"a13f34c388930b4e19678ad510677b4010c1b1c1","tarball":"https://registry.npmjs.org/gulp-ng-constant/-/gulp-ng-constant-0.0.1.tgz","integrity":"sha512-Gi5X1AwS9h5f19LD7NtE0DFmcfEIjmHaUtGsvoHqiInbPCjfuSElTIoD4ywtvPW1rquL5tbwJEP8W3Ugk0l0qg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFT7EInk2jvGOjZ9xTJh0kXliIMmOi1XSCo+4WQIa6YDAiEAp7EECtLrmjYlswzguu6uJbCcskw15j4QzUWst7lHczw="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"guzart","email":"arturo@guzart.com"},"maintainers":[{"name":"guzart","email":"arturo@guzart.com"}]},"0.0.2":{"name":"gulp-ng-constant","version":"0.0.2","description":"Gulp plugin for dynamic generation of angular constant modules.","main":"index.js","repository":{"type":"git","url":"git://github.com/guzart/gulp-ng-constant.git"},"keywords":["gulp","angularjs","constant","gulpplugin"],"author":{"name":"Arturo Guzman"},"license":"MIT","bugs":{"url":"https://github.com/guzart/gulp-ng-constant/issues"},"homepage":"https://github.com/guzart/gulp-ng-constant","dependencies":{"lodash":"^2.4.1","gulp-util":"^2.2.14","through2":"^0.4.1"},"_id":"gulp-ng-constant@0.0.2","dist":{"shasum":"06e8fe96c927119b5219e6e7bc4ba730db897784","tarball":"https://registry.npmjs.org/gulp-ng-constant/-/gulp-ng-constant-0.0.2.tgz","integrity":"sha512-S8MYo7qQsWj42xTv97oLTzomJ/gzozxZx2RxmZnSwape+3P6LMnFUqalFrk2z6EW1ET0bUUM6N5qOF/CuGylSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHmn36r0YlLlUR80gHcitzcT7bwoqLRbT7EWeWHUG1pxAiBRm9GysEh8tEqSIfKQETL8ZBakiT09UW0xzAt0wgjG/g=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"guzart","email":"arturo@guzart.com"},"maintainers":[{"name":"guzart","email":"arturo@guzart.com"}]},"0.1.0":{"name":"gulp-ng-constant","version":"0.1.0","description":"Gulp plugin for dynamic generation of angular constant modules.","main":"index.js","repository":{"type":"git","url":"git://github.com/guzart/gulp-ng-constant.git"},"keywords":["gulp","angularjs","constant","gulpplugin"],"author":{"name":"Arturo Guzman"},"license":"MIT","bugs":{"url":"https://github.com/guzart/gulp-ng-constant/issues"},"homepage":"https://github.com/guzart/gulp-ng-constant","dependencies":{"lodash":"^2.4.1","gulp-util":"^2.2.14","through2":"^0.4.1"},"_id":"gulp-ng-constant@0.1.0","dist":{"shasum":"93893be53995662ce3a94f5862cf29d194c56791","tarball":"https://registry.npmjs.org/gulp-ng-constant/-/gulp-ng-constant-0.1.0.tgz","integrity":"sha512-+Q7sQzbeOPl+4bkbohzvLySJiRHunLxVD5AqlYtVF5qAKspv/vSDyiuQaG7keYMtr7rS8odTmtfAHCowkR7NKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHyPex65SK5tEK8KoBJnmfJM/h3X6nu2Yyqr3j/b34W7AiAUitLacMgKyiu3dPhWqeO8m9p/v+eY0r6zPF3/q43TMA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"guzart","email":"arturo@guzart.com"},"maintainers":[{"name":"guzart","email":"arturo@guzart.com"}]},"0.1.1":{"name":"gulp-ng-constant","version":"0.1.1","description":"Gulp plugin for dynamic generation of angular constant modules.","main":"index.js","repository":{"type":"git","url":"git://github.com/guzart/gulp-ng-constant.git"},"keywords":["gulp","angularjs","constant","gulpplugin"],"author":{"name":"Arturo Guzman"},"license":"MIT","bugs":{"url":"https://github.com/guzart/gulp-ng-constant/issues"},"homepage":"https://github.com/guzart/gulp-ng-constant","dependencies":{"lodash":"^2.4.1","gulp-util":"^2.2.14","through2":"^0.4.1"},"_id":"gulp-ng-constant@0.1.1","_shasum":"10cff538dd324bc063a7cf4cf0d81028ee2d2bae","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"guzart","email":"arturo@guzart.com"},"maintainers":[{"name":"guzart","email":"arturo@guzart.com"}],"dist":{"shasum":"10cff538dd324bc063a7cf4cf0d81028ee2d2bae","tarball":"https://registry.npmjs.org/gulp-ng-constant/-/gulp-ng-constant-0.1.1.tgz","integrity":"sha512-LYk5DdrdCeBiW1th8KtAkOYDdSx+z7AvTZRqB1majXyiXk+2VL5pZxPHzu68vvOWoToYGpB4VSMbISbPQ+vxSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwfVMd4XSVUwc/DFRLtA8ar6S8TwD4q0vIR8V8UUdCQQIhAOfkJarjKlxdpPsfx6NP5oSe6mQ0NMQ17BcLVHFvBlJY"}]}},"0.2.0":{"name":"gulp-ng-constant","version":"0.2.0","description":"Gulp plugin for dynamic generation of angular constant modules.","main":"index.js","repository":{"type":"git","url":"git://github.com/guzart/gulp-ng-constant.git"},"keywords":["gulp","angularjs","constant","gulpplugin"],"author":{"name":"Arturo Guzman"},"license":"MIT","bugs":{"url":"https://github.com/guzart/gulp-ng-constant/issues"},"homepage":"https://github.com/guzart/gulp-ng-constant","scripts":{"test":"node_modules/jasmine-node/bin/jasmine-node spec/gulpNgConstantSpec.js"},"dependencies":{"lodash":"^2.4.1","gulp-util":"^2.2.14","through2":"^0.4.1"},"devDependencies":{"jasmine-node":"^1.14.5"},"gitHead":"704aae372ec45fbad2e792a3e2ada40bc77cf921","_id":"gulp-ng-constant@0.2.0","_shasum":"edfb1157ce58ed64c91b240ea883a2ca4d8fcb90","_from":".","_npmVersion":"2.1.2","_nodeVersion":"0.10.29","_npmUser":{"name":"guzart","email":"arturo@guzart.com"},"maintainers":[{"name":"guzart","email":"arturo@guzart.com"}],"dist":{"shasum":"edfb1157ce58ed64c91b240ea883a2ca4d8fcb90","tarball":"https://registry.npmjs.org/gulp-ng-constant/-/gulp-ng-constant-0.2.0.tgz","integrity":"sha512-ObHtR17IRIyOilY01WOnJQLgm02WEqrQ3iaTnK/Ko90nLyuwZBTsV45o6XJjvZi8+2uHRLlGusUV0YUzb+bduQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICmY+TSb3DsZWyqZzHs3FtzVdVd55PHAB7dyTkbB/JN6AiBBE3QWfp5C/O/DQmG3Jqe0LWAKthW1gnGzX9Gurkp2kA=="}]}},"0.3.0":{"name":"gulp-ng-constant","version":"0.3.0","description":"Gulp plugin for dynamic generation of angular constant modules.","main":"index.js","repository":{"type":"git","url":"git://github.com/guzart/gulp-ng-constant.git"},"keywords":["gulp","angularjs","constant","gulpplugin"],"author":{"name":"Arturo Guzman"},"license":"MIT","bugs":{"url":"https://github.com/guzart/gulp-ng-constant/issues"},"homepage":"https://github.com/guzart/gulp-ng-constant","scripts":{"test":"node_modules/jasmine-node/bin/jasmine-node spec/gulpNgConstantSpec.js"},"dependencies":{"lodash":"^2.4.1","gulp-util":"^2.2.14","through2":"^0.4.1"},"devDependencies":{"jasmine-node":"^1.14.5"},"gitHead":"ac9ce19ce1f577ca77c5181bb7dbe31d6fe8b7a0","_id":"gulp-ng-constant@0.3.0","_shasum":"bb822993e963ddd9b5704c523f8ea3d907c533fc","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.11.16","_npmUser":{"name":"guzart","email":"arturo@guzart.com"},"maintainers":[{"name":"guzart","email":"arturo@guzart.com"}],"dist":{"shasum":"bb822993e963ddd9b5704c523f8ea3d907c533fc","tarball":"https://registry.npmjs.org/gulp-ng-constant/-/gulp-ng-constant-0.3.0.tgz","integrity":"sha512-eC1U0ilxetBVavR8Z/5iP/68cHJFHq58AZqLlLE4ZJk0dAjsK+HP3lv/7iAMkzKBD+4q55+DcqZak/XouTgsTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCadz8Y62Cp+xNYtrTSjJ+Tj5+VVa8HiKGjshr2hFTRRQIgZd8hupnZrDB8nUJbMB05zKcSpZ+NBaC79AcT140fgE8="}]}},"1.0.0":{"name":"gulp-ng-constant","version":"1.0.0","description":"Gulp plugin for dynamic generation of angular constant modules.","main":"index.js","repository":{"type":"git","url":"git://github.com/guzart/gulp-ng-constant.git"},"keywords":["gulp","angularjs","constant","gulpplugin"],"author":{"name":"Arturo Guzman"},"license":"MIT","bugs":{"url":"https://github.com/guzart/gulp-ng-constant/issues"},"homepage":"https://github.com/guzart/gulp-ng-constant","scripts":{"test":"node_modules/jasmine-node/bin/jasmine-node spec/gulpNgConstantSpec.js"},"dependencies":{"gulp-util":"^3.0.6","js-yaml":"^3.2.7","lodash":"^3.9.3","through2":"^2.0.0"},"devDependencies":{"jasmine-node":"^1.14.5"},"gitHead":"1cba0074502e3aa0aba9085b4450a12f6688ff10","_id":"gulp-ng-constant@1.0.0","_shasum":"4d0f101a7c8866a51c4a31cef8a889d4d310291d","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.3.0","_npmUser":{"name":"guzart","email":"arturo@guzart.com"},"maintainers":[{"name":"guzart","email":"arturo@guzart.com"}],"dist":{"shasum":"4d0f101a7c8866a51c4a31cef8a889d4d310291d","tarball":"https://registry.npmjs.org/gulp-ng-constant/-/gulp-ng-constant-1.0.0.tgz","integrity":"sha512-UvkkcD2F4rvCb+vL1xP8EH6dOTFk5dihA5hXWvT55Q6xg7bDpLQGtE9RB8t5H5PHr2E1kLZP6ZIwGYPdudJn/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZjdP4s18xi/rT5+W1oqSRYL7VR8LgR0iBYHyfqw702AiEA7M+tHwY5O17JwFfhJ2xaFNpWFODjtQf6vJecoRiU7Lk="}]}},"1.1.0":{"name":"gulp-ng-constant","version":"1.1.0","description":"Gulp plugin for dynamic generation of angular constant modules.","main":"index.js","repository":{"type":"git","url":"git://github.com/guzart/gulp-ng-constant.git"},"keywords":["gulp","angularjs","constant","gulpplugin"],"author":{"name":"Arturo Guzman"},"license":"MIT","bugs":{"url":"https://github.com/guzart/gulp-ng-constant/issues"},"homepage":"https://github.com/guzart/gulp-ng-constant","scripts":{"test":"node_modules/jasmine-node/bin/jasmine-node spec/gulpNgConstantSpec.js"},"dependencies":{"gulp-util":"^3.0.6","js-yaml":"^3.2.7","lodash":"^3.9.3","through2":"^2.0.0"},"devDependencies":{"eslint":"^1.3.1","jasmine-node":"^1.14.5"},"gitHead":"28f189f609644fa0c2d9d9525c08dd863e5b348b","_id":"gulp-ng-constant@1.1.0","_shasum":"d76b18208100b603a96c706f46ceed1ff5c5d8c6","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.3.0","_npmUser":{"name":"guzart","email":"arturo@guzart.com"},"maintainers":[{"name":"guzart","email":"arturo@guzart.com"}],"dist":{"shasum":"d76b18208100b603a96c706f46ceed1ff5c5d8c6","tarball":"https://registry.npmjs.org/gulp-ng-constant/-/gulp-ng-constant-1.1.0.tgz","integrity":"sha512-YQhxEpVw9OTvuITTIXsm1dDphCW4AVj/TUgw0qQLVf1VYFm5LCZkFKOeEAsuh1WHDDp+uErFSBHUiTFVq/tPRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGSO2Zs+69lMewgQsgm9+bmMtZtua+bO25JYij8xLEWAiAaCq4YBVijFDP0K+OhMghD7EsSURLoIzsb0NZtd9Fzyg=="}]}},"2.0.0-1":{"name":"gulp-ng-constant","version":"2.0.0-1","description":"Gulp plugin for dynamic generation of angular constant modules.","main":"index.js","repository":{"type":"git","url":"git://github.com/guzart/gulp-ng-constant.git"},"keywords":["gulp","angularjs","constant","gulpplugin"],"author":{"name":"Arturo Guzman"},"license":"MIT","bugs":{"url":"https://github.com/guzart/gulp-ng-constant/issues"},"homepage":"https://github.com/guzart/gulp-ng-constant","scripts":{"test":"node_modules/jasmine-node/bin/jasmine-node spec/gulpNgConstantSpec.js"},"dependencies":{"gulp-util":"^3.0.6","js-yaml":"^3.2.7","lodash":"^4.14.1","through2":"^2.0.0"},"devDependencies":{"eslint":"^1.3.1","jasmine-node":"^1.14.5"},"gitHead":"80098ffa3f4550482f8a56476f42bf035c34e924","_id":"gulp-ng-constant@2.0.0-1","_shasum":"51a441b9250860906a4a5415793e3fa99290db08","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.10.46","_npmUser":{"name":"guzart","email":"arturo@guzart.com"},"maintainers":[{"name":"guzart","email":"arturo@guzart.com"}],"dist":{"shasum":"51a441b9250860906a4a5415793e3fa99290db08","tarball":"https://registry.npmjs.org/gulp-ng-constant/-/gulp-ng-constant-2.0.0-1.tgz","integrity":"sha512-3J7hchDUWLAsZ9PCDkGsN/Prala5tSDb6P040t5okPFMlX8je8erNA/r91C39aQWF1yTFOTPlI9DHJNbRDAPpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyJvPXRCD3Smhu0IlGCvk0J1U5JGYrwco7wsI8dXtW6QIga9bonFsN+vwLWuT5FqNwA0P+BzA736B0z2EiEmlK11U="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-ng-constant-2.0.0-1.tgz_1470712606918_0.44859902490861714"}},"2.0.0-2":{"name":"gulp-ng-constant","version":"2.0.0-2","description":"Gulp plugin for dynamic generation of angular constant modules.","main":"index.js","repository":{"type":"git","url":"git://github.com/guzart/gulp-ng-constant.git"},"keywords":["gulp","angularjs","constant","gulpplugin"],"author":{"name":"Arturo Guzman"},"license":"MIT","bugs":{"url":"https://github.com/guzart/gulp-ng-constant/issues"},"homepage":"https://github.com/guzart/gulp-ng-constant","scripts":{"test":"node_modules/jasmine-node/bin/jasmine-node spec/gulpNgConstantSpec.js"},"dependencies":{"gulp-util":"^3.0.6","js-yaml":"^3.2.7","lodash":"^4.14.1","through2":"^2.0.0"},"devDependencies":{"eslint":"^1.3.1","jasmine-node":"^1.14.5"},"gitHead":"fb48b66a0444e376fd76a9bd1b8668dd9202541e","_id":"gulp-ng-constant@2.0.0-2","_shasum":"11423dacba75e1468735966657bb971c474f9ebf","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.10.46","_npmUser":{"name":"guzart","email":"arturo@guzart.com"},"maintainers":[{"name":"guzart","email":"arturo@guzart.com"}],"dist":{"shasum":"11423dacba75e1468735966657bb971c474f9ebf","tarball":"https://registry.npmjs.org/gulp-ng-constant/-/gulp-ng-constant-2.0.0-2.tgz","integrity":"sha512-R2WrW6IQ6P08cMX7ESS/o3a/Z8Ab+cEWO0CVczruQlCmyikn7v5cC0hicV6p3Z6y8laVfKUwTb93CLgUFcoU9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1NDct3UalmXF2qtDcPQD5WjclFTc3PtggbnkVXPSQSQIgA+4XvFe5QnZFQMzIRJrxeCqI7yvbjuyyrw+kR96dP0o="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-ng-constant-2.0.0-2.tgz_1470784970292_0.423861455405131"}},"2.0.0-3":{"name":"gulp-ng-constant","version":"2.0.0-3","description":"Gulp plugin for dynamic generation of angular constant modules.","main":"index.js","repository":{"type":"git","url":"git://github.com/guzart/gulp-ng-constant.git"},"keywords":["gulp","angularjs","constant","gulpplugin"],"author":{"name":"Arturo Guzman"},"license":"MIT","bugs":{"url":"https://github.com/guzart/gulp-ng-constant/issues"},"homepage":"https://github.com/guzart/gulp-ng-constant","scripts":{"test":"node node_modules/jasmine-node/bin/jasmine-node spec/gulpNgConstantSpec.js"},"dependencies":{"js-yaml":"^3.2.7","lodash":"^4.14.1","plugin-error":"^0.1.2","replace-ext":"^1.0.0","through2":"^2.0.0","vinyl":"^2.1.0"},"devDependencies":{"eslint":"^1.3.1","jasmine-node":"^1.14.5"},"gitHead":"396e9696e6d2a96abe6e5c89bfb9a4cf51e3d277","_id":"gulp-ng-constant@2.0.0-3","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"guzart","email":"arturo@guzart.com"},"dist":{"integrity":"sha512-1og28JsLTzeIMxYcYDc80zRcnEP/V8xpnt8A2+F5ikwF+mZsCONOagCesA/jzxF60bKI/RoSKqgFX8murixF9Q==","shasum":"bb127536bbc598337b20e77f6c7b85904bbad4f5","tarball":"https://registry.npmjs.org/gulp-ng-constant/-/gulp-ng-constant-2.0.0-3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICD5SvyooiFnPJyy3wlrSPIVHvlcuG6DoaWtiZ405Ky4AiEA5fi7cPWGqM7xsrd7zvm8h+u8BCJsxE1gIg13VoLbWkw="}]},"maintainers":[{"name":"guzart","email":"arturo@guzart.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-ng-constant-2.0.0-3.tgz_1515171441649_0.0505392209161073"}},"1.2.0":{"name":"gulp-ng-constant","version":"1.2.0","description":"Gulp plugin for dynamic generation of angular constant modules.","main":"index.js","repository":{"type":"git","url":"git://github.com/guzart/gulp-ng-constant.git"},"keywords":["gulp","angularjs","constant","gulpplugin"],"author":{"name":"Arturo Guzman"},"license":"MIT","bugs":{"url":"https://github.com/guzart/gulp-ng-constant/issues"},"homepage":"https://github.com/guzart/gulp-ng-constant","scripts":{"test":"node node_modules/jasmine-node/bin/jasmine-node spec/gulpNgConstantSpec.js"},"dependencies":{"js-yaml":"^3.2.7","lodash":"^4.14.1","plugin-error":"^0.1.2","replace-ext":"^1.0.0","through2":"^2.0.0","vinyl":"^2.1.0"},"devDependencies":{"eslint":"^1.3.1","jasmine-node":"^1.14.5"},"gitHead":"f9a0714e5a75eb8d2cc13aecc2bc77e81938cac3","_id":"gulp-ng-constant@1.2.0","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"guzart","email":"arturo@guzart.com"},"dist":{"integrity":"sha512-Ig0nnyJEeyd9RqQwNkE1uUeldo6UcZ+HMs6qNYvztcTbj0do2GC99sK10pqThMLpiQ51ENwVlR5t4PKuVAd0fQ==","shasum":"5dfb6e9ce02f4328bc26bcb6bd41a0828e000c6a","tarball":"https://registry.npmjs.org/gulp-ng-constant/-/gulp-ng-constant-1.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQKzKhvPJ3LTdKAKuRyskwc91UHpy9YrcYkxGidwqOUQIhAOF203S/mJ3tsPAlfhQxVKG3qc919/tlcIJxZVIJCPHY"}]},"maintainers":[{"name":"guzart","email":"arturo@guzart.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-ng-constant-1.2.0.tgz_1515171823552_0.590781913138926"}}},"readme":"gulp-ng-constant\n================\n\n[![Build Status](https://travis-ci.org/guzart/gulp-ng-constant.svg)](https://travis-ci.org/guzart/gulp-ng-constant)\n\n## Information\n\n<table>\n<tr>\n<td>Package</td><td>gulp-ng-constant</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>Plugin for dynamic generation of angular constant modules.<br>\nBased of <a href=\"https://github.com/werk85/grunt-ng-constant\">grunt-ng-constant</a></td>\n</tr>\n<tr>\n<td>Node Version</td>\n<td>>= 0.10</td>\n</tr>\n</table>\n\n## Index\n\n1. [Usage](#usage)\n  * [Configuration in gulpfile.js](#configuration-in-gulpfilejs)\n  * [Configuration in config.json](#configuration-in-configjson)\n2. [Options](#options)\n  * [name](#optionsname)\n  * [stream](#optionsstream)\n  * [constants](#optionsconstants)\n  * [deps](#optionsdeps)\n  * [wrap](#optionswrap)\n  * [space](#optionsspace)\n  * [template](#optionstemplate)\n  * [templatePath](#optionstemplatepath)\n3. [Examples](#examples)\n  * [Multiple Environments](#multiple-environments)\n  * [Stream](#stream)\n  * [YAML](#yaml)\n4. [Special Thanks](#special-thanks)\n\n## Usage\n\n### Configuration in `gulpfile.js`\n\n_**gulpfile.js**_\n\n```javascript\nvar ngConstant = require('gulp-ng-constant');\n\ngulp.task('config', function () {\n  gulp.src('app/config.json')\n    .pipe(ngConstant({\n      name: 'my.module.config',\n      deps: ['ngAnimate'],\n      constants: { myPropCnt: 'hola!' },\n      wrap: 'amd',\n    }))\n    // Writes config.js to dist/ folder\n    .pipe(gulp.dest('dist'));\n});\n```\n\n_**app/config.json**_\n```json\n{\n  \"myFirstCnt\": true,\n  \"mySecondCnt\": { \"hello\": \"world\" }\n}\n```\n\n_**dist/config.js**_ _(output)_\n\n```javascript\ndefine([\"require\", \"exports\"], function(require, exports) {\n  return angular.module(\"my.module.config\", [\"ngAnimate\"])\n    .constant(\"myFirstCnt\", true)\n    .constant(\"mySecondCnt\", { \"hello\": \"world\" })\n    .constant(\"myPropCnt\", \"hola!\");\n});\n```\n\n### Configuration in `config.json`\n\n_**gulpfile.js**_\n\n```javascript\nvar ngConstant = require('gulp-ng-constant');\n\ngulp.task('config', function () {\n  gulp.src('app/config.json')\n    .pipe(ngConstant())\n    // Writes config.js to dist/ folder\n    .pipe(gulp.dest('dist'));\n});\n```\n\n\n_**app/config.json**_\n\n```json\n{\n  \"name\": \"my.module.config\",\n  \"deps\": [\"ngAnimate\"],\n  \"wrap\": \"commonjs\",\n  \"constants\": {\n    \"myFirstCnt\": true,\n    \"mySecondCnt\": { \"hello\": \"world\" }\n  }\n}\n```\n\n_**dist/config.js**_ _(output)_\n\n```javascript\nmodule.exports = angular.module(\"my.module.config\", [\"ngAnimate\"])\n    .constant(\"myFirstCnt\", true)\n    .constant(\"mySecondCnt\", { \"hello\": \"world\" })\n    .constant(\"myPropCnt\", \"hola!\");\n```\n\n## Options\n\n#### options.name\n\nType: `string`  \nDefault: `filename` or `\"ngConstants\"`  \nOverrides: `json.name`  \n_optional_\n\nThe module name.\nThis property will override any `name` property defined in the input `json` file. The default name when used as a tranform stream (i.e. regular plugin) is the passed file name. When [options.stream](#optionsstream) is `true` the default name is `\"ngConstants\"`.\n\n#### options.stream\n\nType: `boolean`  \nDefault: `false`  \n_optional_\n\nIf true it returns a new gulp stream, which can then be piped other gulp plugins\n([Example](#stream)).\n\n#### options.constants\n\nType: `Object | string`  \nDefault: `undefined`  \nExends/Overrides: `json.constants`  \n\nConstants to defined in the module.\nCan be a `JSON` string or an `Object`.\nThis property extends the one defined in the input `json` file. If there are\nproperties with the same name, this properties will override the ones from the\ninput `json` file.\n\n#### options.merge\n\nType: `boolean`  \nDefault: `false`  \n_optional_  \n\nThis applies to constants of the Object type. \nIf true the constants of type Object from the input file and the constants\nfrom the configuration will be merged.\n\n#### options.deps\n\nType: `array<string>|boolean`  \nDefault: `[]`  \nOverrides: `json.deps`  \n_optional_\n\nAn array that specifies the default dependencies a module should have. To add the constants to an existing module, you can set it to `false`.\nThis property will override any `deps` property defined in the input `json` file.\n\n#### options.wrap\n\nType: `boolean|string`  \nDefault: `false`  \nAvailable: `['amd', 'commonjs']`  \n_optional_\n\nA boolean to active or deactive the automatic wrapping.\nA string who will wrap the result of file, use the\n`<%= __ngModule %>` variable to indicate where to put the generated\nmodule content.\nA string with 'amd' that wraps the module as an AMD module,\ncompatible with RequireJS\n\n#### options.space\n\nType: `string`  \nDefault: `'\\t'`  \n_optional_\n\nA string that defines how the JSON.stringify method will prettify your code.\n\n#### options.template\n\nType: `string`  \nDefault: _content of [tpls/constant.tpl.ejs](https://github.com/guzart/gulp-ng-constant/blob/master/tpls/constant.tpl.ejs)_  \n_optional_\n\nEJS template to apply when creating the output configuration file. The following variables\nare passed to the template during render:\n\n  * `moduleName`: the module name (`string`)\n  * `deps`: the module dependencies (`array<string>`)\n  * `constants`: the module constants (`array<contantObj>`)\n    * where a `constantObj` is an object with a `name` and a `value`, both `strings`.\n\n#### options.templatePath\n\nType: `string`  \nDefault: `'tpls/constant.tpl.ejs'`  \n_optional_\n\nLocation of a custom template file for creating the output configuration file. Defaults to the provided constants template file if none provided.\n\n## Examples\n\n### Multiple Environments\n\n_**config.json**_\n```json\n{\n  \"development\": { \"greeting\": \"Sup!\" },\n  \"production\": { \"greeting\": \"Hello\" }\n}\n```\n\n_**gulpfile.js**_\n```javascript\nvar gulp = require('gulp');\nvar ngConstant = require('gulp-ng-constant');\n\ngulp.task('constants', function () {\n  var myConfig = require('./config.json');\n  var envConfig = myConfig[process.env];\n  return ngConstant({\n      constants: envConfig,\n      stream: true\n    })\n    .pipe(gulp.dest('dist'));\n});\n\n```\n\n### Stream\n\n```javascript\nvar gulp = require('gulp');\nvar ngConstant = require('gulp-ng-constant');\nvar uglify = require('gulp-uglify');\n\ngulp.task('constants', function () {\n  var constants = { hello: 'world' };\n  return ngConstant({\n      constants: constants,\n      stream: true\n    })\n    .pipe(uglify())  \n    .pipe(gulp.dest('dist'));\n});\n```\n\n### YAML\n\nJust write your configuration in a YAML file and pipe it to the plugin.\n\n_**config.yml**_\n```yaml\ngreeting: Merry Christmas!\nseasons:\n  - Winter\n  - Spring\n  - Summer\n  - Fall\n```\n\n_**gulpfile.js**_\n```javascript\nvar gulp = require('gulp');\nvar ngConstant = require('gulp-ng-constant');\n\ngulp.task('constants', function () {\n  gulp.src('app/config.yml')\n    .pipe(ngConstant())\n    .pipe(gulp.dest('dist'));\n});\n```\n\n## Special Thanks\n\n@alexeygolev, @sabudaye, @ojacquemart, @lukehorvat, @rimian, @andidev, @dotDeeka, @LoicMahieu\n","maintainers":[{"name":"guzart","email":"arturo@guzart.com"}],"time":{"modified":"2022-06-18T17:35:43.309Z","created":"2014-03-10T03:54:19.529Z","0.0.0":"2014-03-10T03:54:19.529Z","0.0.1":"2014-03-10T04:06:41.088Z","0.0.2":"2014-03-21T02:51:31.286Z","0.1.0":"2014-03-21T05:19:44.055Z","0.1.1":"2014-07-01T15:24:12.444Z","0.2.0":"2014-10-07T15:51:53.507Z","0.3.0":"2015-02-03T01:34:02.415Z","1.0.0":"2015-09-04T02:54:45.997Z","1.1.0":"2015-09-04T03:45:43.256Z","2.0.0-1":"2016-08-09T03:16:48.738Z","2.0.0-2":"2016-08-09T23:22:52.602Z","2.0.0-3":"2018-01-05T16:57:21.719Z","1.2.0":"2018-01-05T17:03:44.677Z"},"homepage":"https://github.com/guzart/gulp-ng-constant","keywords":["gulp","angularjs","constant","gulpplugin"],"repository":{"type":"git","url":"git://github.com/guzart/gulp-ng-constant.git"},"author":{"name":"Arturo Guzman"},"bugs":{"url":"https://github.com/guzart/gulp-ng-constant/issues"},"license":"MIT","readmeFilename":"README.md","users":{"techjacker":true,"devalias":true,"jits":true,"prochafilho":true,"karjala":true,"arefm":true,"kikar":true}}