{"_id":"vue-storybook","_rev":"34-abfaee3fe0c3ae54c1a86dc420f3f03b","name":"vue-storybook","dist-tags":{"next":"1.0.0-1","latest":"1.2.0"},"versions":{"0.0.1":{"name":"vue-storybook","version":"0.0.1","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@0.0.1","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"8fd42a5c12f50ee7795e539c76ad3a384fd58304","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-0.0.1.tgz","fileCount":6,"integrity":"sha512-KWKyi5yZPHSMFykB58LphNCMm/bsg2tnAxTgXCcxAz5McsMkxcaw/tqX7aZs0HYJWnc2vgumwiYwWcRBZPV6cg==","signatures":[{"sig":"MEQCIBrXZFVAkqc3WA0TTfSECFnIdJjzpi0+gcN9tGTNUTuRAiB3i5C/KI+oH9+nuyHhvTxhmpGSMP6m+SvI53pfEVWOrQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":527189},"main":"dist/main.js","gitHead":"b2a756a2436221859fc264ca087305ccc25014f5","scripts":{"build":"webpack --mode production"},"_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"_npmVersion":"5.6.0","description":"Custom <story> block for your Single File Components (SFC)","directories":{},"_nodeVersion":"9.5.0","dependencies":{"loader-utils":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-loader":"^7.1.3"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_0.0.1_1520116332051_0.45951044983821565","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.2":{"name":"vue-storybook","version":"0.0.2","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@0.0.2","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"e59fe39874cbc2cfccc52d4ccf9a561d26950057","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-0.0.2.tgz","fileCount":6,"integrity":"sha512-9H4rLNLzvgDRf7mfkoCj551+ihF3ptSqxAKUo0dvz3SmWdVbf0N0tDg8TRg+2GKcA+sIiL7tF2rOmRiOWhvi7A==","signatures":[{"sig":"MEQCIF9JzRCYuQlSEyFIhTrRIC+Tj8hY7oZnQVXLfjmCm1yEAiBYYknR0oAJxltI0WHWp3KP5If/3ANGBuayfcRMfA7WQA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":527239},"main":"dist/main.js","gitHead":"9b5d54f53471e5966051987bbc4c22b7cb50e306","scripts":{"build":"webpack --mode production"},"_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"_npmVersion":"5.6.0","description":"Custom <story> block for your Single File Components (SFC)","directories":{},"_nodeVersion":"9.5.0","dependencies":{"loader-utils":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-loader":"^7.1.3"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_0.0.2_1520116528570_0.8075394003455403","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.3":{"name":"vue-storybook","version":"0.0.3","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@0.0.3","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"9b69c7e5715deda4416921b373ee7191454801c3","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-0.0.3.tgz","fileCount":6,"integrity":"sha512-GwUJeiqQ5UQvLRb3i7HwJvvQcI/M5br/q5JvEQ+QAdf5OyJInujcmx95i7ZaKgBZhJBRzWbiSVRR5xhyp4YhGw==","signatures":[{"sig":"MEYCIQDDaaCjiS78w0E6VHqYTsxnWORAWgLIJvQrxXN8xzimBQIhAOux8VLC44yuokkE8AeYCtVal2Md8741gO5At9sjXnIb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":527318},"main":"dist/main.js","gitHead":"9b5d54f53471e5966051987bbc4c22b7cb50e306","scripts":{"build":"webpack --mode production"},"_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"_npmVersion":"5.6.0","description":"Custom <story> block for your Single File Components (SFC)","directories":{},"_nodeVersion":"9.5.0","dependencies":{"loader-utils":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"webpack":"^4.0.1","webpack-cli":"^2.0.10","babel-loader":"^7.1.3"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_0.0.3_1520116873816_0.7237855118351979","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.5":{"name":"vue-storybook","version":"0.0.5","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@0.0.5","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"868f6d35d67915f6426595c971ee4da067d87403","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-0.0.5.tgz","fileCount":5,"integrity":"sha512-I60jfTm4dgTjcYuj0BmbLNKJxVIYx1Et/rrguBSMTAvG5Zu03Sp4O3xXtjfj/O+YkVkHXS+s+avHiDFjtj0XTQ==","signatures":[{"sig":"MEUCIQD78shF3I7B8OWWFBCMy5wEZpo0jKHnkzR9B1yU3sFkMwIge0ZNemHackSjgZMxZram64ojd69lKtKRO//SGRTFvN4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166449},"main":"src/index.js","gitHead":"b8b82f605c3e546c4969d85d182d167709123b80","scripts":{"build":"webpack --mode production"},"_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"_npmVersion":"5.6.0","description":"Custom <story> block for your Single File Components (SFC)","directories":{},"_nodeVersion":"9.5.0","dependencies":{"loader-utils":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-loader":"^7.1.3"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_0.0.5_1520117625695_0.29700654294192463","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.6":{"name":"vue-storybook","version":"0.0.6","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@0.0.6","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"063a508e22a255e6004292beffd7fcb781f9717f","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-0.0.6.tgz","fileCount":5,"integrity":"sha512-lnlPRZG3MONTZBstfHKzfcxIrd4dm1C+HHF5PrF4+x9f6xoRil2V0HsPk0V0Yp2lxOsXbJm/tiDITzMDU4E1vw==","signatures":[{"sig":"MEUCIGspA3BHnbe5TjPxUpovzllpYaPU4rQowceExba0IeEWAiEAg7BFngJcVbpO22pM6WTnmdyUIelSAXJU4qeN1kOdApU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166453},"main":"src/index.js","gitHead":"44cefa683bfdb557809c173ce92c0e545f1a30ac","scripts":{"build":"webpack --mode production"},"_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"_npmVersion":"5.6.0","description":"Custom <story> block for your Single File Components (SFC)","directories":{},"_nodeVersion":"9.5.0","dependencies":{"loader-utils":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-loader":"^7.1.3"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_0.0.6_1520118207106_0.08788519995563515","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.7":{"name":"vue-storybook","version":"0.0.7","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@0.0.7","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"fb60fd498c3f4f2a74fc4dbec935e85f012230e1","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-0.0.7.tgz","fileCount":5,"integrity":"sha512-DAKNyB+td5y1XyLWMfiL4c5k/a1k7CKob6xVrhYgfviwM5P44jFz/tVONyTZtc8zBdXYHZBOMuywM/e7slKnsg==","signatures":[{"sig":"MEYCIQC7HIKk4Aim6acOin1V4Zs6uhTwVxiJga8I/wq8vIHU2wIhAM9auhBVWf2At6gl35rMTa3a8AY9ls7alL9WDuOHcikz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166455},"main":"src/index.js","gitHead":"0f491e06ed10f9d07cf53d6b07083ead6f0a605a","scripts":{"build":"webpack --mode production"},"_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"_npmVersion":"5.6.0","description":"Custom <story> block for your Single File Components (SFC)","directories":{},"_nodeVersion":"9.5.0","dependencies":{"loader-utils":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-loader":"^7.1.3"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_0.0.7_1520118479395_0.025670963333516816","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.9":{"name":"vue-storybook","version":"0.0.9","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@0.0.9","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"f5de09a6ce164d330b3374da07bf59e4742e08b4","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-0.0.9.tgz","fileCount":7,"integrity":"sha512-tKyhEpt8kWR6ThkCUiXR5RFpJaMYEisUZ+LE+hIM1/W7ZgEB/Bu25Sevn8Wbkbn8DOs3DCNoiM38RtJukF5lKA==","signatures":[{"sig":"MEUCIBapdw15sIPsuxd2gW3zthIopSVk0wfr8GMllj5uhnz5AiEA+H+IAiNDhU+NRJ7BNycatLYysjx3ysxm63TJJkUj2Y0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":527561},"main":"dist/main.js","gitHead":"5e4d5e44cfc9013ad05a9d726f103780fe9d568f","scripts":{"build":"webpack --mode production"},"_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"_npmVersion":"5.6.0","description":"Custom <story> block for your Single File Components (SFC)","directories":{},"_nodeVersion":"9.5.0","dependencies":{"loader-utils":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-loader":"^7.1.3"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_0.0.9_1520119051307_0.8959150091853458","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.10":{"name":"vue-storybook","version":"0.0.10","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@0.0.10","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"78075ef86728b28cd9f2ee1ea6c7786c33f0a986","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-0.0.10.tgz","fileCount":7,"integrity":"sha512-2xjeBb28+CUS/eBBexm2w0XVA5q70kyLJGlf+Ytb1/q8XAqt8tjSB7Rzx3bgOnkyXKDR/AJgO26CC1iDcMQWbg==","signatures":[{"sig":"MEQCIHIkak7j6NtIBCYaXGRh9Q00xRUICYWw0mvvmruPqMQsAiBaZubsKMYYshXS61P0q+bCsrPgmDcIesI6F4lNmhh6Fg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":527367},"main":"dist/main.js","gitHead":"2a64f1dc692e11d85197d9f2de2252d1f2e72852","scripts":{"build":"webpack --mode production"},"_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"_npmVersion":"5.6.0","description":"Custom <story> block for your Single File Components (SFC)","directories":{},"_nodeVersion":"9.5.0","dependencies":{"loader-utils":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-loader":"^7.1.3"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_0.0.10_1520119186738_0.5851360857557029","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.0":{"name":"vue-storybook","version":"0.1.0","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@0.1.0","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"1254c8dd79ffb6aa9f394a1390f913924bed7878","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-0.1.0.tgz","fileCount":6,"integrity":"sha512-jr2xsBMqTDL4zwJXnWjh3AFwlBhXaBDo0gswGVbxbwbG9zXfu0EXQ0y24iX4Bje76tvjrtMkRCLBL2sPhrXLcg==","signatures":[{"sig":"MEUCIQCA+ONL+FA83g18vjBUnOEmOaSsf+qr8gbJ1V9YwFH/xAIgKAU3qVh1Ga5Ia84fbuH+Jjz0el8PxGnyIp1F+xXgul0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1295},"main":"index.js","_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"description":"Custom <story> block for your Single File Components (SFC)","directories":{},"dependencies":{"loader-utils":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-loader":"^7.1.3"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_0.1.0_1520120873227_0.49064970982622547","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.0":{"name":"vue-storybook","version":"0.2.0","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@0.2.0","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"98c0d9bb9365f3e27c1ebc08f1ffce44c86070ed","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-0.2.0.tgz","fileCount":7,"integrity":"sha512-pAB0NO1RV43buwlMUXLu6KIoPqsTnll14VZc43CbUOGzk9Y/Hy+AOQ2GV+pzU2gJF43yN5XfRGwvrInvMN4dPQ==","signatures":[{"sig":"MEYCIQCvxXsftTR2uwib9S7Xy+QwIR4eaT1C3f+HvPyD/iEiDgIhANg50CuD+gOnjpLq8YMep2Jok28h6f6C4qOR5JjRX2Ol","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4605},"main":"index.js","_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"description":"Custom <story> block for your Single File Components (SFC)","directories":{},"dependencies":{"loader-utils":"^1.1.0","serialize-javascript":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-loader":"^7.1.3"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_0.2.0_1520273919737_0.25975426554099745","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.3.0":{"name":"vue-storybook","version":"0.3.0","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@0.3.0","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"1b40bd3e043893c2a0b9330808eec87ebaafc82f","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-0.3.0.tgz","fileCount":8,"integrity":"sha512-9v8E4T+ge0d8IuzCizajdKrLwjeYiIztbWyIoe54urqgHooPrK5pIpi7jPVe495qSYWdkC5oC+GtP9syO7ce6w==","signatures":[{"sig":"MEQCIHdN0R+P7snB5irCm2ttp2X/l/vMF9kG4y3p+aDrJssyAiB6OSpbudqd5zN64Oocj+KeRh60JF65u5MrSx4T9ii/JA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10662},"main":"index.js","_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"description":"Custom <story> block for your Single File Components (SFC)","directories":{},"dependencies":{"vue":"^2.5.16","loader-utils":"^1.1.0","serialize-javascript":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"lodash":"^4.17.5","babel-loader":"^7.1.3"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_0.3.0_1523207029945_0.9536338956577342","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.4.0":{"name":"vue-storybook","version":"0.4.0","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@0.4.0","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"f7b3c6c277492d52fcdb4b25733e9d9757a369e5","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-0.4.0.tgz","fileCount":9,"integrity":"sha512-ZHXSn4h6g0RaFzOfUXyNoM+WiyvxHFidppxIwF+8MvwuO+q6V8nSxqwyd+ku4FI06a/OWT8+mXs7MpLtJRN8Hw==","signatures":[{"sig":"MEQCICtwtZFYhx7ecQRXg06lLogukPqlIUVegCK10POjXec7AiAwrC8DwvVjHdv/33cHlOve2r5NbhUd4OgmWJC588pt/Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9JFcCRA9TVsSAnZWagAAUHgP+waIHrmXNphCd0uQa+Ca\n1iDYay8PIdLjg6uAbpvCKeWnb9FNaqxSbuMejqQ+sdKvEZZ8LTphtNUgVIZs\nLykyoSwq1n2ZRMPuMzyF2NXTwlw5EMbd9Edd0dNDUPp0mE98eZnqwNEngxB4\nyuzHb7bdrQ08lR0nq2BMY4j1HKlkf5LosYUZIi5hnsoINV1xKiEzUGb//q+t\neFSUWtDThKIU+ps9IQgNDky++1gAWqMv6sG7LIA0TplI0Xb3M5nY8tkaFodL\npYp+Cf66kQ70zaZVlGi1cQm8onljTKQwyj7x7v4Ff15oACBpSZQi7HyEdQIh\nq2fbTBT443GRlTb9rFlk8B9k6D3bzAx7Kydr+DVxPd3k+xsWZ/WQ7C255u50\nxo90h9G7yIfZHAoMUx70prsGHecMJyL2Gao9R1syvMHefviuGaLfjqqhGqWk\nTLmGAAJDBZ6RZn8AGXnEvKsq9K50L2ptPWVHDTbRLiwW6JAb6tyCusiCZ9ka\ny20OL5E2fgXWn0ASKGRxWFokoX7RYWTnMWuWRZJuGHo1DiFkOyOv46b7Xu4i\ndgKGtgfw5TFuxL7WoBDEFyc1IKRPWwDNoh7CssWPdSlpdVQzyFF7GaX15rXH\nmUklbN8mSo3pABEUDpzTSLtozMshvNF5sgyfqJFCg4vfxSC28rcn+SrbnKae\nJKW9\r\n=fx2X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"description":"Custom <story> block for your Single File Components (SFC)","directories":{},"dependencies":{"vue":"^2.5.16","loader-utils":"^1.1.0","serialize-javascript":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"lodash":"^4.17.5","babel-loader":"^7.1.3"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_0.4.0_1525977435424_0.5484626153250103","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.0-0":{"name":"vue-storybook","version":"1.0.0-0","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@1.0.0-0","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"de93a57828377866d1716694d22d40d62053a559","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-1.0.0-0.tgz","fileCount":13,"integrity":"sha512-0VNe+OAU9BJEJb404R9YT/woPmoZLg/aU/CDUjfaaZgAZ3GhYoc5A485RdyCdPHXDvi0/ekGOw7U6SA6raGUtA==","signatures":[{"sig":"MEUCIQDs5W3atwqoZsolZfsSni0kggPU9fVb7dkrW4T/hIKIYwIgHQ1ZCPC5lXjG09l03STHoHynJ96mVEd1IB7tNHtXVUU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":211617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmBd7CRA9TVsSAnZWagAArzMP/3OL1hTudMoX8XXup6lH\nY9/9rfmrc0pEN23jRFZXkS5t/0fDEnGhNv0sGXqDKqi6FEqFndpquBIX3OPg\ngD6Lu05L57k/ZQybNFzAT7SlyDy51JxOKu/I84mY6emmCCIEPc0Zvfuvs1Ik\niHKG8Tc31QmrjPtU9nku+uPehC1dZRu2abhTW9s6Ld8UBB3MP4+aJfHjU9lg\nqcvWntE0dEQCGZ/RKjMa2FIGyOc1PbXgx3EyC7N8wfp/u0dvD+InypLizqGW\n5L3llnOIovmXjHtBXtrtd9xFbfu9ikjcey0qTNwV9ppoFFOIDJo3EYZP9Z4x\n6sHhLfq2AG1wCdh9CvrBnGxuMWvF7zAfcKmGNCgxh6t9M4Nr1vmBL9UIEBzP\nP4H/8HHVqQQ4VnJq0YQFEaCFv1MZOx6AlNSIfaR03EBzgAVJpcf55NyQL494\nSeUqupcUmmR2yJdgFChtGL6NackxAL7awKLIjVFqyibza3cnXdGKg58J/hhM\nAbQxI+xA0gV2x4J3DqoNtoioX8JDRBv+4Y0Uq0wgpgELRrumnbzM1pjE5v8S\ncJ2n7LM6bZNSEL1CEXaNXB16vwfDThJjEopffnNuoSvK+LXri0OhgFYQsiUg\nsm3THulpmrWObtdTQiWUyiUXHEUUylH+Z24BAy5Evkxsbm/SQwTVK3atcWzl\nZGz1\r\n=imj/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# vue-storybook\n\nCustom `<story>` blocks for Vue single file components\n\n[![npm version](https://badge.fury.io/js/vue-storybook.svg)](https://badge.fury.io/js/vue-storybook)\n\n```bash\nyarn add vue-storybook\n```\n\n```js\nconst { storyLoader, registerStories } = require(\"vue-storybook\");\n```\n\n## What is this?\n\nA **Webpack loader** + **helper script** that allows you to embellish your pre-existing Vue single file components (SFC) with a custom `<story>` block that's automatically translated into a [Storybook](https://github.com/storybooks/storybook)-flavored story.\n\n### Hello World Example\n\nRepo: https://github.com/mattrothenberg/vue-storybook-example\n\n```vue\n<story name=\"Disabled Button\">\n  <my-button :disabled=\"true\">Can't touch this</my-button>\n</story>\n```\n\nturns into:\n\n![screen shot 2018-03-04 at 10 43 54 am](https://user-images.githubusercontent.com/5148596/36947401-13794112-1f99-11e8-89d8-0741cc38ee45.png)\n\n## How does it work?\n\nGiven an existing Vue storybook project, add or modify Storybook's `webpack.config.js` by importing and adding our loader.\n\n```js\nconst { storyLoader } = require(\"vue-storybook\"); // Import!\nmodule.exports = (storybookBaseConfig, configType) => {\n  storybookBaseConfig.module.rules[1].options = {\n    loaders: {\n      story: storyLoader // Add!\n    }\n  };\n  return storybookBaseConfig;\n};\n```\n\nAdd a custom `<story>` block to your single file component. The following Storybook plugins are supported:\n\n* Actions\n* Notes\n* Knobs\n\nYou can optionally group components by specifiying a `group` attribute. **NB**: For reasons I still don't understand, the `group` attribute _must_ come before the `name` attribute.\n\n```vue\n  <story\n    group=\"Buttons!\"\n    name=\"Dynamic Button\"\n    methods=\"{handleClick: action('click')}\"\n    notes=\"This is cool\"\n    knobs=\"{buttonText: text('Button text', 'initial value')}\">\n      <my-button @click=\"handleClick\">\n        {{ buttonText }}\n      </my-button>\n  </story>\n```\n\nThen, in your main `index.stories.js` (or wherever your write your stories), leverage our helper script to start adding stories\n\n```js\n// Import Storybook + all 'yr plugins!\nimport { storiesOf } from \"@storybook/vue\";\nimport { action } from \"@storybook/addon-actions\";\nimport { withNotes } from \"@storybook/addon-notes\";\nimport { withKnobs, text, color, select } from \"@storybook/addon-knobs/vue\";\n\n// Import our helper\nimport { registerStories } from \"vue-storybook\";\n\n// Require the Vue SFC with <story> blocks inside\nconst req = require.context(\"./\", true, /\\.vue$/);\n\n// Programatically register these stories\nfunction loadStories() {\n  req.keys().forEach(filename => {\n    // The last argument here is an object containing ALL of the plugins you've used in your SFC.\n    registerStories(req, filename, storiesOf, {\n      withKnobs,\n      withNotes,\n      action,\n      text\n    });\n  });\n}\n\n// Let's go!\nloadStories();\n```\n\n## Roadmap\n\n* [x] Actions\n* [x] Knobs\n* [x] Notes\n","scripts":{"dev":"parcel watch src/index.js","build":"NODE_ENV=production parcel build src/index.js"},"_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"description":"Custom <story> block for your Single File Components (SFC)","directories":{},"dependencies":{"webpack-parse-query":"^1.0.1","serialize-javascript":"^1.6.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"^1.3.1","parcel-bundler":"^1.12.3","parcel-plugin-bundle-visualiser":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_1.0.0-0_1553471354875_0.9836093658229537","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.0-1":{"name":"vue-storybook","version":"1.0.0-1","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@1.0.0-1","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"eb807f960d3469c73d4393f7b98e5e678776d5a3","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-1.0.0-1.tgz","fileCount":15,"integrity":"sha512-qsF30bRR1Pg9S4oC28CqTWAeVWuW1i6J7ZpcqCSwmjZsZpO8FEj7NCXdh7y+2IhRgtCvLJFlCEtgG99P4VEXgQ==","signatures":[{"sig":"MEYCIQCWOD0SmNCtFH3YbwcNowrKINI64uqcd719H0Jodn33xgIhAKdzz+7tzmo7+iYFlxhID22Zz6eLz2dz+eoIhS8hOQ7a","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":214813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnn8pCRA9TVsSAnZWagAAXHAQAIrZutVDhT9ayVIvvcC8\nHYYzHE8yrJ2Pp6YYbcc9rDL74Fj6YecoIKdtCPkhtxhEBclQiBjrXEBFDMLY\n0rSJEGUrou8WJ9kNA30MFrKX+O6ZROY5AIcDtH9FVwodQdj+1zOOEdpRtpaF\nyUkwkC0X49LT86n4X3C8XhawRDEF0yEgLdQaWLK/iBhmK+jXBF/0AwoLUAKS\nTgyBxkDBBYRMBnn19NxHQPRTh/rTHPcDrWh64qT/ETJ4ITB55UpK6qij1Tzn\nDW//UuAv3KEX9jT57TeC9VHNJsazGEsyYa24qh72OYaqM8uQNAQfC2GpTNSd\nq96HVumLS6ME8fwegnRzt2P3Ybd7hBkSG1wK3R05ck9kb9B6Vc3XM55EvQKY\nvleB21mNMMnJNqJwmpm2vqjZRkA7J2tHLQ1C6ke4gyB/34T9QWSxySwj7NLU\nlXq1XGebsY0/iAz8rnZEhEQxit8hTPBv710EzYFDsYvW+lqrbJ7gWxpvrWRy\nmfSWjnsk8Ghffd3U4ppEQgJmMi39z+rQDMWnsbvQBTcEztrkGKcKeGIgyoCw\n9Zbq6HPJrrP/wZNossnPlY74ADUmylBVtvRisLCOBsY2nFd1oe9FwsE6/bwl\nCSOAiSVeSlYo1u1WAACe8PDWFLl/CAV5I/18tfrxUrjvYYyP8v9oHUB4dBxo\nfzxB\r\n=C6Ak\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# vue-storybook\n\nCustom `<story>` blocks for Vue single file components\n\n[![npm version](https://badge.fury.io/js/vue-storybook.svg)](https://badge.fury.io/js/vue-storybook)\n\n```bash\nyarn add vue-storybook\n```\n\n```js\nconst { storyLoader, registerStories } = require(\"vue-storybook\");\n```\n\n## What is this?\n\nA **Webpack loader** + **helper script** that allows you to embellish your pre-existing Vue single file components (SFC) with a custom `<story>` block that's automatically translated into a [Storybook](https://github.com/storybooks/storybook)-flavored story.\n\n### Hello World Example\n\nRepo: https://github.com/mattrothenberg/vue-storybook-example-project\n\n```vue\n<story name=\"Disabled Button\">\n  <my-button :disabled=\"true\">Can't touch this</my-button>\n</story>\n```\n\nturns into:\n\n![screen shot 2018-03-04 at 10 43 54 am](https://user-images.githubusercontent.com/5148596/36947401-13794112-1f99-11e8-89d8-0741cc38ee45.png)\n\n## How does it work?\n\nGiven an existing Vue CLI + `vue-cli-plugin-storybook` project, modify your project's `vue.config.js` thusly.\n\n```js\n// vue.config.js\nmodule.exports = {\n  chainWebpack: config => {\n    config.resolve.symlinks(false);\n  },\n  configureWebpack: config => {\n    config.module.rules.push({\n      resourceQuery: /blockType=story/,\n      loader: \"vue-storybook\"\n    });\n  }\n};\n```\n\nAdd a custom `<story>` block to your single file component. The following Storybook plugins/APIs are supported:\n\n- Actions\n- Story Options\n- Notes\n- Knobs\n\nYou can optionally group components by specifiying a `group` attribute.\n\n```vue\n<story\n  options=\"{\n    panelPosition: 'right'\n  }\"\n  name=\"with knobs\"\n  group=\"MyButton\"\n  notes=\"### this is the coolest story ever\"\n  knobs=\"{\n    initialText: {\n      default: text('Initial Text', 'default value goes here')\n    },\n    isDisabled: {\n      default: boolean('Is Disabled?', false)\n    }\n  }\"\n>\n  <my-button :disabled=\"isDisabled\" @click=\"action('show me the money', isDisabled)\">{{initialText}}</my-button>\n</story>\n```\n\nThen, in your main `index.stories.js` (or wherever your write your stories), leverage our helper script to start adding stories. NB: the signature of `registerStories` has changed significantly.\n\n```js\nregisterStories(req, filename, storiesOf, config);\n```\n\n`config` is now an object with the following keys,\n\n```js\n{\n  knobs: {\n    // put the knobs you plan on using\n    // (things like `text` or `select`)\n    // in this object\n  },\n  decorators: [\n    // an array of decorator functions\n  ],\n  methods: {\n    action // where action is the exported member from `addon-actions`\n  }\n}\n```\n\n```js\n// Import Storybook + all 'yr plugins!\nimport { storiesOf } from \"@storybook/vue\";\nimport { action } from \"@storybook/addon-actions\";\nimport { withNotes } from \"@storybook/addon-notes\";\nimport { withKnobs, text, boolean } from \"@storybook/addon-knobs/vue\";\n\n// Import our helper\nimport { registerStories } from \"vue-storybook\";\n\n// Require the Vue SFC with <story> blocks inside\nconst req = require.context(\"./\", true, /\\.vue$/);\n\n// Programatically register these stories\nfunction loadStories() {\n  req.keys().forEach(filename => {\n    let config = {\n      knobs: {\n        text,\n        boolean\n      },\n      decorators: [\n        withKnobs,\n        function(context, story) {\n          return {\n            template: `\n              <div><story /></div>`\n          };\n        }\n      ],\n      methods: {\n        action\n      }\n    };\n\n    registerStories(req, filename, storiesOf, config);\n  });\n}\n\n// Let's go!\nloadStories();\n```\n\n## Roadmap\n\n- [x] Actions\n- [x] Knobs\n- [x] Notes\n- [] Info\n- [] Readme\n","scripts":{"dev":"parcel watch src/index.js","build":"NODE_ENV=production parcel build src/index.js"},"_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"description":"Custom <story> block for your Single File Components (SFC)","directories":{},"dependencies":{"webpack-parse-query":"^1.0.1","serialize-javascript":"^1.6.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"^1.3.1","parcel-bundler":"^1.12.3","parcel-plugin-bundle-visualiser":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_1.0.0-1_1553891112354_0.3808041550582786","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.0":{"name":"vue-storybook","version":"1.0.0","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@1.0.0","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"85cceabd395595829363318c2ee4503d98ea7c9d","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-1.0.0.tgz","fileCount":15,"integrity":"sha512-IbRpXN0g8GRciU9r3S0gu2qq+cBrrjOhrtdDX+YUm94HR5sTbbQgIaZEG9rKmcqObXXIbLz0KeZj9WKMblFPUg==","signatures":[{"sig":"MEUCIH5VbhtTSSQy6ME3ppOMULFAzcAhvw0/7IdImy8lW5k6AiEAwu8qoNrYfm5Ez+qjJgurIQhwIHl5XqQR5ImzzGQfL3c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":214959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwvzJCRA9TVsSAnZWagAA2VMQAIdHSH7sanU0pmtDApxE\nngySHTSApsq+H+LraE6HYCldyeuAnAdXXwLv0AKAxbbe4bcskb7ZYVf2xP8z\nkhiOHMVC8pq+eXggS6TDmIo0m81nGCXgGiVMRl9c5YCfCeDBsNp+TvTLMDNK\n4ZY5+zqbMhhUvXrIUuf+jpW1ZdFTgKRU/fNLGV7TbWMl347IhZHM9vEjaf7I\ne3M3tLKWuGvv6L10wI8QJmXccSmE+Mee0fwAPK2mQRgBONlJruAuk95YfJwr\nvldzsjDs6W19NGRcGPoFLUOgH5HYl5lKXh4x4l1AqNTL3wHry62spkoGi0CH\nA6mG7pqjeAxtNqZYGBiYtU15xDzBDKaWMnWlOVqxiYDwCLP+JArumaPW4IOM\nCLUY/X7QrMhGzM1gytn3xbD/vjY2Ec4b91JPP0qUSeBD48h7t8tV5C7+Uh/j\nZKhtzqZcMJYQUu8P5VvgG+2ENFIBns3oqCSVmEM/JSXoI47uMQ4swG5X1yKq\nvnDjezH+3Xe4iZEp5RVy7Ho025Qv6IwfQdaeYntSatfbxS9tQRWmFTp83mnG\n6L+kwjOlZwoxYWh9MSymkbPS1TEfSvK4M6Vm2GG0Ar8KfZ6aER5FsWBA3WXt\nfM6Zq46SQvDgkG3RXqOWsd/o4eSGAU69plitSftbSpObxq642gAzTCEQC1ke\nh3tS\r\n=NqGd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"dev":"parcel watch src/index.js","build":"NODE_ENV=production parcel build src/index.js"},"_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"description":"Custom <story> block for your Single File Components (SFC)","directories":{},"dependencies":{"webpack-parse-query":"^1.0.1","serialize-javascript":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^1.3.1","parcel-bundler":"^1.12.3","parcel-plugin-bundle-visualiser":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_1.0.0_1556282568540_0.5707274045352511","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.1.0":{"name":"vue-storybook","version":"1.1.0","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@1.1.0","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"159b13783f8b2762048d9bdec420e87890c654f4","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-1.1.0.tgz","fileCount":13,"integrity":"sha512-JRX9bYI49hEiOoU2OWon/xx/knYidXru6BMZS/e/nrDwFyWF1oeyLCaNgCD0dSJDYKrs/7hNetpPxzkTgSHbyA==","signatures":[{"sig":"MEQCIAwi1e/l/fxX0pXv/I1SakYBLEZJMG+CrwLLLLcHkiouAiAhtS+Ula/655PbOaR9Kk9HWL+Y/DRJ8s72gLdQxQL7FA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTVqBCRA9TVsSAnZWagAAUPEP+gPoCTpculpkZSQ+Qin0\nVs4xuF4uB2aWysJLQoRApZUBN3Tr9HnV1Q5s/1h7gOd8d3LdPJ4mOXX+isb3\nJBRngzhOjqQhBOQX/0ZWg3ruR+2JgV6TygDydgRDZeVYaz6d1mU+RUxDbjsj\nrh04NN42CDE5cRzHwO92pLwnz2yLMYsnyW/GaIZOUycYrefaxjbgEEzLWKtj\nsvRXc4MWjCgwfbUV1KiEHGtlYA1hD1pNfVnViNdIKXbgWmn9yu5TUtT1og3n\nD+JkRW4sHTjzXEOTFEfuFKxavlWys2LdwIIa1hlxYaX9EaRUbDnu+T4G7SCV\nB7P6RNeha4u1UOYXe1sH91QzsRMdiOv4FGmTBJJPLrlPkWYMVXAwWp0fYaBu\njtyJB+nZTk4/9j7RAzbjRGh8W+ZK5qmi2AahyQ4tRKG/fhB5A/AeSsJV5sZ5\n2VvEFiP5eCuZ3PoVloliErYUEYp048EYzHFIF3OyG3RUVKsyQxQ3jLjyGlnk\ncZvYhldr5eTeVwORexwO66/JuDbe+KuBsBQ6lcKJ4bNGoEaYn8u26fY+Bivj\nFZjzNzR7pu95iS4kyQaZEgAZxNvCdHtv7YUxAam+LQyoAFHN+SNUYPfYN9rn\n93dycZO3+p/piXGftjdjx3AnJbXs3ivB/nd5dhvv7RYp0a35UmM2PnDzOABa\nZF45\r\n=Lc5+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"dev":"parcel watch src/index.js","build":"NODE_ENV=production parcel build src/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"description":"Custom <story> block for your Single File Components (SFC)","directories":{},"dependencies":{"webpack-parse-query":"^1.0.1","serialize-javascript":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^1.3.1","parcel-bundler":"^1.12.3","parcel-plugin-bundle-visualiser":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_1.1.0_1565350528592_0.19932874635097342","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.2.0":{"name":"vue-storybook","version":"1.2.0","author":{"name":"Matt Rothenberg"},"license":"ISC","_id":"vue-storybook@1.2.0","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"dist":{"shasum":"d3ede7cd9870069ee9953cdeb73d0a0bd2395c36","tarball":"https://registry.npmjs.org/vue-storybook/-/vue-storybook-1.2.0.tgz","fileCount":13,"integrity":"sha512-zAH0LSqC3jGDOZZxVY/ydbTvXzEoY7a+Hm32eTXeYe8/useoj5DJ8x9JZpaA/qW/cwAATgyuRruPZ+cb9HMEWQ==","signatures":[{"sig":"MEUCIQDD8/PrSo8/5OqQRfHrJF3BsAc9PX3OtmrVHVYuexqt+gIgMJbq5IkrkgOH3vFP0pfFi9xZ2mXcyGc1bsBZ9bhqx3g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+E4YCRA9TVsSAnZWagAAQlIP+QFcfBPfucO7LD/2gFwq\nwEnsXSWR3ejvof3fc6V8Vxig2G0FM5jGTfGJO0NSp8EONfAJAGgzwxrBtle4\nxNG0gOU4XlhmX4IvP1+AlCAfL3zNaRX15AvJgkUQ0UZIX++FyWqOWsxDfAAa\nC7S54f3wkHUojRU8I5GctGVLZh/DA3Uthf45tpuN5LRhTdb1ryGEVq6wZDYp\nvLH5CJb9Dfn/joyFVxmGgtbuurHTC6oNkm3W+eQ0wHg4hm6wIMujH8ukKUAo\nfzYD/noZaQ3WRKnZbaB9wNnSicabVi+aKXCbIB8tu8yEoneHFfMao7UK6MUA\nQxKx1hAFYipeRUiYWL28sQW6zBma/HV8XFqYp1sZQhpTb+ihEHSSYBQ6i+E0\nW+DPNRXgm1/XuYTwohDz1YhyDfPb6qGnlDGZAKlxn5ViK+qQTKq8MjMzkrWC\nWIaA8TfaFVXXdrcQ9VN1lRdAuFdf6HkhFeCkdCUytolc4zYjh3GYogYKPwX0\n3m/HYHMWTGqSj5Yjo6NAzUujag0Q38L3dlDymjnrnoTX09JJfYUo3a7enMvz\nt5DTmyqkbLF9ewZC4DJL5MrEmG7EzBCGrmEuHGgiJWXI/00hreBKVyDXCxc4\nGomgrisAHF4hoQE/0AE/APasNh1Yvn9g2/Z9hRlG26scWOTNrcrr16WySAxM\nEmlb\r\n=+mKi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"dev":"parcel watch src/index.js","build":"NODE_ENV=production parcel build src/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"mattrothenberg","email":"hello@mattrothenberg.com"},"description":"Custom <story> block for your Single File Components (SFC)","directories":{},"dependencies":{"webpack-parse-query":"^1.0.1","serialize-javascript":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^1.3.1","parcel-bundler":"^1.12.3","parcel-plugin-bundle-visualiser":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/vue-storybook_1.2.0_1576554007842_0.3556719444551226","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2018-03-03T22:32:12.051Z","modified":"2026-05-20T15:04:56.843Z","0.0.1":"2018-03-03T22:32:12.141Z","0.0.2":"2018-03-03T22:35:28.722Z","0.0.3":"2018-03-03T22:41:13.921Z","0.0.4":"2018-03-03T22:46:26.943Z","0.0.5":"2018-03-03T22:53:45.841Z","0.0.6":"2018-03-03T23:03:27.196Z","0.0.7":"2018-03-03T23:07:59.538Z","0.0.8":"2018-03-03T23:12:46.448Z","0.0.9":"2018-03-03T23:17:31.403Z","0.0.10":"2018-03-03T23:19:46.883Z","0.0.11":"2018-03-03T23:25:24.522Z","0.0.12":"2018-03-03T23:31:11.073Z","0.0.13":"2018-03-03T23:33:32.497Z","0.0.14":"2018-03-03T23:41:33.884Z","0.1.0":"2018-03-03T23:47:53.283Z","0.2.0":"2018-03-05T18:18:39.809Z","0.3.0":"2018-04-08T17:03:50.017Z","0.4.0":"2018-05-10T18:37:15.681Z","1.0.0-0":"2019-03-24T23:49:15.042Z","1.0.0-1":"2019-03-29T20:25:12.460Z","1.0.0":"2019-04-26T12:42:48.695Z","1.1.0":"2019-08-09T11:35:28.686Z","1.2.0":"2019-12-17T03:40:07.990Z"},"author":{"name":"Matt Rothenberg"},"license":"ISC","description":"Custom <story> block for your Single File Components (SFC)","maintainers":[{"name":"mattrothenberg","email":"hello@mattrothenberg.com"}],"readme":"# vue-storybook\n\nCustom `<story>` blocks for Vue single file components that work out of the box with Vue CLI 3 and [`vue-cli-plugin-storybook`](https://github.com/storybooks/vue-cli-plugin-storybook).\n\n[![npm version](https://badge.fury.io/js/vue-storybook.svg)](https://badge.fury.io/js/vue-storybook)\n\n```bash\nyarn add vue-storybook\n```\n\n```js\nconst { storyLoader, registerStories } = require(\"vue-storybook\");\n```\n\n## What is this?\n\nA **Webpack loader** + **helper script** that allows you to embellish your pre-existing Vue single file components (SFC) with a custom `<story>` block that's automatically translated into a [Storybook](https://github.com/storybooks/storybook)-flavored story.\n\n### Hello World Example\n\nRepo: https://github.com/mattrothenberg/vue-storybook-example-project\n\n```vue\n<story name=\"Disabled Button\">\n  <my-button :disabled=\"true\">Can't touch this</my-button>\n</story>\n```\n\nturns into:\n\n![screen shot 2018-03-04 at 10 43 54 am](https://user-images.githubusercontent.com/5148596/36947401-13794112-1f99-11e8-89d8-0741cc38ee45.png)\n\n## How does it work?\n\nGiven an existing Vue CLI + `vue-cli-plugin-storybook` project, modify your project's `vue.config.js` thusly.\n\n```js\n// vue.config.js\nmodule.exports = {\n  chainWebpack: config => {\n    config.resolve.symlinks(false);\n  },\n  configureWebpack: config => {\n    config.module.rules.push({\n      resourceQuery: /blockType=story/,\n      loader: \"vue-storybook\"\n    });\n  }\n};\n```\n\nAdd a custom `<story>` block to your single file component. The following Storybook plugins/APIs are supported:\n\n- Actions\n- Story Options\n- Notes\n- Knobs\n\nIt is also possible to pass options for other addons using the `parameters` attribute.\n\nYou can optionally group components by specifiying a `group` attribute.\n\n```vue\n<story\n  options=\"{\n    panelPosition: 'right'\n  }\"\n  name=\"with knobs\"\n  group=\"MyButton\"\n  notes=\"### this is the coolest story ever\"\n  knobs=\"{\n    initialText: {\n      default: text('Initial Text', 'default value goes here')\n    },\n    isDisabled: {\n      default: boolean('Is Disabled?', false)\n    }\n  }\"\n  parameters=\"{\n    foo: { ... }\n  }\"\n>\n  <my-button :disabled=\"isDisabled\" @click=\"action('show me the money', isDisabled)\">{{initialText}}</my-button>\n</story>\n```\n\nThen, in your main `index.stories.js` (or wherever your write your stories), leverage our helper script to start adding stories. NB: the signature of `registerStories` has changed significantly.\n\n```js\nregisterStories(req, filename, storiesOf, config);\n```\n\n`config` is now an object with the following keys,\n\n```js\n{\n  knobs: {\n    // put the knobs you plan on using\n    // (things like `text` or `select`)\n    // in this object\n  },\n  decorators: [\n    // an array of decorator functions\n  ],\n  methods: {\n    action // where action is the exported member from `addon-actions`\n  }\n}\n```\n\n```js\n// Import Storybook + all 'yr plugins!\nimport { storiesOf } from \"@storybook/vue\";\nimport { action } from \"@storybook/addon-actions\";\nimport { withNotes } from \"@storybook/addon-notes\";\nimport { withKnobs, text, boolean } from \"@storybook/addon-knobs/vue\";\n\n// Import our helper\nimport { registerStories } from \"vue-storybook\";\n\n// Require the Vue SFC with <story> blocks inside\nconst req = require.context(\"./\", true, /\\.vue$/);\n\n// Programatically register these stories\nfunction loadStories() {\n  req.keys().forEach(filename => {\n    let config = {\n      knobs: {\n        text,\n        boolean\n      },\n      decorators: [\n        withKnobs,\n        function(context, story) {\n          return {\n            template: `\n              <div><story /></div>`\n          };\n        }\n      ],\n      methods: {\n        action\n      }\n    };\n\n    registerStories(req, filename, storiesOf, config);\n  });\n}\n\n// Let's go!\nconfigure(loadStories, module)\n```\n\n## Roadmap\n\n- [x] Actions\n- [x] Knobs\n- [x] Notes\n- [ ] Info\n- [ ] Readme\n","readmeFilename":"README.md"}