{"_id":"metalsmith-prismic","_rev":"32-c89b814c0577a6c7c8e50ad712146380","name":"metalsmith-prismic","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","dist-tags":{"latest":"0.10.0"},"versions":{"0.1.0":{"name":"metalsmith-prismic","version":"0.1.0","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^0.9.0","debug":"^1.0.4","prismic.io":"^1.0.12","underscore":"^1.6.0"},"devDependencies":{"mocha":"^1.21.3"},"_id":"metalsmith-prismic@0.1.0","_shasum":"8379c429ccb7ecf5815d391b090e6a13651f581b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"8379c429ccb7ecf5815d391b090e6a13651f581b","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.1.0.tgz","integrity":"sha512-9whJITrVx+PG6yFbrvEwOC0gxuxR5YlHWXC+CGuRceln9O+Fs4+Ou6qfBFQD3Kb+PUGxPMB6EvHwBwlpVvBCqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIClrf5GkyTJV6uTlO9a/PA7jAWk5UBcd2TVKXxDPDC2qAiEAhopatJK+atYkEASQcQei31UDd4w4YPgTb5UTXFBmYcA="}]}},"0.1.1":{"name":"metalsmith-prismic","version":"0.1.1","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^0.9.0","debug":"^1.0.4","prismic.io":"^1.0.12","underscore":"^1.6.0"},"devDependencies":{"mocha":"^1.21.3"},"_id":"metalsmith-prismic@0.1.1","_shasum":"b7a5c0271d4b38c5b960f16e23f8ace34679fb20","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"b7a5c0271d4b38c5b960f16e23f8ace34679fb20","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.1.1.tgz","integrity":"sha512-piSzjQfB0AiKLYpQPB5ZFWZUCWpD4FMSSz74iR4OdxAdGHsltBQKQ8FcwDuWLa8tEksTZ6kgBIcACPsRUT5v+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbbAQW9aWgP6Bd5tEzNgyOJlHv68KeRUUcFpj2HwCiWwIhAMMNMP7HPi/J+I4z0WzX9COLc0H2e0Xhz3Je2le25Pv3"}]}},"0.2.0":{"name":"metalsmith-prismic","version":"0.2.0","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^0.9.0","debug":"^1.0.4","prismic.io":"^1.0.12","underscore":"^1.6.0"},"devDependencies":{"mocha":"^1.21.3"},"_id":"metalsmith-prismic@0.2.0","_shasum":"3f00a6c74736f44246f4a212526ba5d2016c65db","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"3f00a6c74736f44246f4a212526ba5d2016c65db","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.2.0.tgz","integrity":"sha512-ht6eKnNZa6OsFyR5c1Nh5kavF5zw/GY2a+cwVpUhjvMMufIDYXz0ft/MF4uwoIoIP0J3HAV7YViLtIcEPMum2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTG2qtvxsaGf0wfNAYSFggcYyI2qdVYrAuRk0dF3maAwIhAMpwpWgbfYfKvmSEUjfCXy9ZpwmZxYGzrYz9NiyPHxqo"}]}},"0.3.0":{"name":"metalsmith-prismic","version":"0.3.0","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^0.9.0","debug":"^1.0.4","prismic.io":"^1.0.12","underscore":"^1.6.0"},"devDependencies":{"mocha":"^1.21.3"},"_id":"metalsmith-prismic@0.3.0","_shasum":"0280c23e7a1297582a33036ed9da672210e71cc7","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"0280c23e7a1297582a33036ed9da672210e71cc7","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.3.0.tgz","integrity":"sha512-vIX+W5gjwFQHkacyRba5RcP0vmxtkLpqDjtwjANaGPY/3kZV/Vph566uEu+6QF87/pyFY/yYvMc3Tf3U7eKKMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBOsmcnbYQp4/HHsUxUtCF0kHqJBNM9Bz38V/JxU35v/AiAr+nGmZ+hK2iQRstaw4bS8uthruuYJaPl2y7LdaHypZA=="}]}},"0.3.1":{"name":"metalsmith-prismic","version":"0.3.1","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^0.9.0","debug":"^1.0.4","prismic.io":"^1.0.12","underscore":"^1.6.0"},"devDependencies":{"mocha":"^1.21.3","handlebars":"^2.0.0-alpha.4","metalsmith":"^0.9.0","metalsmith-ignore":"^0.1.2","metalsmith-templates":"^0.5.2","assert-dir-equal":"0.0.1"},"_id":"metalsmith-prismic@0.3.1","_shasum":"beaa468a8b49f28084bdc129790205d1fed59dec","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"beaa468a8b49f28084bdc129790205d1fed59dec","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.3.1.tgz","integrity":"sha512-Z/MVSOAGfMWltEXPADq7gKlI/ndaNVYVIEjctfmOFOPiba9gEloW9wrsB6ZMY2hXRQpvTuGy3Vdul1AQS06ODA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZ6WF4Zmidc0E3dCUqpoMCdxXbIbbNq/GmxofgeYu6lAiBryxvStvq3QkPowctRb7Mr58XP1Ows8EmJlpQi+/NthQ=="}]}},"0.4.0":{"name":"metalsmith-prismic","version":"0.4.0","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^0.9.0","debug":"^1.0.4","prismic.io":"^1.0.12","underscore":"^1.6.0"},"devDependencies":{"assert-dir-equal":"0.0.1","handlebars":"^2.0.0-alpha.4","metalsmith":"^0.9.0","metalsmith-templates":"^0.5.2","mocha":"^1.21.3"},"_id":"metalsmith-prismic@0.4.0","_shasum":"9ca60fbe3533265df810fc5e1b958ffe1eed53b6","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"9ca60fbe3533265df810fc5e1b958ffe1eed53b6","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.4.0.tgz","integrity":"sha512-FV2bZ03AxiH/bq1cxs/EJiDF7/VcLryd5t+8ouCUSA4yTcnbbfOBTy+Yar/fmIAEljTwMAguSOPXCi5NKwb1Ew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBSZifEOLP38zBkQSIWMCZSjWeKzkl6gBDazEfGgAqVDAiEAn6clBbDlsSPY0+Xz9y3c2WuoC5g7ZKsfHkYzTNcwShI="}]}},"0.4.1":{"name":"metalsmith-prismic","version":"0.4.1","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^0.9.0","debug":"^1.0.4","prismic.io":"^1.0.12","underscore":"^1.6.0"},"devDependencies":{"assert-dir-equal":"0.0.1","handlebars":"^2.0.0-alpha.4","metalsmith":"^0.9.0","metalsmith-templates":"^0.5.2","mocha":"^1.21.3"},"_id":"metalsmith-prismic@0.4.1","_shasum":"0b9d542bb5dd8554e95c9bb1ce4450eed8af2c64","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"0b9d542bb5dd8554e95c9bb1ce4450eed8af2c64","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.4.1.tgz","integrity":"sha512-3STQjCSmAhXKpmuJVWSXGW6t3N+IL7J6NGti/K97+Q1mCVCWLA0vmCNcDF7jJ6Kct5ITxoW8GAKBhCDAxUeZtw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKUcfmlfQ4uu9JLOUgDFiu1QmMAKyjKar9V3jf5d1BdAiB01+VJ7Sxq2lht4hOqMFcLgF7J4zXs0E4tkguGgAwCmA=="}]}},"0.5.0":{"name":"metalsmith-prismic","version":"0.5.0","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^0.9.0","debug":"^1.0.4","prismic.io":"^1.0.12","underscore":"^1.6.0"},"devDependencies":{"assert-dir-equal":"0.0.1","handlebars":"^2.0.0-alpha.4","metalsmith":"^0.9.0","metalsmith-templates":"^0.5.2","mocha":"^1.21.3"},"_id":"metalsmith-prismic@0.5.0","_shasum":"df08db7ee24510ad067413ae620e99151548346f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"df08db7ee24510ad067413ae620e99151548346f","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.5.0.tgz","integrity":"sha512-wmWnkuwo4DogQyuGjZRh71Mnj+pbLc1AZusAZmt+DvaitASXCcVrNiT21cgarjMdfkuU0KKLkredKU03YbkvFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCshueFcdjzY/FqyNY9rjNjmau9jxtFfgB1mi84wCQbTgIhAJCs89iZaVOgdDGzm0n8shLiKpymmUgisNGioaOQGlYC"}]}},"0.5.1":{"name":"metalsmith-prismic","version":"0.5.1","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^0.9.0","debug":"^1.0.4","prismic.io":"1.0.19","underscore":"^1.6.0"},"devDependencies":{"assert-dir-equal":"0.0.1","handlebars":"^2.0.0-alpha.4","metalsmith":"^0.9.0","metalsmith-templates":"^0.5.2","mocha":"^1.21.3"},"_id":"metalsmith-prismic@0.5.1","_shasum":"29c07a5c3f9f29b7b6a108f519549b724ecaae13","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"29c07a5c3f9f29b7b6a108f519549b724ecaae13","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.5.1.tgz","integrity":"sha512-CXNi0fT89/+E/vvxO2RMXLsxTsuQ/mrWxFTMbenr0yXrUvjLBf29AMqk+OQdSPe43bgsDSAeaQWalwDXKPJqCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxGckrwgPfDtQy/RX7qyy1R7MU4+qc9X61ghURAa4UkQIhAO+TwxmkzZd+lZisFmLsgczdhaXKqC4dBbZqMXT4hYob"}]}},"0.6.0":{"name":"metalsmith-prismic","version":"0.6.0","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^0.9.0","debug":"^1.0.4","prismic.io":"1.0.19","underscore":"^1.6.0"},"devDependencies":{"assert-dir-equal":"^1.0.1","handlebars":"^3.0.0","metalsmith":"^1.3.0","metalsmith-templates":"^0.6.0","mocha":"^2.1.0"},"gitHead":"90e8edda72a9055a357841443325dde450e3085c","_id":"metalsmith-prismic@0.6.0","_shasum":"9ec08c4fe6c24b5b9f697612281f089bd4571f4a","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.10.24","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"9ec08c4fe6c24b5b9f697612281f089bd4571f4a","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.6.0.tgz","integrity":"sha512-/DvNk62MnhVXswYLjxzx+mxTN7jgKoYL2LLi0WKuRpOkeJMQhI4j4RtUqJ0N+Y3LvO9i/thC6rFksIY0QS1GwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDs7s31AYr1nC3vFv+90FF2yjSGfcuAfWCygyYprj0ecgIhAPpPWz9P2ONOkeKSO4zW63vCqs+5hBzw3SLBS5KGA3Co"}]}},"0.7.0":{"name":"metalsmith-prismic","version":"0.7.0","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^0.9.0","debug":"^1.0.4","prismic.io":"1.1.3","underscore":"^1.6.0"},"devDependencies":{"assert-dir-equal":"^1.0.1","handlebars":"^3.0.0","metalsmith":"^1.3.0","metalsmith-templates":"^0.6.0","mocha":"^2.1.0"},"gitHead":"fb0f3476ac0de6e24ce8e3731516c66dea89ed89","_id":"metalsmith-prismic@0.7.0","_shasum":"3ad60ef9b3d50c198241141eb85b472df4d3e228","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.10.24","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"3ad60ef9b3d50c198241141eb85b472df4d3e228","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.7.0.tgz","integrity":"sha512-KbfObLzijWI7fJ9dBFcgnYdLE/AqsZlneTzcB5+Vk7cdrMGsfjCcuMCH3tiSxLR/dr3sth0XSjy7aaXe6HTVOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6PPp2+BPHr3poNCcVK4Zsnz7HVssrf9gHTXLljwBhsQIgJrjsHsbNnTJQs03ZsEZ/2ZA4b5bIwNkDUWeyGVkRN1o="}]}},"0.7.1":{"name":"metalsmith-prismic","version":"0.7.1","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^0.9.0","debug":"^1.0.4","prismic.io":"1.1.3","underscore":"^1.6.0"},"devDependencies":{"assert-dir-equal":"^1.0.1","handlebars":"^3.0.0","metalsmith":"^1.3.0","metalsmith-templates":"^0.6.0","mocha":"^2.1.0"},"gitHead":"12f7660284606d93ca80bdf6502fcef6839f2882","_id":"metalsmith-prismic@0.7.1","_shasum":"b64bce8055048329a08a42ae5aca7ffcdf729c3e","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.28","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"b64bce8055048329a08a42ae5aca7ffcdf729c3e","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.7.1.tgz","integrity":"sha512-+Drogz2d3YpjCzSrjj2r2HTv0r9BvyXjaTGOn+vIbqwpIMYHAk1hLRLEwWUHQ4c/TT8gmMqay1t9O0CjZl6ebA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHrZd3BegXTt/cRoXJnRo2rilAM6qyruoTX01hMXRPTcAiBOeqs/2cAs4WLo50HSm0M/20yvdjse/krR7U5pzuqovw=="}]}},"0.8.0":{"name":"metalsmith-prismic","version":"0.8.0","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^0.9.0","debug":"^1.0.4","prismic.io":"1.1.3","underscore":"^1.6.0"},"devDependencies":{"assert-dir-equal":"^1.0.1","handlebars":"^3.0.0","metalsmith":"^1.3.0","metalsmith-templates":"^0.6.0","mocha":"^2.1.0"},"gitHead":"3aaeeb6084a7f035d0bde602479e186ecc183510","_id":"metalsmith-prismic@0.8.0","_shasum":"47c7310c7a867c1ca47bca87f6f6a1cace9f9561","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.28","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"47c7310c7a867c1ca47bca87f6f6a1cace9f9561","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.8.0.tgz","integrity":"sha512-DTcnCP3crOUxzF2cPcpIPTOBZSP2b5iU8riD3qgoH6hO1FAoCE9vH+34vJVi5mcxHrFyi+3nNH+bo+6jWID4sA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFhrKE6SAUpkXg/d+uWT8zyJbeR6X30cIs6MA/+0Beo8AiAQnUUuJxFgvGlrlz1zb57W9/I26xc83EuJf27tdPExPg=="}]}},"0.8.1":{"name":"metalsmith-prismic","version":"0.8.1","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^1.2.1","debug":"^2.2.0","prismic.io":"1.1.7","underscore":"^1.8.3"},"devDependencies":{"assert-dir-equal":"^1.0.1","handlebars":"^3.0.3","metalsmith":"^1.7.0","metalsmith-templates":"^0.7.0","mocha":"^2.2.5"},"gitHead":"41f79e3c5e9a3469edb4c3fb5ced5739aa89f4dc","_id":"metalsmith-prismic@0.8.1","_shasum":"7262fcffadd718185b3f22f44b5286cb9de60774","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.28","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"7262fcffadd718185b3f22f44b5286cb9de60774","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.8.1.tgz","integrity":"sha512-U9vAUCKKDrslunaG3QwIc5Sh7MwShiD09UnYD1ap0/QJOV9EP+mZXk05AAIc2gSdMKmGibShtY0gdhOsKDvLkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDIG2O3XPq1l8xIU5nBvBZIAtLeXeuy7ltcZ05Fbn7LVAiBme28SaWdEp5pll84Xhs6/+mNdJ4q5Q3MAfwcN4Y/7+w=="}]}},"0.8.2":{"name":"metalsmith-prismic","version":"0.8.2","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^1.2.1","clone":"^1.0.2","debug":"^2.2.0","prismic.io":"1.1.7","underscore":"^1.8.3"},"devDependencies":{"assert-dir-equal":"^1.0.1","handlebars":"^3.0.3","metalsmith":"^1.7.0","metalsmith-templates":"^0.7.0","mocha":"^2.2.5"},"gitHead":"095bd0de0b5a763d34b8a70f622b2653f356142c","_id":"metalsmith-prismic@0.8.2","_shasum":"bde03fdc20f39d5a47467ba77a13ff1254d63c65","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.28","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"bde03fdc20f39d5a47467ba77a13ff1254d63c65","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.8.2.tgz","integrity":"sha512-KotxP8l4lW6BP9CDXA2sWmcm7EJE3+Idc/XFrqwKsdPdPeMSmQ/0ILt7DDUJF5bXfLQJyWQHFUOwx2GVPx2pKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuhqnrOwIX68/w4hbGRT7b36bY9GM3c/xUtJwKeTi1ngIgYvIstoJ1ea71JOP2+Ej46YkWNKilRHFwFvKDmcJpa+A="}]}},"0.9.0":{"name":"metalsmith-prismic","version":"0.9.0","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/mbanting/metalsmith-prismic"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^1.5.2","clone":"^1.0.2","debug":"^2.2.0","prismic.io":"1.4.0","underscore":"^1.8.3"},"devDependencies":{"assert-dir-equal":"^1.0.1","handlebars":"^4.0.5","metalsmith":"^1.7.0","metalsmith-templates":"^0.7.0","mocha":"^2.4.5"},"gitHead":"a94dec05c6deb3fcafefdac46d27e7b387cf1171","_id":"metalsmith-prismic@0.9.0","_shasum":"798b25a8b9962b585ac4bca5b277f71834718daa","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.28","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"dist":{"shasum":"798b25a8b9962b585ac4bca5b277f71834718daa","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.9.0.tgz","integrity":"sha512-DEUdCqdsnAeohdHMAvIh0lPqq+2V6XbBsZNU9NL0Zvu2ERx/RHRexXuOZeUxgj2JaLuFM8IEcme3wfYtCS6p9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOwS83IzCVLu2tqOwYqy5/LjbEwPu8Sh5qHHKeSYku3AIgA3sZExmdnUbSLi2tR2xewqpDQfd8GjRtX7yexSf3GjY="}]}},"0.10.0":{"name":"metalsmith-prismic","version":"0.10.0","description":"A Metalsmith.io plugin to integrate and pull in content from Prismic.io","main":"lib/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/mbanting/metalsmith-prismic.git"},"keywords":["package","Metalsmith.io","Prismic.io"],"author":{"name":"Marty Banting"},"license":"MIT","bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"homepage":"https://github.com/mbanting/metalsmith-prismic","dependencies":{"async":"^1.5.2","clone":"^1.0.2","debug":"^2.2.0","prismic.io":"1.4.0","underscore":"^1.8.3"},"devDependencies":{"assert-dir-equal":"^1.0.1","handlebars":"^4.0.5","metalsmith":"^1.7.0","metalsmith-templates":"^0.7.0","mocha":"^2.4.5"},"gitHead":"b237e355fb056e42cf810e3ef239d45209ca472b","_id":"metalsmith-prismic@0.10.0","_shasum":"39da922636278bf8914f4558e6d25294eefc95ff","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"mbanting","email":"mbanting@yahoo.com"},"dist":{"shasum":"39da922636278bf8914f4558e6d25294eefc95ff","tarball":"https://registry.npmjs.org/metalsmith-prismic/-/metalsmith-prismic-0.10.0.tgz","integrity":"sha512-isWJAKrtF38IwCb9f9txWQfZADzYyNGHTtYOXF0451RpeEv7ujeraD8XWzoEqSiQyMcu4HXI/RVQ+XkkghQTeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDa0yRbMFPQ7VzUM3diExGFmn2dunBXqYcdSVyCpXhemgIgezRzfrKrdUuvQh9Kb6+M8ehV4PD7SpFR9FHcQyEmkRQ="}]},"maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/metalsmith-prismic-0.10.0.tgz_1456115393565_0.2983153483364731"}}},"readme":"# metalsmith-prismic [![Build Status](https://travis-ci.org/mbanting/metalsmith-prismic.svg?branch=master)](https://travis-ci.org/mbanting/metalsmith-prismic)\n\nA Metalsmith.io plugin to pull in content from [Prismic.io]\n\n\n## Installation\n\n    $ npm install --save metalsmith-prismic\n\n## Configuration\n\n### CLI Usage\n\n  Install the node modules and add `metalsmith-prismic` to your list of plugins in `metalsmith.json`. Include the\n- `url` (eg. https://lesbonneschoses.prismic.io/api) of your Prismic.io repository.\n- `accessToken` is optional, depending if your repository needs it or not.\n- `release` the name or raw reference of the release you want to generate; if none specified then master release will be generated\n- `linkResolver` an optional function to generate links or the path of a generated collection of files; if none specified then a default format of \"/&lt;document.type&gt;/&lt;document.id&gt;/&lt;document.slug&gt;\" will be used\n- `htmlSerializer` an optional function to format the resulting HTML. You don't have to write the HTML serialization for all the possible types, just the ones you want to override the default behavior\n\n\n```json\n{\n  \"plugins\": {\n    \"metalsmith-prismic\": {\n      \"url\": \"<your repository's API url>\",\n      \"accessToken\": \"<optional accessToken>\",\n      \"release\": \"<optional release name or raw reference value>\",\n    }\n  }\n}\n```\n\n### Javascript Usage\n\n  Instead of using the CLI, you can configure your Metalsmith.io project to use the metalsmith-prismic plugin via Javascript.\n\n```js\nvar prismic = require('metalsmith-prismic');\n\n// pull in content from Prismic\n.use(prismic({\n    \"url\": \"<your repository's API url>\",\n    \"accessToken\": \"<optional access token>\",\n    \"release\": \"<optional release name or raw reference value>\",\n    \"linkResolver\": <optional linkResolver function>\n    \"htmlSerializer\": <optional htmlSerializer function>\n}))\n```\n\n## Usage\n\nPulling in content from the site's repository in [Prismic.io] for display is a two step process.\n\nIn your file's metadata add the Prismic queries and optional orderings, pageSize, arrayFragments, fetchLinks and htmlSerializer parameters\n```yaml\n---\ntemplate: index_en.hbt\nprismic:\n  page-header-footer:\n    query: '[[:d = at(document.type, \"page-header-footer\")]]'\n  hero-slide:\n    query: '[[:d = at(document.type, \"hero-slide\")]]'\n    orderings: '[my.hero-slide.seqNum]'\n    pageSize: 50\n    arrayFragments: true\n  blog:\n    query: '[[:d = at(document.type, \"blog\")]]'\n    allPages: true\n    formName: 'tech-related'\n---\n```\n###### query\nThe required `query` parameter specifies the query to run, following the [Prismic's predicate-based query syntax](https://developers.prismic.io/documentation/api-documentation#predicate-based-queries).\n\n###### orderings\nThe optional `orderings` parameter specifies how the results should be ordered, following the [Prismic's ordering syntax](https://developers.prismic.io/documentation/api-documentation#orderings).\n\n###### pageSize & allPages\nThe optional `pageSize` parameter specifies the maximum number of results to retrieve for the query. The default is based on Prismic's own default of 20 items. Prismic also caps the maximum results for each query at 100. Any pageSize set above this number will be ignored by Prismic.\n\nTo get around this limitation and retrieve all results, use the optional `allPages` parameter and set it to true. Doing so will force the plugin to override the `pageSize` and get all results by repeatedly executing the query against Prismic, combining all paged results.\n\n###### arrayFragments\nPrismic has an undocumented feature where fragments named like location[0], location[1] and so on, will be returned as an array in the request response. By default, only the first one will be returned. To get an array of all the fragments, use the optional `arrayFragments` parameter and set to true.\n\n###### formName\nBy default the query runs against the _everything_ Prismic form. To run against a different form (eg. a collection), provide the `formName` (eg. collection name)\n\nThis pulls the Prismic response into the file's metadata.\n\n```yaml\n---\n  template: \"index_en.hbt\"\n  prismic:\n    page-header-footer:\n      query: \"[[:d = at(document.type, \\\"page-header-footer\\\")]]\"\n      results:\n        -\n          id: <id>\n          type: \"page-header-footer\"\n          href: <url>\n          tags: []\n          slug: \"home\"\n          slugs:\n            - \"home\"\n          linkedDocuments: []\n          data:\n            homeLabel_en:\n              json:\n                value: \"Home\"\n              html: \"<span>Home</span>\"\n            videoLabel_en:\n              json:\n                value: \"Video\"\n              html: \"<span>Video</span>\"\n            prizesLabel_en:\n              json:\n                value: \"Prizes\"\n              html: \"<span>Prizes</span>\"\n            newsLabel_en:\n              json:\n                value: \"News\"\n              html: \"<span>News</span>\"\n            qcLabel_en:\n              json:\n                value: \"Questions/Comments\"\n              html: \"<span>Questions/Comments</span>\"\n    hero-slide:\n      query: \"[[:d = at(document.type, \\\"hero-slide\\\")]]\"\n      orderings: \"[my.hero-slide.seqNum]\"\n      results:\n        -\n          id: <id>\n          type: \"hero-slide\"\n          href: <url>\n          tags: []\n          slug: \"welcome-to-our-website\"\n          slugs:\n            - \"welcome\"\n            - \"welcome-to-our-website\"\n          linkedDocuments: []\n          data:\n            title_en:\n              json:\n                blocks:\n                  -\n                    type: \"heading1\"\n                    text: \"Introducing our new site!\"\n                    spans: []\n              html: \"<h1>Introducing our new site!</h1>\"\n            introduction_en:\n              json:\n                blocks:\n                  -\n                    type: \"paragraph\"\n                    text: \"Welcome to our new site, generated by Metalsmith.io with content from Prismic!\"\n                    spans: []\n                  -\n                    type: \"paragraph\"\n                    text: \"Why? Because the two combined is a sweet combo\"\n                    spans: []\n              html: \"<p>Welcome to our new site, generated by Metalsmith.io with content from Prismic!</p><p>Why? Because the two combined is a sweet combo</p>\"\n  contents: []\n  mode: \"0644\"\n\n---\n```\n\n###### fetchLinks\nPrismic supports fetching data from nested documents through links using the Prismic `fetchLinks` query parameter. You can use this specify the nested content to be retrieved with this plugin as well.\n```yaml\n---\ntemplate: index.hbt\nprismic:\n  jobOffers:\n    query: '[[:d = any(document.type, [\"job-offer\"])]]'\n    arrayFragments: true\n    fetchLinks: 'store.name,store.address,product.name'\n---\n```\n\n##### htmlSerializer\nIf you choose to pass a custom `htmlSerializer` function, it will alter the `html` property of fragments with the applicable element types.\n\n```javascript\n\n\"htmlSerializer\": function (elem, content) {\n    // Add a class to all <h1>:\n    if (elem.type == \"heading1\") {\n        return '<h1 class=\"test-h1-class\">' + content + '</h1>';\n    }\n}\n```\n\n##### Generating a Collection of Files\nYou'll often need to generate a collection of files from a collection of documents, such as blog posts. This can be achieved with the `collection` property designating that data binding to generate one file for every document in the query's result.\n```yaml\n---\ntemplate: blog-post.hbt\nprismic:\n  blog-post:\n    query: '[[:d = at(document.type, \"blog-post\")]]'\n    collection: true\n  page-header-footer:\n    query: '[[:d = at(document.type, \"header\")]]'\n---\n```\nIn the example above, the query for the blog-post returns a collection of results (ie. a collection of blog posts). Because it's been designated as the collection to generate, a file for each blog post will be created, with each file containing the metadata for a single blog post. The results for all other queries, such as for the page-header-footer in the example above, will also be available for each of these generated files. At most one data binding can be designated as the collection for each source file.\n\nThe location of these files will be determined by the `linkResolver` function, which, as mentioned above, can be overridden with your own function to determine the path in which these files are created in. In addition, the filename of the source will be injected into the `ctx.path` property so you can use it in your `linkResolver` function.\n```js\n\"linkResolver\": function (ctx, doc) {\n    if (doc.isBroken) return;\n    // create file based off of type, id and the filename (extracted from the full path)\n    return '/' + doc.type + '/' + doc.id + '/' +  ctx.path.replace(/^.*(\\\\|\\/|\\:)/, '');\n}\n```\n\nAs mentioned above, if no `linkResolver` function is provided the default one will be used, generating links with the default format of \"/&lt;document.type&gt;/&lt;document.id&gt;/&lt;document.slug&gt;\". This  will generate files with no file extension. To specify one, the `collection` can be further customized with the `fileExtension` property.\n```yaml\n---\ntemplate: blog-post.hbt\nprismic:\n  blog-post:\n    query: '[[:d = at(document.type, \"blog-post\")]]'\n    collection:\n      fileExtension: 'html'\n  page-header-footer:\n    query: '[[:d = at(document.type, \"header\")]]'\n---\n```\nThe example above will append a .html file extension to each generated blog-post file.\n\n##### Displaying Content\nNow that this content from Prismic is available in the file's metadata, you can display it by using the [metalsmith-templates] plugin. For example, here is how to do it with the plugin's [Handlebars] engine.\n\n```html\n<div>\n    <ul>\n        <li><a href=\"#intro\">{{{ prismic.page-header-footer.results.[0].data.homeLabel_en.html }}}</a></li>\n        <li><a href=\"#video\">{{{ prismic.page-header-footer.results.[0].data.videoLabel_en.html }}}</a></li>\n        <li><a href=\"#prizes\">{{{ prismic.page-header-footer.results.[0].data.prizesLabel_en.html }}}</a></li>\n        <li><a href=\"#news\">{{{ prismic.page-header-footer.results.[0].data.newsLabel_en.html }}}</a></li>\n        <li><a href=\"#comments\">{{{ prismic.page-header-footer.results.[0].data.qcLabel_en.html }}}</a></li>\n    </ul>\n</div>\n<div>\n    {{{prismic.blog-post.results.[0].data.title.html}}}\n    {{{prismic.blog-post.results.[0].data.author.html}}}\n    {{{prismic.blog-post.results.[0].data.post.html}}}\n</div>\n```\n\n## To Do\n- This plugin is still early in development and has only been tested with a limited set of Prismic queries and predicates. If anything isn't working please let me know!\n- Mock out Prismic for unit tests, and for integration tests switch to this project's own Prismic repository instead of using the default one\n\n## License\n\n  MIT\n\n[Prismic.io]:https://prismic.io/\n[metalsmith-templates]:https://github.com/segmentio/metalsmith-templates\n[Handlebars]:http://handlebarsjs.com/\n","maintainers":[{"name":"mbanting","email":"mbanting@yahoo.com"}],"time":{"modified":"2022-06-19T18:17:37.254Z","created":"2014-08-05T06:01:41.336Z","0.1.0":"2014-08-05T06:01:41.336Z","0.1.1":"2014-08-05T06:43:31.378Z","0.2.0":"2014-08-13T23:26:02.382Z","0.3.0":"2014-08-15T21:00:47.333Z","0.3.1":"2014-08-20T00:16:09.604Z","0.4.0":"2014-08-21T06:32:29.978Z","0.4.1":"2014-08-21T15:24:29.191Z","0.5.0":"2014-09-02T22:42:30.370Z","0.5.1":"2014-10-26T07:52:28.826Z","0.6.0":"2015-02-20T16:41:10.621Z","0.7.0":"2015-02-20T23:02:58.747Z","0.7.1":"2015-02-24T00:13:45.569Z","0.8.0":"2015-06-16T07:57:18.080Z","0.8.1":"2015-06-16T08:12:09.224Z","0.8.2":"2015-12-12T08:29:55.823Z","0.9.0":"2016-01-29T17:51:25.736Z","0.10.0":"2016-02-22T04:29:57.165Z"},"homepage":"https://github.com/mbanting/metalsmith-prismic","keywords":["package","Metalsmith.io","Prismic.io"],"repository":{"type":"git","url":"git+https://github.com/mbanting/metalsmith-prismic.git"},"author":{"name":"Marty Banting"},"bugs":{"url":"https://github.com/mbanting/metalsmith-prismic/issues"},"license":"MIT","readmeFilename":"README.md","users":{"budparr":true}}