{"_id":"@chancedigital/new-component","_rev":"8-19c85f3ca21f9e284940b842ee89c2c0","name":"@chancedigital/new-component","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.1":{"name":"@chancedigital/new-component","version":"0.0.1","description":"CLI for creating new React components","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chancestrickland/new-component.git"},"keywords":["react","reactjs","cli","component"],"author":{"name":"Chance Strickland"},"license":"MIT","bin":{"new-component":"./src/index.js"},"dependencies":{"chalk":"2.1.0","commander":"2.16.0","prettier":"1.12.0"},"gitHead":"c5257c7f900da2929d1ba6ef90415be3ce8a6b61","bugs":{"url":"https://github.com/chancestrickland/new-component/issues"},"homepage":"https://github.com/chancestrickland/new-component#readme","_id":"@chancedigital/new-component@0.0.1","_npmVersion":"6.1.0","_nodeVersion":"8.11.3","_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"dist":{"integrity":"sha512-xIdIhoK4g6E3UvnSRS2TZsdIn+6enIFhMS8/a3r8FRopXkJFAZk1czYLvVqK92AGHINAEmH+PtPgYokjij2X2A==","shasum":"c401a2ad6e72d467e0b63b583b61c4d9b6f7759d","tarball":"https://registry.npmjs.org/@chancedigital/new-component/-/new-component-0.0.1.tgz","fileCount":16,"unpackedSize":86889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbS4p+CRA9TVsSAnZWagAAD/YP/Aheij7S1AiF69N7rGps\neVZyGQX0FxYL8cxxbmVlY0ildYwjOtf/Pop378s4nVGbCouDM8EulixXnOa0\nM6fZA2lyGspMMQ9N5khbkBK8iaR7xLKwsTMBSIODOg5U0hCe2Yg8E0YC8mWv\nRU/BNoD1ScIn4wDMtJ9tP5ING8z56R2HvBTUAJ5b198xVDfTR4C1MXK1YV6C\n5ODvMh5UNSBa0mFSC03bymdgxqlqKIDPmL1C53eddOcoel4NqGuAVR9z9K1K\nrq69LnELilqn5cYgP2pxsrC3Qxah/nxrRlvYovfJ2aKxx4Au5lqSNPudnvNU\n+rvYNqQ9WYE4sexOhEp7aBPsHtbcSUb2woXDy3FH814uUBsLX/I/huOsa/3n\nHk8h1bD9fvv61fTqSHP7u26J48LmmU2KQictHaEeaPnsTOvscBnT/ILAS5Tg\nOO+B2coAbZHuIU2rlyzjX+zV6kQ52fkFHz72pCXFzQE6ndb76PVMvNLmaZYt\nodmC7qBXHQBidC8yEBL1N8edoObDLCANtjIDyXRNQSqgvyL2BLFWYebwpwIG\nT1w/d6/khuOIFdeeMRIbu9N3MyUNAfsULDVEPRkk19uzsM1S+6ooDht0XJNi\nTcVxKsnYikgD8xVIeHMrtPumPxDJOYGSlcruzZ8gJOcj7naInqcXk4zvnitS\nRbwK\r\n=T0gc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDfW6r1FAlNX1PYIywk3xsykf/y0QMSd7Tw/h4ZhwBqvAiAME/An/839A6njjn9QUnJdLlWz2WhUlHc3eAg3sFW90w=="}]},"maintainers":[{"name":"chancestrickland","email":"chance.strickland@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/new-component_0.0.1_1531677310381_0.4882075089960394"},"_hasShrinkwrap":false},"0.0.2":{"name":"@chancedigital/new-component","version":"0.0.2","description":"CLI for creating new React components","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chancestrickland/new-component.git"},"keywords":["react","reactjs","cli","component"],"author":{"name":"Chance Strickland"},"license":"MIT","bin":{"new-component":"./src/index.js"},"dependencies":{"chalk":"2.1.0","commander":"2.16.0","prettier":"1.12.0"},"gitHead":"ae4c0650c4cfe70d0894462385fe479484f8c26d","bugs":{"url":"https://github.com/chancestrickland/new-component/issues"},"homepage":"https://github.com/chancestrickland/new-component#readme","_id":"@chancedigital/new-component@0.0.2","_npmVersion":"6.2.0","_nodeVersion":"8.11.3","_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"dist":{"integrity":"sha512-YDUQk8N2wNo1ICE1JKZ8qQeInm9qJPTghVFlOEBo/Z4N29zQqQEQ7cHvr7c8r2bH3Xa6iFFI8mtMF2kqjkRFYQ==","shasum":"acd1435e93956537a3e82b61f1f398d326aebe40","tarball":"https://registry.npmjs.org/@chancedigital/new-component/-/new-component-0.0.2.tgz","fileCount":16,"unpackedSize":87585,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTAnuCRA9TVsSAnZWagAApaIQAIFT0vnHwDIU5z1fDt/X\nA2SdjVqgAJPWWSN8hoAbhEkuhmRarla3y3JCW6GOXfxCJRaduveKa8y3Rwnv\ndWKdEytp3QeVJvAv037e46oI+P3QpQ/byyBDQLzDrv66IIjulUsuGw4pw2mJ\nqfnMPGus7KhKzmOjc6wsdQ196DB/ugWmjUKNQKmAF6xKd2Cz6VXOEtemRE8Y\nlCkn9ANI8CZVSFbg1XmAWGNndLYIPF9XDI1OZaO6lOVTwTKzkweN6hqAaGxR\nSHQBW4Uw87rInr1pFQPnhHVka6ABsHa9CupkCarcHqyVhAU7WyvlScbYlgeJ\n6i5YWZSR9AqFYJ5NWzBFnWOrnxRKAX9ljpVPObko92j3/U9M1UHSZomvqPly\nClj41C6zQk4SS58cdyrZeNkzdy7IHS6sf5tP0Xz7D2XHKftNEvjATZSF8w+S\nMicRTfYO7o/NDsDv768jtLZEw9L8fPTh9iRil1vNYw/W8j/FROPquZ4z+AJy\npRkhwkNNR/WYmSLpQaOT5NCQC1T1Exg1DSPPjZH0LDKgodieZ7X2fXIv+M5Q\nUxQESdTsOE3GLyI02vl5j939fHh7O8U+jC137X9NqC5fSJzKgo0eG1nbBYO5\nK/gnQ2jspfQomdk6HELXyqfow7YIfag1NiYslWQ2FrFfPQEhgVoXnnpKI2qR\nf6Ub\r\n=zRwK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG3G835Vd7EHbbUMVwUmcRBv5ix+mFDSaerKGmaz9c3PAiEA4FfRq6bOStvIUOAWAi1Dpyf8mt619Zy6X+Erap/Jljo="}]},"maintainers":[{"name":"chancestrickland","email":"chance.strickland@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/new-component_0.0.2_1531709933920_0.28276194099223595"},"_hasShrinkwrap":false},"0.0.3":{"name":"@chancedigital/new-component","version":"0.0.3","description":"CLI for creating new React components","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chancestrickland/new-component.git"},"keywords":["react","reactjs","cli","component"],"author":{"name":"Chance Strickland"},"license":"MIT","bin":{"new-component":"./src/index.js"},"dependencies":{"chalk":"2.1.0","commander":"2.16.0","prettier":"1.12.0"},"gitHead":"d81403ac2d99b952796a7d85ae11b5e4fcb67301","bugs":{"url":"https://github.com/chancestrickland/new-component/issues"},"homepage":"https://github.com/chancestrickland/new-component#readme","_id":"@chancedigital/new-component@0.0.3","_npmVersion":"6.2.0","_nodeVersion":"8.11.3","_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"dist":{"integrity":"sha512-z2N7Hyrqd4unMyItj4AiAYl5qHTEopXFh+huFQjxP3s0vmWN/4EOjJxx4xROgZH4CA+IFkaZ+MUAiA6biGlXKw==","shasum":"56dbad673bbfe2019856d59abadfc0a6175c600e","tarball":"https://registry.npmjs.org/@chancedigital/new-component/-/new-component-0.0.3.tgz","fileCount":16,"unpackedSize":87914,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTAy/CRA9TVsSAnZWagAAcpQP/jLaphlHxxP4zEG7uEMa\nLvoN6QdLl4vXlIDZ0fiSXJRLSaxjsfPPB8RJpb5X7/fEp5Yo6q8gPjsGLiks\nsGEatOTEuIKeJ8it7wbXdAsauusTNLtcibzgrX4ubTJizMv03N2Qpd9CC6qV\nTyb2Et1oor66MuJlcqN7qsf+KO8YuAkwp+K8JgmloCV7SlGbjeKeCC2hfREA\nJJIGdOSdzhVuI68VDX78VsDTCCQ6W9ubCoKvHoRL6S4i8gazEESaR4nTiXnx\ns6ULyfgTEGSyfp5dXcenxCTnzGfWb/fJfn7jC1RBOCwe8ji9WmRBmr0/cE/E\nQT6kRzlcUOJaRN4Sv5hm9C+YJL6H1OGP0c3BjgTP5dsXDNVQMkJppzZcYoRg\njje1VZa047XBZ/So2kBLiMG1ZgdUAeJm4Xlf08pV4IZ93Ldvsfyj+ZyOw5T7\nc3LCxu5Z5K+/F5rkzPWDQG4OVePHVl+Bld5MsukxB/KiqVaBuRpCal9Su0MQ\nFUeLTKQ2vE2090aWXntuM5MkZPL1DFekGKdrZX+qSUeTz+risk+9jUa3Nf6e\nkA6nm8vm5UjTVoELswOgn9o+IKYkNHV+CGWm7CxcOg/KWhJLYaQrr6Xv6Yon\nhpBDlWkQaT8lpqlGGbXnicfXKxVra6MMeDt6Fh4ZcLc5Wj11EArRqbkeBfG1\nj8O9\r\n=ssmb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCauUWW1qSGrT0KduiOhi5XjC6yV2uHHqUOYBIwoQv1oQIgU2iXWuAwrJ6vlpiq54brSrsnMrE+Gfw/jQcj280P3fQ="}]},"maintainers":[{"name":"chancestrickland","email":"chance.strickland@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/new-component_0.0.3_1531710655330_0.3919366787397578"},"_hasShrinkwrap":false},"0.0.4":{"name":"@chancedigital/new-component","version":"0.0.4","description":"CLI for creating new React components","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chancestrickland/new-component.git"},"keywords":["react","reactjs","cli","component"],"author":{"name":"Chance Strickland"},"license":"MIT","bin":{"new-component":"./src/index.js"},"dependencies":{"chalk":"2.1.0","commander":"2.16.0","prettier":"1.12.0"},"gitHead":"d051f8d3a402e9c978ff9f6d15d2cf03804a4745","bugs":{"url":"https://github.com/chancestrickland/new-component/issues"},"homepage":"https://github.com/chancestrickland/new-component#readme","_id":"@chancedigital/new-component@0.0.4","_npmVersion":"6.2.0","_nodeVersion":"8.11.3","_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"dist":{"integrity":"sha512-xHmgPziy292qNmxeQkBdN5zwD7t0l4JHNhGGlA9x2DaQUYXQxv7073cO+vudwlzVwbemaUFXOuiKDDCBK7dkAQ==","shasum":"3e9ee3585f7a1b3e44cc466d72d2e47fd1205ff8","tarball":"https://registry.npmjs.org/@chancedigital/new-component/-/new-component-0.0.4.tgz","fileCount":16,"unpackedSize":87898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTA2ECRA9TVsSAnZWagAAxb0P/3xCZwNBk2j8vGjR2G1s\nL3wcI5O9XLE6FNMEQV+QEuj5mcN6aMc9r4MVifFkeibxlnIqChdJfONWJFU5\ndnzaWWMC1D8oL9N36JKI+nMvj+M0+KwZhMeLvhG63CQOs0/KG0fYWNF65eQg\n8vpQXCLyF73sbNzi6RskxPKMnMu5A+7wT8qDRd7lHFFyeh27LcGHF9EpkiCo\n0aLwE+yQO0cBGcPb84eRm/7O2S75in3puiF3HBxuz00WdJV/oCbGd6LRmqK4\nBgroF40iYzinv6V2sKitoL+Ik7aCYcF5WWU9+ic1BniVLoNKLMj/E+jxbLlh\n9CdfQqfdtdumVNX2RolUGP0Sghit9rg1Vn6fmNBmsaT/fVD3DNS5MoVIK9OR\nLgolPdddsZHYl5nVrjUjqDZJ4iEKsVrssix3evJ2NtCdmO5/grS65EKqX2jm\nq9YqbMuBwdqp3mCJ48nfG9NUfG1lmqSNB/8MuglVKjrEQVfAnemNF9GT9ubm\nNPAX7SgbtcuefoMGa/uP3erGUgyjR8BYaZowzC4tGb6phGEazx23l/Uap8wz\n5z+GYPeGQBTGMCyUs3EYx8KQHcCHEcXDYdrDE/KUIc/IpgVbDj1JtMZueoyC\n8ujUX0mTKeTAjvddRX6zuz5S7G11LzgINXlMOjh4Sihv4FZp1XRkWN62iJtJ\nVgwr\r\n=QQZc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIClGDBJiZ1+CexDMrcDJkGM5blSPapZl8NkjYZ67foVCAiB8t5pjINVplmRP8cVoiiR36EsX9piiAFeLVxxoDESrEw=="}]},"maintainers":[{"name":"chancestrickland","email":"chance.strickland@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/new-component_0.0.4_1531710852627_0.5693676111031967"},"_hasShrinkwrap":false},"0.0.5":{"name":"@chancedigital/new-component","version":"0.0.5","description":"CLI for creating new React components","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chancestrickland/new-component.git"},"keywords":["react","reactjs","cli","component"],"author":{"name":"Chance Strickland"},"license":"MIT","bin":{"new-component":"./src/index.js"},"dependencies":{"chalk":"2.1.0","commander":"2.16.0","prettier":"1.12.0"},"gitHead":"950b218569af744bf862ad528b742bfdcd9fe3c6","bugs":{"url":"https://github.com/chancestrickland/new-component/issues"},"homepage":"https://github.com/chancestrickland/new-component#readme","_id":"@chancedigital/new-component@0.0.5","_npmVersion":"6.2.0","_nodeVersion":"8.11.3","_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"dist":{"integrity":"sha512-zN/kqukicvNKygf7QQ/TDwW8jhjK3UEczrDSK7l3n5g0xNhqM9Pq1gDxysxobV0/RncB2QLbubFZuh6RigMsNg==","shasum":"dc8fbdf509b5782568fd71e64d3abfdeb7f1969a","tarball":"https://registry.npmjs.org/@chancedigital/new-component/-/new-component-0.0.5.tgz","fileCount":16,"unpackedSize":88002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTA7XCRA9TVsSAnZWagAA61UP/21F7yERfv9EZ6Na2AWQ\ngkPGuVgF21SuB2hKs+k1Zn7fk33VQPxzNe02ZQTm2qbdX6fT7QEHqF/PBbzN\nBR03zLKHQmW2PUsILhZYHsyEKNWHZ2HWHJg7guEyXY4qh8SyIc5Fh9EHK4ri\nQc0pgRnvVNFcxyloNnVjSNPXbrz2+bl6k7RPpcJ2nJMt4nljgxZJ/iUIjQFt\nbUbEXwtt6f4RlLnG49O82/f0FybQnIehjZ4wI+MuNH+ga1CW0lABjOzSZRvz\nXSBIzA2jtk+tO1s2fN8zgliUd7RHSaqdUNp/w0tr/GaAh1ayhLxe83riOXqF\nOyjyvdTDyxHzxJFWPpG75QUVlIZPOOuU9h4YzlTqfbMHM5J27pgjU99OGs1p\nMyZ5Ljh3o0e2IiGtH6FvdiZqW2hW/jPP79rCKjl+zZoET53Ur1RkOJ40iRzB\nC2vIO6VzNv+ePrwKYce/PqL6BmCsvFtMa3wL/OLf5+WiqiiVEqbYI7jE1zV8\nDE9Or2xJ3+S0DIMRH2Js9dA02iQaOxCJBt4Eg6fSQfWENMFXspv9rTs5m1XT\nzA+l6GG+vjhQujSzLUHyb7A8KCNwm3AQkj6+xqC8foHY68Q+6nGaw7iGzLn0\nK1QiO/yk6Fwun8PCbdpFNHXvi225xBn6jEa6FkraA8+p2IRXIYMladu1RcbB\nXCGl\r\n=+tro\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHkGzV9suaDRW/T57IjJ5Jw1Juok5T7QYWgTwFSbvq6CAiEA6gcVMXmjnsuwiKw+8OkgGYEvUT/K5otG5kqDmGCBMB4="}]},"maintainers":[{"name":"chancestrickland","email":"chance.strickland@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/new-component_0.0.5_1531711191238_0.673831141039545"},"_hasShrinkwrap":false},"1.1.0":{"name":"@chancedigital/new-component","version":"1.1.0","description":"CLI for creating new React components","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chancestrickland/new-component.git"},"keywords":["react","reactjs","cli","component"],"author":{"name":"Chance Strickland"},"license":"MIT","bin":{"new-component":"./src/index.js"},"dependencies":{"chalk":"2.1.0","commander":"2.16.0","prettier":"1.12.0"},"gitHead":"180e648822c348ba515c39dc9d2a26866e519133","bugs":{"url":"https://github.com/chancestrickland/new-component/issues"},"homepage":"https://github.com/chancestrickland/new-component#readme","_id":"@chancedigital/new-component@1.1.0","_npmVersion":"6.2.0","_nodeVersion":"8.11.3","_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"dist":{"integrity":"sha512-balaBKMJkJphDsCT6V5IRfYAjmNGBYNw48mtzU/zUEX6037QmUzsIGaPZJX9AnpfZ0BYXM9e9O2iCfGx6Rh1vQ==","shasum":"2a6f570e39f5d25833c054def6dd562f2d7b5878","tarball":"https://registry.npmjs.org/@chancedigital/new-component/-/new-component-1.1.0.tgz","fileCount":16,"unpackedSize":88180,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbovmMCRA9TVsSAnZWagAAz4gP/2YTsUud+Q+zO4QIXZ7u\niaYbvzf8EOgfuQYqUYHa5GJZH9iQDg7Q8rx6MDq2WlBHZwgFgXX9GOe1N5dw\nT46t69tqZUhZsMBSpVAYflUgc9wCOXiZJew6HEY61HEDMqeNYGQlmM8//1+O\nGSxoOgZV/W6BvkbKrWS2sZa6i+xRlLlQJgJS4b/fqV1WBYgorWMMIUB6tAop\nVPR9/tp5qyb8AxpCe5ArbLwmRAqNWPhD8tj+Cwbg21dCTWqx0sxIRfDWvaXB\n8l5sVSfx3onLoZpDJopozBkm6LI29elx0IoORvsHhxRKRRietBVy+jcuOJdb\n8lWtV+rg9rvHYWzx8a4u3NSEL/FZRoN+Eu8Wr+xacDI9YzyvPD/3mEuszIjf\numFIeKWOkhquTOc6qdql5yhOlDqO86eUNsC2JRqdo/GxtC/Fs5ezJTIBplcp\nfhykAeIfVDQzXawJhrEYsdIfRfklaUoP6MXKp986SlBh+aXvKPfpmnjqW81O\noLoDhPQI4A4J2J8ewbjZ+750Fw8dRkC2rEUC2p82H++ZwJFURLYcoJgO+YA2\n68CPXYkcXkX8exzQzTSKdC5+Fmc+HzRrGV5opMWi/58zrmBQLg+Y6du+sSjp\nhuLcA6//DksjtxDVdXDsa67xGshb07qvYS9Dg0Rts9qpN9HA7uGH1SwaWtB+\nTihU\r\n=kuGT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBCZ2GFG23HkBpkEFjp9omHwok5rUyM6FKj5wn3uNCu8AiAH/p89yN1bKNuam7yPXmYaY+8wY1ogCjZlm3xkWp33wA=="}]},"maintainers":[{"name":"chancestrickland","email":"chance.strickland@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/new-component_1.1.0_1537407371402_0.6277457132451176"},"_hasShrinkwrap":false},"1.1.2":{"name":"@chancedigital/new-component","version":"1.1.2","description":"CLI for creating new React components","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chancestrickland/new-component.git"},"keywords":["react","reactjs","cli","component"],"author":{"name":"Chance Strickland"},"license":"MIT","bin":{"new-component":"./src/index.js"},"dependencies":{"chalk":"2.1.0","commander":"2.16.0","prettier":"1.12.0"},"gitHead":"728ffc80b9313594450243709fd6e0a11bc65d31","bugs":{"url":"https://github.com/chancestrickland/new-component/issues"},"homepage":"https://github.com/chancestrickland/new-component#readme","_id":"@chancedigital/new-component@1.1.2","_npmVersion":"6.2.0","_nodeVersion":"8.11.3","_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"dist":{"integrity":"sha512-YobdxJEaxTf87weB3lXPQGWZVbASoo+CTY/dAKX9U4cxv5Zn2wUQDO7aWTnrlhwHBEtop8nj+drckXhTQLkMYA==","shasum":"22e7e07c8dcc996aba1432e21e938fe0da79b32e","tarball":"https://registry.npmjs.org/@chancedigital/new-component/-/new-component-1.1.2.tgz","fileCount":16,"unpackedSize":88130,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbov6TCRA9TVsSAnZWagAANP4P/1GH1l+ftBImC3Q5AFAU\nS2G7mWtokBlxu3JCtKBp23xVZxzMVpXX6iHF4zizt/28yZMhRRlmvP0SX8+C\nuRSI2QdkHr7UfiJc9qJciEFzb0Oy4WJF3R+g5eauramLy2d7VpmcR+6Tk+sS\nSVN6ifIhHUBWLoSwXAupuSguns4cpbnkEvRXeAMYTkyjDkJ275Cg+/MWoQi9\nGa2HyNu3godZuNpiMFOmzDE32mISx0CvMeIWbUX2SI5jENVCGEgERbaZemH8\nsSFpLJBU5V3praWokZLAYwkfwwp0KzdN4AaThGV8RuzV4RlqYP1nJuS+hmgA\nnBQ3Csshv/Ag0EHk8mhPPtJSz6HWt9NMGpj3x+50WP7LWeqsofk/HMP0DXu2\n2U6PXIlH7ZoPsKBwlDI0bBCmUaegF4p7oRkEnJV/8VZmlFACZEmbpBQVRzt4\nQjIO3VchHkSjQZf+z5E86ZsxaiULzehfKxNlCyHf1vHUxWuv6coQRUkeOohV\ndcWeHDRtWzL1NyET2Vc1dR8Ckqgkj2ntwpqTFBv2qORwsDXuSNmHDGBScCD2\nWLhXyUnSSpXld4dHQV3To25yE7pD0g1RUqVieJWmg7+Bf+1QKHeGcDzaV1R3\nocfWEQWv0Wg0J+9lDPKjNHcOFVuK29rEHw17V98gN/yTWoKCbcIP6R1XIFsa\n/bDL\r\n=eAYv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID10OeqwXquVasRj2N8XtE/55SOIAXoFHsRHJSMH8NK3AiEAg6aGpyCJBrtXOTXZou15NZrW8vUhMWpiRqWIuUX/yxE="}]},"maintainers":[{"name":"chancestrickland","email":"chance.strickland@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/new-component_1.1.2_1537408659008_0.9998863531835518"},"_hasShrinkwrap":false},"2.0.0":{"name":"@chancedigital/new-component","version":"2.0.0","description":"CLI for creating new React components","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chancestrickland/new-component.git"},"keywords":["react","reactjs","cli","component","boilerplate"],"author":{"name":"Chance Strickland"},"license":"MIT","bin":{"new-component":"src/index.js"},"dependencies":{"chalk":"^4.1.1","commander":"^8.0.0","fs-extra":"^10.0.0","prettier":"^2.x"},"devDependencies":{"@babel/eslint-parser":"^7.14.7","@chancedigital/eslint-config":"^9.0.0","@types/fs-extra":"^9.0.12","@types/react":"^17.0.14","eslint":"^7.30.0","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^11.1.0","prettier":"^2.3.2"},"eslintConfig":{"extends":["@chancedigital/eslint-config/node"]},"eslintIgnore":["src/templates"],"prettier":{"useTabs":true,"tabWidth":2},"engines":{"node":">=12"},"gitHead":"6565a2ed2623fc34725e3c69be1a8486399a6d2b","bugs":{"url":"https://github.com/chancestrickland/new-component/issues"},"homepage":"https://github.com/chancestrickland/new-component#readme","_id":"@chancedigital/new-component@2.0.0","_nodeVersion":"14.17.0","_npmVersion":"7.13.0","dist":{"integrity":"sha512-ULALIjRauBNgtVF8H4607HPWyA1eg9Lnu2So8Rd0XzYy++rRmbDul2MQFD8wZVDV3HMDfcVxOKGOxdnOnOZbOw==","shasum":"0ecda5fa3e87a19bdce7508fe35966329a0e34a1","tarball":"https://registry.npmjs.org/@chancedigital/new-component/-/new-component-2.0.0.tgz","fileCount":21,"unpackedSize":94824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7QueCRA9TVsSAnZWagAAYEMP/Rpd0Cu+E54eMe/BCRGQ\npCgDEGWHDRy8j5Sahgt15SjcuIO6PyrMsitcfvu/Q6ipg17v76FVAshCT4Me\nLfTkj3zRuvLpRKHXDOlIM+Axyi+D/rNe9BsD57Nf9H3ZrfMq+wJHsIGDOlKz\nHhnFKpmWOLSlA+leHdG+PkNoCq+MOun/gSLunKclIyGIES+tk/9ZBEfpc8rf\nxHJdEtJkVju9sVUfcwSNPV1dLooRqw3x4D7/8PCNH5xUjRy3Uqjpgo+gn0dR\nOxlcsDbStz3vjNK5TIvypgaqiO32xpLEP577IQ79SBg/bE7mSIaT9gC/DjE8\n6y9Ha5gu5vCCR24hN3VQakqnZ/t/DRakZ1ghWctDI1vgs1m6SUHpzcNMHrzv\nbnQ7Fzmbu77KsUQvKCtzqE7egv7j72lNqjF8XEV2Ot2EktUZ2dr6gZVP6ftI\ny8Rvu3hkZNDLgZK2VOm4vx8YTybRiWLz98N3EYUp6Y5YeV+hXaxOvLWb8BK/\nqMQh0qq6mEiOL96y0ghkdDdFDED9Q6PJjVhUnP+MaeTOCZVPOlkOOCphioLs\ntuOuj8tgg2HqCyH9ojhkwzvuRCTjH2ttxB+p6PVc09afpocxrmQxk24CITXP\nOIZ/3cBBGFFN2mvRZc/r3J275f2e7aY3P6tHJMl6BzLpYWprwzIF8oSi5O2J\n0XTR\r\n=ejVk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICh92K5kHrLl0j0/i6WTpUiOuy0XU9b/oMVRncaSg8cpAiEAnUwGYwCxJJ4q1+EC8Vxe4B/I14c1oM9H8+POxhqqTsA="}]},"_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"directories":{},"maintainers":[{"name":"chancestrickland","email":"chance.strickland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/new-component_2.0.0_1626147741424_0.802429881195798"},"_hasShrinkwrap":false}},"time":{"created":"2018-07-15T17:55:10.337Z","0.0.1":"2018-07-15T17:55:10.488Z","modified":"2022-04-04T22:30:05.575Z","0.0.2":"2018-07-16T02:58:54.012Z","0.0.3":"2018-07-16T03:10:55.389Z","0.0.4":"2018-07-16T03:14:12.686Z","0.0.5":"2018-07-16T03:19:51.384Z","1.1.0":"2018-09-20T01:36:11.514Z","1.1.2":"2018-09-20T01:57:39.196Z","2.0.0":"2021-07-13T03:42:21.598Z"},"maintainers":[{"name":"chancestrickland","email":"chance.strickland@gmail.com"}],"description":"CLI for creating new React components","homepage":"https://github.com/chancestrickland/new-component#readme","keywords":["react","reactjs","cli","component","boilerplate"],"repository":{"type":"git","url":"git+https://github.com/chancestrickland/new-component.git"},"author":{"name":"Chance Strickland"},"bugs":{"url":"https://github.com/chancestrickland/new-component/issues"},"license":"MIT","readme":"<p align=\"center\">\n  <img src=\"https://github.com/chaance/new-component/blob/main/docs/logo@2x.png?raw=true\" width=\"285\" height=\"285\" alt=\"new-component logo\">\n  <br>\n  <a href=\"https://www.npmjs.org/package/@chancedigital/new-component\"><img src=\"https://img.shields.io/npm/v/@chancedigital/new-component.svg?style=flat\" alt=\"npm\"></a>\n</p>\n\n# `@chancedigital/new-component`\n\n### Simple, customizable utility for adding new React components to your project.\n\n<img src=\"https://github.com/chaance/new-component/blob/main/docs/divider@2x.png?raw=true\" width=\"888\" height=\"100\" role=\"presentation\">\n\nAnyone else sick of writing the same component boilerplate, over and over?\n\nThis project is a globally-installable CLI for adding new React components. It's dead simple to use, and requires no configuration, although it's easy to customize it to fit your project's coding style.\n\n<br />\n\n## Features\n\n- Simple CLI interface for adding various flavors of React components:\n  - Function components\n  - Components with forwarded refs\\*\n  - `React.Component` class\n  - `React.PureComponent` class\n- Uses [Prettier](https://github.com/prettier/prettier) to stylistically match the existing project.\n- Offers global config, which can be overridden on a project-by-project basis.\n- Colorful terminal output!\n- Now supports TypeScript!\\*\n\n\\* Supported as-of version 2.0\n\n<hr />\n\n## Quickstart\n\n```bash\n# Using Yarn:\n$ yarn global add @chancedigital/new-component\n\n# or, using NPM\n$ npm i -g @chancedigital/new-component\n```\n\n`cd` into your project's directory, and try creating a new component:\n\n<p align=\"center\">\n  <img src=\"https://github.com/chaance/new-component/blob/main/docs/demo.gif?raw=true\" width=\"888\" height=\"369\" alt=\"demo of CLI functionality\">\n</p>\n\nBy default, the new component will be created in the `src/components` directory relative to the directory from which the command is run, but you have a few options.\n\nIf you pass the `--index` argument, the component will be saved along with its stylesheet and an `index` file in its own sub-directory. This might be useful if you are building a particularly large component with multiple sub-files and you feel better organizing things this way. **Prior to version 2 this was the default behavior, but I generally prefer flat folder structures so this is now opt-in.**\n\nYour project will now have a new directory at `src/components/Button`. This directory has two files:\n\n<br />\n\n## Configuration\n\nConfiguration can be done three different ways:\n\n- Creating a global `.new-component-config.json` in your home directory (`~/.new-component-config.json`).\n- Creating a local `.new-component-config.json` in your project's root directory.\n- Command-line arguments.\n\nThe resulting values are merged, with command-line values overwriting local values, and local values overwriting global ones.\n\n<br />\n\n## API Reference\n\n### Type\n\nControl the type of component created:\n\n- `functional` for a functional component (_default_),\n- `forward-ref` for a functional component with a forwarded ref,\n- `class` for a traditional `Component` class, or\n- `pure-class` for a `PureComponent` class,\n\n**Usage:**\n\nCommand line: `--type <value>` or `-t <value>`\n\nJSON config: `{ \"type\": <value> }`\n<br />\n\n### Directory\n\nControls the desired directory for the created component. Defaults to `src/components`\n\n**Usage:**\n\nCommand line: `--dir <value>` or `-d <value>`\n\nJSON config: `{ \"dir\": <value> }`\n<br />\n\n### Style\n\nControls the type of style file created for the component:\n\n- `css` (_default_),\n- `scss`,\n- `less`,\n- `stylus`,\n- `module.css`,\n- `module.scss`, or\n- `NONE` for no stylesheet\n\n**Usage:**\n\nCommand line: `--style <value>` or `-s <value>`\n\nJSON config: `{ \"style\": <value> }`\n<br />\n\n### File Extension\n\nControls the file extension for the created components. Can be either `js` (_default_) or `tsx` for TypeScript components.\n\n**Usage:**\n\nCommand line: `--extension <value>` or `-x <value>`\n\nJSON config: `{ \"extension\": <value> }`\n<br />\n\n### Index\n\nControls whether or not the component is created in its own sub-directory with an `index` file. Defaults to `false`.\n\n**Usage:**\n\nCommand line: `--index` or `-i`\n\nJSON config: `{ \"index\": true|false }`\n<br />\n\n### Prettier Config\n\nDelegate settings to Prettier, so that your new component is formatted as you'd like. Defaults to Prettier defaults.\n\nFor a full list of options, see the [Prettier docs](https://github.com/prettier/prettier#options).\n\n**Usage:**\n\nCommand line: N/A (Prettier config is only controllable through JSON)\n\nJSON config: `{ \"prettierConfig\": { \"key\": \"value\" } }`\n<br />\n\n**Example:**\n\n```js\n{\n  \"prettierConfig\": {\n    \"singleQuote\": true,\n    \"semi\": false,\n  }\n}\n```\n\n<br />\n\n## Platform Support\n\nThis has only been tested in macOS. I think it'd work fine in linux, but I haven't tested it. Windows is a big question mark (would welcome contributions here!).\n\n<br />\n\n## TODO\n\nThis is a brand new thing! I'd like to add more functionality:\n\n- Built-in support for more style tools (Aphrodite, styled-components, etc).\n- Better error messaging, more edge-case support\n- Editor integrations :o\n\n## Development\n\nTo get started with development:\n\n- Check out this git repo locally; you will need to ensure you have `npm` installed globally.\n- In the folder run `npm install`\n- Check that command runs `node ../new-component/src/index.js --help`\n- Alternatively you can set up a symlink override by running `npm link` then `new-component --help`. Note: this will override any globally installed version of this package.\n","readmeFilename":"README.md"}