{"_id":"grunt-connect-proxy","_rev":"48-eea95610739e0e21c8a4bd2532a94dbb","name":"grunt-connect-proxy","description":"Provides a http proxy as middleware for grunt connect.","dist-tags":{"latest":"0.2.0","0.1.11":"0.1.11"},"versions":{"0.1.0":{"name":"grunt-connect-proxy","description":"Provides an http proxy as middleware for grunt connect.","version":"0.1.0","homepage":"https://github.com/drewzboto/grunt-connect-proxy","author":{"name":"Drewz","email":"drewz@2mod5.com"},"repository":{"type":"git","url":"git://github.com/drewzboto/grunt-connect-proxy.git"},"bugs":{"url":"https://github.com/drewzboto/grunt-connect-proxy/issues"},"licenses":[{"type":"MIT","url":"https://github.com/drewzboto/grunt-connect-proxy/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"http-proxy":"~0.8.7"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["gruntplugin"],"_id":"grunt-connect-proxy@0.1.0","dist":{"shasum":"abc3fc00b0ce219509ac3ffb0f9e8a93f41730ba","tarball":"https://registry.npmjs.org/grunt-connect-proxy/-/grunt-connect-proxy-0.1.0.tgz","integrity":"sha512-dcC6WwenIXzyfWSLtA/sxvCGbWHwObC05wGQx1FC7/pzW8T3FU8SfGuMnLzzankoZh3mjTo5uZmfrM5wMGpy3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCf5ja2RUg9BjPhtRpKvjuv28BrPVpquoy7atdUAHyaswIgFJI2un+9a2we5GvjQZECjk52xc/PUquUlW56OBKFrHU="}]},"_npmVersion":"1.2.0","_npmUser":{"name":"drewzboto","email":"drewz@2mod5.com"},"maintainers":[{"name":"drewzboto","email":"drewz@2mod5.com"}]},"0.1.1":{"name":"grunt-connect-proxy","description":"Provides an http proxy as middleware for grunt connect.","version":"0.1.1","homepage":"https://github.com/drewzboto/grunt-connect-proxy","author":{"name":"Drewz","email":"drewz@2mod5.com"},"repository":{"type":"git","url":"git://github.com/drewzboto/grunt-connect-proxy.git"},"bugs":{"url":"https://github.com/drewzboto/grunt-connect-proxy/issues"},"licenses":[{"type":"MIT","url":"https://github.com/drewzboto/grunt-connect-proxy/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"http-proxy":"~0.8.7"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["gruntplugin"],"_id":"grunt-connect-proxy@0.1.1","dist":{"shasum":"1a1a09da6df6e289bc28b0c7bd53c602f8ebd3ea","tarball":"https://registry.npmjs.org/grunt-connect-proxy/-/grunt-connect-proxy-0.1.1.tgz","integrity":"sha512-MNOKWQ/tXlAxsHD62kbFQZ78YbaLF0Hn4n1s8o0milS4ujQ36csY2gGK7viHQ5Qzr6a7dzeXVGakyx5n+XBy+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBgpE6iVA6N1FZf6SQjfQUh2NPJdtC19PXRQXaSHgUd3AiBe2QOctlFY9rMnOFVsEhFjUO946MtYQ8jStU0fW00LYg=="}]},"_npmVersion":"1.2.0","_npmUser":{"name":"drewzboto","email":"drewz@2mod5.com"},"maintainers":[{"name":"drewzboto","email":"drewz@2mod5.com"}]},"0.1.2":{"name":"grunt-connect-proxy","description":"Provides an http proxy as middleware for grunt connect.","version":"0.1.2","homepage":"https://github.com/drewzboto/grunt-connect-proxy","author":{"name":"Drewz","email":"drewz@2mod5.com"},"repository":{"type":"git","url":"git://github.com/drewzboto/grunt-connect-proxy.git"},"bugs":{"url":"https://github.com/drewzboto/grunt-connect-proxy/issues"},"licenses":[{"type":"MIT","url":"https://github.com/drewzboto/grunt-connect-proxy/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"http-proxy":"~0.8.7"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin"],"_id":"grunt-connect-proxy@0.1.2","dist":{"shasum":"25fd0d703cd8862579b627dbfe57d1219e72cfe0","tarball":"https://registry.npmjs.org/grunt-connect-proxy/-/grunt-connect-proxy-0.1.2.tgz","integrity":"sha512-zeoW/c09GX2a7wU7IbtQFQuzi7CYMQY3NLXEszHUfdskGEkos2mTKV5otmtRuJI10GbXu7eXqlh8ljrQYnTmeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAyhdp55ltMMzRfiYKWSEBnq3m/82LDl1kfIx8yHDQcAiEAizHxd0oy7TkHsxF7x6/Lhk0jzgCiwdFK57YJAxC3XY4="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"drewzboto","email":"drewz@2mod5.com"},"maintainers":[{"name":"drewzboto","email":"drewz@2mod5.com"}]},"0.1.3":{"name":"grunt-connect-proxy","description":"Provides an http proxy as middleware for grunt connect.","version":"0.1.3","homepage":"https://github.com/drewzboto/grunt-connect-proxy","author":{"name":"Drewz","email":"drewz@2mod5.com"},"repository":{"type":"git","url":"git://github.com/drewzboto/grunt-connect-proxy.git"},"bugs":{"url":"https://github.com/drewzboto/grunt-connect-proxy/issues"},"licenses":[{"type":"MIT","url":"https://github.com/drewzboto/grunt-connect-proxy/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"http-proxy":"~0.10.2"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin"],"_id":"grunt-connect-proxy@0.1.3","dist":{"shasum":"8bf1b978cda2cc8f8709af8b477de85f0379487f","tarball":"https://registry.npmjs.org/grunt-connect-proxy/-/grunt-connect-proxy-0.1.3.tgz","integrity":"sha512-7iv646ymixaCT1ZUubxcPIixA8lYPYB7gonvb6iBHC8GoFasRczAXgK9/T+rgN6PHXoVBqLIJdXG6llQWtgkcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE6sZn7LyndPG3No4UJb4UOLTk+9MWx/Q4wJmoONhrNqAiB4wrvZ1/OMTApneu4eYQ/PkO5HOKuCDu8Eui/YCfd1Wg=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"drewzboto","email":"drewz@2mod5.com"},"maintainers":[{"name":"drewzboto","email":"drewz@2mod5.com"}]},"0.1.4":{"name":"grunt-connect-proxy","description":"Provides an http proxy as middleware for grunt connect.","version":"0.1.4","homepage":"https://github.com/drewzboto/grunt-connect-proxy","author":{"name":"Drewz","email":"drewz@2mod5.com"},"repository":{"type":"git","url":"git://github.com/drewzboto/grunt-connect-proxy.git"},"bugs":{"url":"https://github.com/drewzboto/grunt-connect-proxy/issues"},"licenses":[{"type":"MIT","url":"https://github.com/drewzboto/grunt-connect-proxy/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"http-proxy":"~0.10.2"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","proxy","connect","http","grunt"],"_id":"grunt-connect-proxy@0.1.4","dist":{"shasum":"7e156b0e3a01c9e72b008a1b3b8f6679a309a8ef","tarball":"https://registry.npmjs.org/grunt-connect-proxy/-/grunt-connect-proxy-0.1.4.tgz","integrity":"sha512-mgoP563sQFzT2RREMOvLxOqCPJGwlD/R9Q3/h9lOv9s06vhNJDeQZKz+1QUaiy73W3Xsw/zix+5Unuq03c811w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdvQCcUYSvNL6FhaaRPeyPNIr8x0b0y+wABzGeJFzk1gIhAPiREqRpuuJITr/Z74QewQPrLOeOei8yqWyVrWce1zFV"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"drewzboto","email":"drewz@2mod5.com"},"maintainers":[{"name":"drewzboto","email":"drewz@2mod5.com"}]},"0.1.5":{"name":"grunt-connect-proxy","description":"Provides a http proxy as middleware for grunt connect.","version":"0.1.5","homepage":"https://github.com/drewzboto/grunt-connect-proxy","author":{"name":"Drewz","email":"drewz@2mod5.com"},"repository":{"type":"git","url":"git://github.com/drewzboto/grunt-connect-proxy.git"},"bugs":{"url":"https://github.com/drewzboto/grunt-connect-proxy/issues"},"licenses":[{"type":"MIT","url":"https://github.com/drewzboto/grunt-connect-proxy/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"http-proxy":"~0.10.2"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","proxy","connect","http","grunt"],"_id":"grunt-connect-proxy@0.1.5","dist":{"shasum":"86d11e8ebaf286ecdb9ddc4ecf63791e57dae49e","tarball":"https://registry.npmjs.org/grunt-connect-proxy/-/grunt-connect-proxy-0.1.5.tgz","integrity":"sha512-QJSFQ1bbXqyk0xihkr3/nhT7E81SH1BVsx92W+EovXwH9sP5lsOiIlAL1x/aFZ5osRpsPHdxpLjrJbvI5I6XTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnUIJYixQgxki6EMrDIjf/pO54X3+x12ACUE6QBfz54QIgOXNxuT/GckM8Ass8twbD4726Ylta+g6N1mHgQwnisgo="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"drewzboto","email":"drewz@2mod5.com"},"maintainers":[{"name":"drewzboto","email":"drewz@2mod5.com"}]},"0.1.6":{"name":"grunt-connect-proxy","description":"Provides a http proxy as middleware for grunt connect.","version":"0.1.6","homepage":"https://github.com/drewzboto/grunt-connect-proxy","author":{"name":"Drewz","email":"drewz@2mod5.com"},"repository":{"type":"git","url":"git://github.com/drewzboto/grunt-connect-proxy.git"},"bugs":{"url":"https://github.com/drewzboto/grunt-connect-proxy/issues"},"licenses":[{"type":"MIT","url":"https://github.com/drewzboto/grunt-connect-proxy/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"http-proxy":"~0.10.3","lodash":"~0.9.0"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","proxy","connect","http","grunt"],"_id":"grunt-connect-proxy@0.1.6","dist":{"shasum":"ae42d34b8a6b0f3c13f721574cd9b226d6a9ca6f","tarball":"https://registry.npmjs.org/grunt-connect-proxy/-/grunt-connect-proxy-0.1.6.tgz","integrity":"sha512-pjJjjqJGcuP/oIxSwVsb4S3HiSVta/Uk5iT3SJf07ELaVFROz9d+ZKQieWVIVWiCEFxSvLBGTVGrm34+N1RwvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB8fxfB3NCOJOqyl2+Rj+k/qMq3WKpN3+TMWDhtHnPx6AiEAgUQb1VERHOcg1pHeaa3Xb+RIULK9nKLqKKsNI7BQQzs="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"drewzboto","email":"drewz@2mod5.com"},"maintainers":[{"name":"drewzboto","email":"drewz@2mod5.com"}]},"0.1.7":{"name":"grunt-connect-proxy","description":"Provides a http proxy as middleware for grunt connect.","version":"0.1.7","homepage":"https://github.com/drewzboto/grunt-connect-proxy","author":{"name":"Drewz","email":"drewz@2mod5.com"},"repository":{"type":"git","url":"git://github.com/drewzboto/grunt-connect-proxy.git"},"bugs":{"url":"https://github.com/drewzboto/grunt-connect-proxy/issues"},"licenses":[{"type":"MIT","url":"https://github.com/drewzboto/grunt-connect-proxy/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"http-proxy":"~0.10.3","lodash":"~0.9.0"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","grunt-contrib-connect":"~0.5.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","proxy","connect","http","grunt"],"_id":"grunt-connect-proxy@0.1.7","dist":{"shasum":"7a1e8b51583cb7f56ce85b16b78f1497b973fb8f","tarball":"https://registry.npmjs.org/grunt-connect-proxy/-/grunt-connect-proxy-0.1.7.tgz","integrity":"sha512-ImiocFGQiSdY5oYecQV9LF9hSjdTT12TmRT7LhgmV16sCc3C55wSB/rZBNuONPgBSBPNxL8GN2RxDVDSmqwDnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFg7qZphDWW6a3en4a7eeUr6x1Mqt1U8ReQBYa7tFMvPAiAYFdJ2wIHjGu4Fob2/Rmyru9Cn6RBiTurstOhm2UfaxA=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"drewzboto","email":"drewz@2mod5.com"},"maintainers":[{"name":"drewzboto","email":"drewz@2mod5.com"}]},"0.1.8":{"name":"grunt-connect-proxy","description":"Provides a http proxy as middleware for grunt connect.","version":"0.1.8","homepage":"https://github.com/drewzboto/grunt-connect-proxy","author":{"name":"Drewz","email":"drewz@2mod5.com"},"repository":{"type":"git","url":"git://github.com/drewzboto/grunt-connect-proxy.git"},"bugs":{"url":"https://github.com/drewzboto/grunt-connect-proxy/issues"},"licenses":[{"type":"MIT","url":"https://github.com/drewzboto/grunt-connect-proxy/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"http-proxy":"~0.10.3","lodash":"~0.9.0"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","grunt-contrib-connect":"~0.5.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","proxy","connect","http","grunt"],"_id":"grunt-connect-proxy@0.1.8","dist":{"shasum":"1f1395d60643e22624756841f3fbdf26302de7a7","tarball":"https://registry.npmjs.org/grunt-connect-proxy/-/grunt-connect-proxy-0.1.8.tgz","integrity":"sha512-mVmHei2vsZdBSVD5zir4BrPIOdk8KSs0HjPsGpPqYxtTKxpqAh8wYTXOSNxTUFMAbs13ow10vvddu2F9B7rwdg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrGjDAdnXMCcxvWpzPfPjQfLQTgVYdxZlTjh/m2eQ60QIgeSaBMALwFrYqQozWjUALz0I5n8ehIllq6XwI7xwJ/uI="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"drewzboto","email":"drewz@2mod5.com"},"maintainers":[{"name":"drewzboto","email":"drewz@2mod5.com"}]},"0.1.10":{"name":"grunt-connect-proxy","description":"Provides a http proxy as middleware for grunt connect.","version":"0.1.10","homepage":"https://github.com/drewzboto/grunt-connect-proxy","author":{"name":"Drewz","email":"drewz@2mod5.com"},"repository":{"type":"git","url":"git://github.com/drewzboto/grunt-connect-proxy.git"},"bugs":{"url":"https://github.com/drewzboto/grunt-connect-proxy/issues"},"licenses":[{"type":"MIT","url":"https://github.com/drewzboto/grunt-connect-proxy/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"http-proxy":"~0.10.3","lodash":"~0.9.0"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","grunt-contrib-connect":"~0.5.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","proxy","connect","http","grunt"],"_id":"grunt-connect-proxy@0.1.10","dist":{"shasum":"f9364baf0039412a4fecf8f44a42c6baecf71c57","tarball":"https://registry.npmjs.org/grunt-connect-proxy/-/grunt-connect-proxy-0.1.10.tgz","integrity":"sha512-WyFQ6hZ5jk7o3Cl6rOGjN21bH5Rp98109owVxUTnAI9qGzaZkqC+jiGoIM1OjcdLfkx4p+SAzrgllKL1XKNaEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB2DHXVnfNidc0bPgh8BPF3ta+c4P7JIJ52TZf+DkvvUAiBxArKNDaNPmhBVyxOccMZe3BTKU+AGwPop9Knb0yDpeA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"drewzboto","email":"drewz@2mod5.com"},"maintainers":[{"name":"drewzboto","email":"drewz@2mod5.com"}]},"0.1.11":{"name":"grunt-connect-proxy","description":"Provides a http proxy as middleware for grunt connect.","version":"0.1.11","homepage":"https://github.com/drewzboto/grunt-connect-proxy","author":{"name":"Drewz","email":"drewz@2mod5.com"},"repository":{"type":"git","url":"git://github.com/drewzboto/grunt-connect-proxy.git"},"bugs":{"url":"https://github.com/drewzboto/grunt-connect-proxy/issues"},"licenses":[{"type":"MIT","url":"https://github.com/drewzboto/grunt-connect-proxy/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt test"},"dependencies":{"http-proxy":"~1.1.4","lodash":"~0.9.0"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","grunt-contrib-connect":"~0.5.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","proxy","connect","http","grunt"],"gitHead":"b468057991730da42dea4359008c6c109798914a","_id":"grunt-connect-proxy@0.1.11","_shasum":"509298cbeaad3d4d1331bce6278de65cfb4e96de","_from":"./","_npmVersion":"1.4.21","_npmUser":{"name":"dansomething","email":"danzomething@gmail.com"},"maintainers":[{"name":"drewzboto","email":"drewz@2mod5.com"},{"name":"dansomething","email":"danzomething@gmail.com"}],"dist":{"shasum":"509298cbeaad3d4d1331bce6278de65cfb4e96de","tarball":"https://registry.npmjs.org/grunt-connect-proxy/-/grunt-connect-proxy-0.1.11.tgz","integrity":"sha512-TK4FxBQCyt+YOLEcml0NeMnMLMaCO1eYceUoXJOhA4Yo4sN0NrE83s1ff+MclRi/ZGemeJk78t6Z9GN7qd57lQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGMt//iXOwhY+EeqCYStSl9wz8VmUr3RTNOIqZNsIHhgIhAJRpegE282r9lJIZ7oaGUfVWHTm/ow7k5JeV/hs6o559"}]}},"0.2.0":{"name":"grunt-connect-proxy","description":"Provides a http proxy as middleware for grunt connect.","version":"0.2.0","homepage":"https://github.com/drewzboto/grunt-connect-proxy","author":{"name":"Drewz","email":"drewz@2mod5.com"},"repository":{"type":"git","url":"git://github.com/drewzboto/grunt-connect-proxy.git"},"bugs":{"url":"https://github.com/drewzboto/grunt-connect-proxy/issues"},"licenses":[{"type":"MIT","url":"https://github.com/drewzboto/grunt-connect-proxy/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt test"},"dependencies":{"http-proxy":"~1.11.0","lodash":"~0.9.0"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","grunt-contrib-connect":"~0.5.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","proxy","connect","http","grunt"],"gitHead":"fcd37bdb7f96717a4b03770fcd2a071f43ebc130","_id":"grunt-connect-proxy@0.2.0","_shasum":"5d4ce827b55080a8f5d55360c80f4ab5626f46f8","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.36","_npmUser":{"name":"ruiaraujo","email":"ruka.araujo@gmail.com"},"dist":{"shasum":"5d4ce827b55080a8f5d55360c80f4ab5626f46f8","tarball":"https://registry.npmjs.org/grunt-connect-proxy/-/grunt-connect-proxy-0.2.0.tgz","integrity":"sha512-9KcPMvZmrU1Ev5ixoPl8Kvk8RNy+5Zj4rpBHeSJ1HKUTJEcieKh9GB0+/WWigRfGWtVc1eFa43k2w1WdIUPTAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1Jr9yYZBZHjlM8i4rF69LKbuxYB8aH+VAcbBLYWglRwIgG2bB713dknXpwiouyIBm+spQN0HSTvjYSF2ABcbK9FU="}]},"maintainers":[{"name":"drewzboto","email":"drewz@2mod5.com"},{"name":"dansomething","email":"danzomething@gmail.com"},{"name":"ruiaraujo","email":"ruka.araujo@gmail.com"}]}},"readme":"# grunt-connect-proxy\n\n> Provides a http proxy as middleware for the grunt-contrib-connect plugin.\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-connect-proxy --save-dev\n```\n\nOne the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-connect-proxy');\n```\n\n## Adapting the  \"connect\" task\n\n### Overview\n\n#### Proxy Configuration\nIn your project's Gruntfile, add a section named `proxies` to your existing connect definition.\n\n```js\ngrunt.initConfig({\n    connect: {\n        server: {\n            options: {\n                port: 9000,\n                hostname: 'localhost'\n            },\n            proxies: [\n                {\n                    context: '/cortex',\n                    host: '10.10.2.202',\n                    port: 8080,\n                    https: false,\n                    xforward: false,\n                    headers: {\n                        \"x-custom-added-header\": value\n                    },\n                    hideHeaders: ['x-removed-header']\n                }\n            ]\n        }\n    }\n})\n```\n#### Adding the middleware\n\n##### With Livereload\n\nAdd the middleware call from the connect option middleware hook\n```js\n        connect: {\n            livereload: {\n                options: {\n                    middleware: function (connect, options) {\n                        if (!Array.isArray(options.base)) {\n                            options.base = [options.base];\n                        }\n\n                        // Setup the proxy\n                        var middlewares = [require('grunt-connect-proxy/lib/utils').proxyRequest];\n\n                        // Serve static files.\n                        options.base.forEach(function(base) {\n                            middlewares.push(connect.static(base));\n                        });\n\n                        // Make directory browse-able.\n                        var directory = options.directory || options.base[options.base.length - 1];\n                        middlewares.push(connect.directory(directory));\n\n                        return middlewares;\n                    }\n                }\n            }\n        }\n```\n\n##### Without Livereload\n\nIt is possible to add the proxy middleware without Livereload as follows:\n\n```js\n   // server\n    connect: {\n      server: {\n        options: {\n          port: 8000,\n          base: 'public',\n          logger: 'dev',\n          hostname: 'localhost',\n          middleware: function (connect, options) {\n             var proxy = require('grunt-connect-proxy/lib/utils').proxyRequest;\n             return [\n                // Include the proxy first\n                proxy,\n                // Serve static files.\n                connect.static(options.base),\n                // Make empty directories browsable.\n                connect.directory(options.base)\n             ];\n          }\n        },\n        proxies: [ /* as defined above */ ]\n      }\n  }\n```\n\n### Adding the configureProxy task to the server task\nFor the server task, add the configureProxies task before the connect task\n```js\n    grunt.registerTask('server', function (target) {\n        grunt.task.run([\n            'clean:server',\n            'compass:server',\n            'configureProxies:server',\n            'livereload-start',\n            'connect:livereload',\n            'open',\n            'watch'\n        ]);\n    });\n```\n\n**IMPORTANT**: You must specify the connect target in the `configureProxies` task.\n\n### Options\nThe available configuration options from a given proxy are generally the same as what is provided by the underlying [httpproxy](https://github.com/nodejitsu/node-http-proxy) library\n\n#### options.context\nType: `String` or `Array`\n\nThe context(s) to match requests against. Matching requests will be proxied. Should start with /. Should not end with /\nMultiple contexts can be matched for the same proxy rule via an array such as:\ncontext: ['/api', 'otherapi']\n\n#### options.host\nType: `String`\n\nThe host to proxy to. Should not start with the http/https protocol.\n\n#### options.port\nType: `Number`\nDefault: 80\n\nThe port to proxy to.\n\n#### options.https\nType: `Boolean`\nDefault: false\n\nWhether to proxy with https\n\n#### options.xforward:\nType: `Boolean`\nDefault: false\n\nWhether to add x-forward headers to the proxy request, such as\n  \"x-forwarded-for\": \"127.0.0.1\",\n  \"x-forwarded-port\": 50892,\n  \"x-forwarded-proto\": \"http\"\n\n\n#### options.appendProxies\nType: `Boolean`\nDefault: true\n\nSet to false to isolate multi-task configuration proxy options from parent level instead of appending them.\n\n#### options.rewrite\nType: `Object`\n\nAllows rewrites of url (including context) when proxying. The object's keys serve as the regex used in the replacement operation. As an example the following proxy configuration will remove the context when proxying:\n\n```js\nproxies: [\n    context: '/context',\n    host: 'host',\n    port: 8080,\n    rewrite: {\n        '^/removingcontext': '',\n        '^/changingcontext': '/anothercontext'\n    }\n]\n```\n\n#### options.headers\nType: `Object`\n\nA map of headers to be added to proxied requests.\n\n#### options.hideHeaders\nType: `Array`\n\nAn array of headers that should be removed from the server's response.\n\n#### options.ws\nType: `Boolean`\nDefault: false\n\nSet to true to proxy websockets.\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n#### Multi-server proxy configuration\n\ngrunt-contrib-connect multi-server configuration is supported. You can define _proxies_ blocks in per-server options and refer to those blocks in task invocation.\n\n```js\ngrunt.initConfig({\n    connect: {\n            options: {\n                port: 9000,\n                hostname: 'localhost'\n            },\n            server2: {\n                proxies: [\n                    {\n                        context: '/cortex',\n                        host: '10.10.2.202',\n                        port: 8080,\n                        https: false,\n                    }\n                ]\n            },\n            server3: {\n                appendProxies: false,\n                proxies: [\n                    {\n                        context: '/api',\n                        host: 'example.org'\n                    }\n                ]\n            }\n        }\n})\n\ngrunt.registerTask('e2etest', function (target) {\n    grunt.task.run([\n        'configureProxies:server2',\n        'open',\n        'karma'\n    ]);\n});\n```\n\n\n## Release History\n* 0.1.0 Initial release\n* 0.1.1 Fix changeOrigin\n* 0.1.2 Support multiple server definitions, bumped to grunt 0.4.1 (thanks to @lauripiispanen)\n* 0.1.3 Bumped http-proxy dependency to 0.10.2\n* 0.1.4 Added proxy rewrite support (thanks to @slawrence)\n* 0.1.5 Default rejectUnauthorized to false to allow self-signed certificates over SSL\n* 0.1.6 Add xforward option, added support for context arrays, added debug logging\n* 0.1.7 Added WebSocket support (thanks for @killfill), Headers support (thanks to @gadr), various docs fixed\n* 0.1.8 Minor websocket bug fix\n* 0.1.10 Minor bug fix\n* 0.1.11 Fix Websocket support on Node 0.10 - Bumped http-proxy dependency to 1.1.4, Removed unsupported http-proxy options (rejectUnauthorized, timeout, changeOrigin)\n","maintainers":[{"name":"drewzboto","email":"drewz@2mod5.com"},{"name":"dansomething","email":"danzomething@gmail.com"},{"name":"ruiaraujo","email":"ruka.araujo@gmail.com"}],"time":{"modified":"2022-06-18T14:42:05.115Z","created":"2013-03-07T00:29:56.777Z","0.1.0":"2013-03-07T00:29:57.869Z","0.1.1":"2013-04-01T22:29:45.899Z","0.1.2":"2013-05-16T02:42:53.502Z","0.1.3":"2013-05-26T18:20:10.907Z","0.1.4":"2013-06-01T20:52:34.014Z","0.1.5":"2013-07-03T22:09:47.585Z","0.1.6":"2013-09-28T22:46:00.537Z","0.1.7":"2013-12-27T17:42:12.481Z","0.1.8":"2014-02-16T21:28:59.488Z","0.1.9":"2014-03-11T02:45:42.296Z","0.1.10":"2014-03-15T23:15:07.665Z","0.1.11":"2014-08-20T15:06:33.924Z","0.2.0":"2015-04-23T11:29:24.917Z"},"author":{"name":"Drewz","email":"drewz@2mod5.com"},"repository":{"type":"git","url":"git://github.com/drewzboto/grunt-connect-proxy.git"},"users":{"forivall":true,"tomas-sereikis":true,"brainuxdev":true,"rubiadias":true},"readmeFilename":"README.md","homepage":"https://github.com/drewzboto/grunt-connect-proxy","keywords":["gruntplugin","proxy","connect","http","grunt"],"bugs":{"url":"https://github.com/drewzboto/grunt-connect-proxy/issues"}}