{"_id":"@augustindlt/craftsman","_rev":"8-a275879202507e9ea15f199470c6a190","name":"@augustindlt/craftsman","dist-tags":{"latest":"2.0.5"},"versions":{"1.0.0":{"name":"@augustindlt/craftsman","version":"1.0.0","description":"Generate templates for your code !","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CLI"],"author":{"name":"Augustin de Latrollière"},"bin":{"craft":"index.js"},"dependencies":{"chalk":"^2.3.0","clear":"0.0.1","figlet":"^1.2.0","inquirer":"^5.0.1"},"devDependencies":{},"repository":{"type":"git","url":"git+ssh://git@github.com/augustindlt/craftman.git"},"license":"ISC","bugs":{"url":"https://github.com/augustindlt/craftman/issues"},"homepage":"https://github.com/augustindlt/craftman#readme","gitHead":"3d9e8979f61fa80020bd407c547c5c4a212c264b","_id":"@augustindlt/craftsman@1.0.0","_nodeVersion":"13.5.0","_npmVersion":"6.13.4","_npmUser":{"name":"augustindlt","email":"agitmdlt@gmail.com"},"dist":{"integrity":"sha512-91SI1m5t8PxMLPJq+LXH7I21ylVhFG5B2E4LoxAjYd/DF7LqZcaJDCumHFGCDm+zubKjyfMhYKnqsI3wjNxFmQ==","shasum":"debc222d73c62edbdd6b4638c46bf373846ec951","tarball":"https://registry.npmjs.org/@augustindlt/craftsman/-/craftsman-1.0.0.tgz","fileCount":9,"unpackedSize":5983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeI1HFCRA9TVsSAnZWagAA5icP/A+NqMHOdl05IsXRPcBu\nVAMT1jVH6Ku/zy7hJmKkf1ahLuoj0QrFPI0bIKdf0WOhJF1+pYoYkNyjZ1fJ\nYVJmbqSfVkyoN99Mb3xl4mu4YNqc3Z0BMY8yr40wU9xKBdJMTqeVChm5PaHd\n5GZ1aK8nT48WXl/RPbn91n3wDqYRuD4OFi2JYsb40brMZT0QM/7F5m2JSR3A\nsKta/Imn22TSH1Zh9HZ3ZtB/sKt6GxrSJ5Bk0qEla1+l6dHbzIEPcDokap1h\nVo8CgW6tcxXhzRFm27Pc2VoUPIYPs26KstqYyXJMF1YDtfkbM8ZZV2nFiD58\n8pqxjBTLTWXT4b/vUM5oqaGiFhJPXBbCUM+J2J9M9O+pdMPnvTGwN4XKKZZA\nYxw+fMbkbiota6VcHqasAbUBJSPVa0Fogm30FIwkRjirp448Ltdyh3akVZmd\n/mZ1RRrYqb73i4keeHAJOJ8lN7MWkc59GrDnsbFsio+dvtqRsqyFvlzkv0SN\nsJ7hBDfb0DVa1YrCFs26hJVvcpGFt4U6kl8i3NhXemw+PyXV2wyfXHWt80FL\nxkyYXJv04Ra1RNgrQSFZWLVcrjpTFJPU1ex/xSyCWzmYmk52p9fO1E0pdznz\n3MHgF7qF2smlT1dx5bZ9bCiD5rZ0kfO7hca05a5RZcDPv45FiZs4b5Bvf9iC\nD6OP\r\n=SjUC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClL01NazFd4HfISMUXzH0ZzKndYhE+pYusMziY96kX1gIgR213ybmxlZ6nLEb2maMddnYqmapS7jASN+0SPny/5uI="}]},"maintainers":[{"name":"augustindlt","email":"agitmdlt@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craftsman_1.0.0_1579372996694_0.28557797746180813"},"_hasShrinkwrap":false},"1.0.1":{"name":"@augustindlt/craftsman","version":"1.0.1","description":"Generate templates for your code !","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CLI"],"author":{"name":"Augustin de Latrollière"},"bin":{"craft":"index.js"},"dependencies":{"chalk":"^2.3.0","clear":"0.0.1","figlet":"^1.2.0","inquirer":"^5.0.1"},"devDependencies":{},"repository":{"type":"git","url":"git+ssh://git@github.com/augustindlt/craftman.git"},"license":"ISC","bugs":{"url":"https://github.com/augustindlt/craftman/issues"},"homepage":"https://github.com/augustindlt/craftman#readme","gitHead":"7fdd6b9ffdc9af6da5b22b2fb8a15c108e576c21","_id":"@augustindlt/craftsman@1.0.1","_nodeVersion":"13.5.0","_npmVersion":"6.13.4","_npmUser":{"name":"augustindlt","email":"agitmdlt@gmail.com"},"dist":{"integrity":"sha512-dLAgF0GrpVvl2cgaBJVIl42xxmCXfp1jzS6oFFM5j7ITHWopEoI2i8VOZx0DdxlUprGwx6wlnR+rEZzHIiavxQ==","shasum":"d4ed3910f2e88b138dc25df131fcd94f2c5da2c0","tarball":"https://registry.npmjs.org/@augustindlt/craftsman/-/craftsman-1.0.1.tgz","fileCount":19,"unpackedSize":2627011,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJNDjCRA9TVsSAnZWagAAIJ4P/2iTi3hir+bGctALbItW\nKEeYR9gkZN03PovypR/3fsWs3cLfV81Bdx0WAjFpSy16QqxhGeSP6fXa/ywm\nhoGSYCt4CwcI61loB7lyV/YmsYTQdOUIUlE/E1yibUPjgezgLqqkqXt12tjP\n4WgQfgm3DYijG8PZgUKoaFxU4ka5i+csCJqGGUBnrmIGaccZwg9XzjcJuBZe\nz+mg46noL4ka/3AY2gHjr19N1Z0rdA2Hg0hPbPlVN47EyINnTktI7hcpcW6w\nVp0BM6yEuk2zBl7XADt0RW9UNK286GsbBXH8VDQcGaOMLHjU5TCpyQUpsmam\nN9GvLaB0abkT3LBJaED5roA1XWFXsY2qhs4eUhE9G+2pyJnM2qJuwWHJWQbI\nsuEv5BiyMFsDVSW6WO4JgTT7A2sObkMNHu5b05kPk89qdDLJplZ/aRG1sTN4\neQzmrHjtOLw6V/hwWc3S2gdaBnX4eWxFou7rnDtWaoYPEJKFzH309hdD2Iwh\nWPECxcClZSHJMZsSP7t6QfnzMlY01dBkN0FH3WSxArGhyOedPO+2e/Ic6T5A\nM6brBQcfmi2XASs8iNeS+6O+yX3Q1nqwNXFLw7qHnryL+wB5c4PPdh2Niueq\nyHhudQyS2xmcPqjEDBnrsQwS9bKFkqcFJ/Mb4PehPwkrjNnb+fSGopN7/RfY\nEk7v\r\n=k9Fq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrpAtYCICJcuLwi3YlGRiS8PGw/ct73JSpu/XW3huB1QIgDhutwpQqIDm52n76+MsR93HvgMw46Qc8MmNOBPVymrU="}]},"maintainers":[{"name":"augustindlt","email":"agitmdlt@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craftsman_1.0.1_1579471074825_0.9257597758048592"},"_hasShrinkwrap":false},"2.0.0":{"name":"@augustindlt/craftsman","version":"2.0.0","description":"Generate templates for your code !","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CLI"],"author":{"name":"Augustin de Latrollière"},"bin":{"craft":"index.js"},"dependencies":{"chalk":"^2.3.0","clear":"0.0.1","ejs":"^3.0.1","figlet":"^1.2.0","inquirer":"^5.0.1","inquirer-autocomplete-prompt":"^1.0.1"},"devDependencies":{},"repository":{"type":"git","url":"git+ssh://git@github.com/augustindlt/craftman.git"},"license":"ISC","bugs":{"url":"https://github.com/augustindlt/craftman/issues"},"homepage":"https://github.com/augustindlt/craftman#readme","gitHead":"b344f7ca46b9b349ba3224ddf668fbc936f9b975","_id":"@augustindlt/craftsman@2.0.0","_nodeVersion":"13.5.0","_npmVersion":"6.13.4","_npmUser":{"name":"augustindlt","email":"agitmdlt@gmail.com"},"dist":{"integrity":"sha512-EswdqI3TN3Tp9RPuR9L0r5vQaRYBUaNJEpc04A8HuZZDPTNK1VX+RAqUDQ2F30OwIm3YyxNRgpalj0B6pezIOA==","shasum":"364dc8e2dd244e6b63e1640f0b7f28aadb1b8b5a","tarball":"https://registry.npmjs.org/@augustindlt/craftsman/-/craftsman-2.0.0.tgz","fileCount":21,"unpackedSize":3218334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUpF2CRA9TVsSAnZWagAAc/QQAJYGRfTMTpSRmHDzOumE\nOcj/XWqMw4n39zxjKxZYORRmuXmGmP35sO7qCF7+mvQZJD+PUUhSTXjy31FF\nSO99zs99Gk2o+COGubOpoywSkc85RPdOwPtFYd9WdT6nxeSYH0rp2winud3w\ns/ZTTxDXN5O025DpLKG9Jr/MCcs7DLBzdx+uKuqs1zFIVxoFFPQFa9W5x/mf\n68QGGvtLD88m/7vzpdFPSd6QFty0+gAYt0EIdM3/K46Pt/GOqYc+YoFKjoKo\nZhn5r66JJcmOjTlufQE8CBUR7fSBB3dq7guxDB8N6Wfvyqw6UaDRDIQyJxRO\n5mVbQvBkTx8e+QtnwYeZmn6g/GCRPfE5/fLpD7DG/rrLsTEKPcvEPrQD6hWT\ntQtTNfAnGsnveS54vA9FG1lwkUYfdzwQKxre+ZFNWkv02SLckPGfJUSfKuNh\nl5eI5vQttjqqHNiDs6YzXHh/NdIiNKFF+tvLHukL/HePSlafoR0E3TZEBsZx\nDBgQhYi3OXPHoygSPxj6s9TeWX2PzibaMyNxVwQXdoLQMD7XrKJLGgIauUwl\n3/pktOxYjEL8ppF7WqY1YuZrEyYGvYtAQWoSPm/GzBlH0DDaBabBoW7rJTAN\nMF/hnMgVuBaaREKM60iSNfuYKpG2Gq3EwVM/TM4diyGnkPKhr4pCnvXC+D+s\n9Vmi\r\n=cOVQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCMdrvhuY4UR926wSvAjnMujkLzCfglL3/zMO6CYddVAIgJ8vgdnDDIKZRe2Mz9t8nv96aMqs7HptEjwH7GuI6JHM="}]},"maintainers":[{"name":"augustindlt","email":"agitmdlt@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craftsman_2.0.0_1582469493885_0.8382844425342886"},"_hasShrinkwrap":false},"2.0.1":{"name":"@augustindlt/craftsman","version":"2.0.1","description":"Generate templates for your code !","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CLI"],"author":{"name":"Augustin de Latrollière"},"bin":{"craft":"index.js"},"dependencies":{"chalk":"^2.3.0","clear":"0.0.1","ejs":"^3.0.1","figlet":"^1.2.0","inquirer":"^5.0.1","inquirer-autocomplete-prompt":"^1.0.1"},"devDependencies":{},"repository":{"type":"git","url":"git+ssh://git@github.com/augustindlt/craftman.git"},"license":"ISC","bugs":{"url":"https://github.com/augustindlt/craftman/issues"},"homepage":"https://github.com/augustindlt/craftman#readme","gitHead":"5ab8b89070201fa4b3a27cabe60fb48884031dc4","_id":"@augustindlt/craftsman@2.0.1","_nodeVersion":"13.5.0","_npmVersion":"6.13.4","_npmUser":{"name":"augustindlt","email":"agitmdlt@gmail.com"},"dist":{"integrity":"sha512-Z7sXKs3z5Fg7I25SfNKYyB55EOvSrm2k/sGLPsolvsOKc8F/pjaaBS+Tv+B3Fv7oGigvXsfTPJM38vv+6i3QQw==","shasum":"1a48d6c719ad050159d342621680b4d5a7855a08","tarball":"https://registry.npmjs.org/@augustindlt/craftsman/-/craftsman-2.0.1.tgz","fileCount":21,"unpackedSize":3218392,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUpQ+CRA9TVsSAnZWagAAZR4P/R3wEmjQ1Eo+ad5b+ulH\nPvN1EnrKuzzt3X0FCcxMGpVhUyor4hPXoYG1NN/bwqRx8fW1eYymu2QT5Mwx\nC8jj7Gl5yNzpu0HugPmgphfBVYp89ajxpxqt1rwdIw9cTL/4ewAnKaM7x1lZ\nF/EZclg3ZEeR0ZFtnhQhvAlUO2hRfBJ/L5OxFU121bLFYabLqKPTGvxzFX2I\nITqSzNzbF62BINX63IRxQcvi/+nrgmnHql6UdIU4cwh6GYa3xe+C1TYOA1q8\nP1AI1eHt4jVwtq4JQRqahoboOstL4/Uce6O1Y4oUq8YI/082pwKi2WntdKKa\n98v8cNyMdMyChFKjQwyQ1CTFGqjABLlD27+o0Y8hC0WGELe/OFETcdSkPXCx\nMUxClwg0tc6vylCq7v+DMgAz0ySLUT6d6Hw6B7ByZMVp2JKvBoU6w90nJa+k\n+v2L090UmUz+Wa9/U7xj5/IEdLz8RSMbKr8cz0KHsSvZxu8SyLi/3GfSb7EM\nf2unMLvYLKOaJyn/6/e3RT6pLHJMde/iYaRWJyip0qYvqDG1fuRgtnHPwflJ\nbApS44LMuRgmYAR4/r6Q/dRYLlHEDs+UAkN7wMWSOFxcv4dsJN7xALin4zPu\neXpPHzWR/mhTG/T0QqzTXS5uuWARodmHt866ZwQ/rnB2TIwS77iT0W+OGtKt\nkrbO\r\n=HUPn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsiy1tE2RVT5XYxX1Bnd9kVTVw/ek4ALxoyMYWS5roJAIhAKepPKb2MSSO/mUrvyJdbWpNPO9QqSucSDmiKk1NBTB3"}]},"maintainers":[{"name":"augustindlt","email":"agitmdlt@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craftsman_2.0.1_1582470205739_0.681046832364788"},"_hasShrinkwrap":false},"2.0.2":{"name":"@augustindlt/craftsman","version":"2.0.2","description":"Generate templates for your code !","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CLI"],"author":{"name":"Augustin de Latrollière"},"bin":{"craft":"index.js"},"dependencies":{"chalk":"^2.3.0","clear":"0.0.1","ejs":"^3.0.1","figlet":"^1.2.0","inquirer":"^5.0.1","inquirer-autocomplete-prompt":"^1.0.1"},"devDependencies":{},"repository":{"type":"git","url":"git+ssh://git@github.com/augustindlt/craftman.git"},"license":"ISC","bugs":{"url":"https://github.com/augustindlt/craftman/issues"},"homepage":"https://github.com/augustindlt/craftman#readme","gitHead":"fc1cc3bf552375e786c7c02958610f24d193a968","_id":"@augustindlt/craftsman@2.0.2","_nodeVersion":"13.5.0","_npmVersion":"6.13.4","_npmUser":{"name":"augustindlt","email":"agitmdlt@gmail.com"},"dist":{"integrity":"sha512-bQVDvosBTWO4I2I5gJvK6JshDPSMvD22vBqdraTnK1+5QvmDgxhXfOzcHLGBhvbF6Cudy4nJ0t/sS1nVbc9vpQ==","shasum":"cbac35ce002f9d4bd28e5b6a722a6e7764a8f77c","tarball":"https://registry.npmjs.org/@augustindlt/craftsman/-/craftsman-2.0.2.tgz","fileCount":21,"unpackedSize":3218398,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVTTTCRA9TVsSAnZWagAAsJIQAJHeg1Zni47fmugvN7DI\nD+xWTZO8EkN41/A6PV3kDe/aTQ4NTJMdgQ9CutQitYmokhHSRtEufnY7ytXR\nqsceZbFNlgk4YTnpuz/WLSkH7ZY3kRPvmA5hQA2JDsE1jRzokD34Fb2u54z0\nWcYA509Be4RsNNzB7mBsCTQDYhF3KydiBwCvdrBYWH1NlW93tTT3qhzEDT+m\nhEvDmQ6ZZXoUzKnqieU7JbdGNMvk4amTR7VfG5zjqDkWA3tYyEHLWZ3TQzEl\nQdXaS1UFkXScbi6skoC+JeMmVi1Ht6hShxLFuyOC/20hsHNfEyaXsYRVC+g3\nX0IUC1zc3Jqvd6qj2PrjTOhryNr/IOQ6nsXmkznTAhNb5YxJNW4HjrBbgQ/C\n9cSW6GMU8RUcvsZ5JH/oXjAI43USxqtt5nYuPZQt1WOhz/uoez/Cod5JRKon\n9Az94uh44hKDTVMf9aei5A54GlrL3lusHAa6EwGt2WJNRRZKFM40iXNlSs0t\nO1WGntyLQrWEAN2pUVotBPkfRAqdBT5Exq8uDpmBRW4NowOsaC4UQdis7ckT\nlKK/jPu8VJapcyG8zO6QqBT5yMLbgOdMF/fa97qRgdQiBzTr7KnlErcGDeka\nIZsrAR0PkRpeUC9hj0dXql01+90foGag361+GqyMxsZa9chZ9nJLFGOL6J5w\nqc1D\r\n=ihbY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpe+I+hP2gypwvzGLG2KANFXT2smOCI6H2qTCF6LWB+gIhAJfe8sL/fQJVw1KK323wR+xQ9ED7/xWpLi4mZDAhRV5/"}]},"maintainers":[{"name":"augustindlt","email":"agitmdlt@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craftsman_2.0.2_1582642386372_0.08996152381911626"},"_hasShrinkwrap":false},"2.0.3":{"name":"@augustindlt/craftsman","version":"2.0.3","description":"Generate templates for your code !","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CLI"],"author":{"name":"Augustin de Latrollière"},"bin":{"craft":"index.js"},"dependencies":{"chalk":"^2.3.0","clear":"0.0.1","ejs":"^3.0.1","figlet":"^1.2.0","inquirer":"^5.0.1","inquirer-autocomplete-prompt":"^1.0.1"},"devDependencies":{},"repository":{"type":"git","url":"git+ssh://git@github.com/augustindlt/craftman.git"},"license":"ISC","bugs":{"url":"https://github.com/augustindlt/craftman/issues"},"homepage":"https://github.com/augustindlt/craftman#readme","gitHead":"52cb1dec769c9f549fb58a411852b9671e7731a9","_id":"@augustindlt/craftsman@2.0.3","_nodeVersion":"13.5.0","_npmVersion":"6.13.4","_npmUser":{"name":"augustindlt","email":"agitmdlt@gmail.com"},"dist":{"integrity":"sha512-30CuZicP1sC+1SgYXgvB/aSXEhoefs0+8mLNsMXoGSeh8b+lMcFb12tM/tmE4R89SWGZT1k9zADSYUbSABimFg==","shasum":"b11dffc3267eecb1de69429264c80187dafa275e","tarball":"https://registry.npmjs.org/@augustindlt/craftsman/-/craftsman-2.0.3.tgz","fileCount":21,"unpackedSize":3218448,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeWWERCRA9TVsSAnZWagAAupQP/1VfDZWoCB3LPKq2u9uq\n9SdyAzOjnUm+eDs9KzZ9SKy12Jf0JARZccdw9vznKrl07nca0ZkIffwNXvEg\n2XZqCPkXI+Mds6e+5nnLUd/8IUCzGtcmuu2bhBiWUkeUFdmBtdd89kHM09ct\n8ecNKzq4gTt/DVweo5Yfjj1s0HKqzZu5Iy/Gq8zSDULWhs3nNpZnHZPvwLoV\nFt/bDIAF6E1w5jCZheJvjgGFyOtD6C+kPj5lF4B0lB98Ya16gcsynSEdoCDQ\nRIEi129go/6yojNfN0xP8M7Ld73Vh21Ay1Kmw3vdTG2yhY/pm+Ml4t8K5ox8\n70P0+p5Qwcx1NAzVQAimVQit/AEWxjOfn7UlAMAatk0RaHvuisF2bB3O+64t\nHIGttOfrmI0KVG1681l5JJkD+HZ26cmFnueeLpHUXxY1lfRsPN1PnZqwmmKC\nDQMyOgb7jFv9NOdhP3qh294fsjY6YdRtT7+jGJ+BSUFFSukiNheHTPxXLw5R\n+OzjDI9fZpRTg4quOH85Km9yLXfZ7ejx6RvEZanPue6FT6FRHvKus41aTJ0M\nz9EEISqDZP0Jq8Jg9ePWKfYJd8OxO5PUkE/qGklrHdWtw9zCq/WhrDzju1jA\na1RbtEtqJd/WA62x8BokYZP9OtJLbbGP6QUcVcaa4LxGSbKphWNW+saemsWt\nPRzt\r\n=Hp9Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICme4edvoPXU1vSaWxs18xkjk443vOrUKPmZv+Ecq3e3AiEA1nA18y7okNz6d6pkqu+L4RXe3QBqVpy2xuk5/eRE/oE="}]},"maintainers":[{"name":"augustindlt","email":"agitmdlt@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craftsman_2.0.3_1582915857107_0.8129877518892057"},"_hasShrinkwrap":false},"2.0.4":{"name":"@augustindlt/craftsman","version":"2.0.4","description":"Generate templates for your code !","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CLI"],"author":{"name":"Augustin de Latrollière"},"bin":{"craft":"index.js"},"dependencies":{"chalk":"^2.3.0","clear":"0.0.1","ejs":"^3.0.1","figlet":"^1.2.0","inquirer":"^5.0.1","inquirer-autocomplete-prompt":"^1.0.1"},"devDependencies":{},"repository":{"type":"git","url":"git+ssh://git@github.com/augustindlt/craftman.git"},"license":"ISC","bugs":{"url":"https://github.com/augustindlt/craftman/issues"},"homepage":"https://github.com/augustindlt/craftman#readme","gitHead":"1dbc3310480731387ed37e1a5d060d96401497cb","_id":"@augustindlt/craftsman@2.0.4","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","_npmUser":{"name":"augustindlt","email":"agitmdlt@gmail.com"},"dist":{"integrity":"sha512-9l5t1kplw2keKCY0kw93SeiOiQ8BYcRWWum7ObH1UN6rVssif53kq1YnVWNHrCpiWhs99ytx5enFBkIe0iqq9g==","shasum":"ed98ff89a0a8861160345854b01010950aadd071","tarball":"https://registry.npmjs.org/@augustindlt/craftsman/-/craftsman-2.0.4.tgz","fileCount":14,"unpackedSize":26887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg22YSCRA9TVsSAnZWagAAA9AP/3qOBGJ5zJvwO1NBimJ3\nb8khvAlN1wSpeuZQLjfpMK3UNAsTJgcbHVzE+ByA8ifjbSe0ZxQvZjtRcpzV\ngcvltjp+zyiqj+2TRIfIvyLkY8bLkeojfwdZlxGr84e4DOGIZafWHmIv8MnC\nm9HyQ3csJ1dOSTKxNFPLq6ANGhjrKYenhXBem4b3n3ti6Nxw9gVb+WrAVAn0\nw8JBciC/tkVpEXwJdocjcQySBDPb09H1ImvYpkZ0c/qBUtftl17BBVP7t83K\n9VMp+2NnxMPRYsD+Loz9BTI5d4BskfLvn+s3CzX85DEsxIfbW4yRh2LiC/Q7\no2imuhJjium1zz7wWq83t5hzKIkedENCdxVvKrxIE3cFrZ3pxkwnepnz7tiq\nTA6I5OR9dJpJ1kvHX+mIsqC/Ekp0BaF0/BzBztFSQ6axUA+rDQ/c/rn1rNKS\nvd+gCkhpNyUauazsGKxMJiEp+XhurMBJWVHbJCXPbm70Cqh+SKvR0tHNOkky\nFt7x1Dc7v9qYmV4fBMmIywZcEpmQ5guaS8iCHtuiUCTTQ07C6HfNvZfQQgaW\n0ciA3MS/IS5xTngOKQqv1LDNTlXci+n+4yeQc5ViHH4mwcPt/s/8C/Ba1WPs\nmy/q0yrwVLUDgWJQy0xqwg8ff87l5Ia9hVtD5e84gkK/GYmgkbHuOhYVKfGC\njoWB\r\n=ZAy7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDOaClaiEYKWz2NGhjxoGt5iabj6JTwt5eoHIql4C51HAiEAryel7xqONfCMSFVIgU2p4JA2W4nxWQaRDFYLTqjz14g="}]},"directories":{},"maintainers":[{"name":"augustindlt","email":"agitmdlt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craftsman_2.0.4_1624991250278_0.6382625516661558"},"_hasShrinkwrap":false},"2.0.5":{"name":"@augustindlt/craftsman","version":"2.0.5","description":"Generate templates for your code !","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CLI"],"author":{"name":"Augustin de Latrollière"},"bin":{"craft":"index.js"},"dependencies":{"chalk":"^2.3.0","clear":"0.0.1","ejs":"^3.0.1","figlet":"^1.2.0","inquirer":"^5.0.1","inquirer-autocomplete-prompt":"^1.0.1"},"devDependencies":{},"repository":{"type":"git","url":"git+ssh://git@github.com/augustindlt/craftman.git"},"license":"ISC","bugs":{"url":"https://github.com/augustindlt/craftman/issues"},"homepage":"https://github.com/augustindlt/craftman#readme","gitHead":"609ad761b7ccd2ebaf6074ba3628fe1b9fbf690d","_id":"@augustindlt/craftsman@2.0.5","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","_npmUser":{"name":"augustindlt","email":"agitmdlt@gmail.com"},"dist":{"integrity":"sha512-kEiUUG3wqlND4l84lmS4ePg0uLGGC5ZeZfie/8WZYN8Gme+C4KXyYjRKuVKH+9vQZi+LcciCkaFJYo7pUTgndg==","shasum":"e14bd23bbdcac5e954b4df3b5de8acd1feb0e667","tarball":"https://registry.npmjs.org/@augustindlt/craftsman/-/craftsman-2.0.5.tgz","fileCount":14,"unpackedSize":27014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhM2udCRA9TVsSAnZWagAAe64P/1LUX6o2CbCysSJyhKS0\nO66tfGdHn1XWi56Wf25HB0a/yLJznj0gZ+w77oC72hfNeZYp5NBP4ODnE8cB\nYNSYhxjI24hRhBETB+E8tKO5jx/ilL9FEL9exjDTRMuvYXOfC4dHtTC/ETnw\nU9UQ4LZ5stpT/yb6zQfm2mUoG7BLAj6DQvxKJbhR6UKJome0Kyr+Awcg4xNJ\nnyB/1VROKVcSL9ZtGycP26yzrOhTi/76t/IWyfqKlDpkIYEOpiIDehCEJE5r\n+fGkf0vi8/fCjbLNTF2aKR6QpKi1HiYqWgTOo9kVZQbWdUpertMuRzeHw2EK\n/o/8ROVSls97EtojQGqggi4oyOtGRltfcaN1OawHBtMl1oXUIppvCW4yzCCe\nKLLoGBsdrBkAVsBvrckjh4l5Poo8AFbLBfW6VWAO5bSWDKLEDpeby933fPdF\nKqLiVCRQoXNyZQs8lAyXU/zDrLsOAwMitMetv7Gacp/w5M9MqLq5LKE+hacp\nnEV3Wawb/irDJIMzqtqD8FeDvz7i0hGO1R87uf8EjgoyOQWEXrHByAwVkHxG\nr+8h8T9lf65mwON3oOL5mA1byA6G68c9XuF7cjQVpEwNp/+Fxu95YEkVEli9\nMU8iASa1HFbYd/MgmFrTTxq1npeQMKW1DNdBvuZ6yjry1kwSTSSHsl5jdQlY\nKo7g\r\n=SL03\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCC9MRYfAdxJWNhi/5xvarRLbA+nniwBV3jAYxeTWIFjgIgOX/eJHHVsPzP42SjvCJ15h1yCw7jxUH0GLFldKX29V0="}]},"directories":{},"maintainers":[{"name":"augustindlt","email":"agitmdlt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craftsman_2.0.5_1630759837235_0.6801447574332318"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-18T18:43:16.645Z","1.0.0":"2020-01-18T18:43:16.845Z","modified":"2022-04-04T16:23:58.251Z","1.0.1":"2020-01-19T21:57:55.085Z","2.0.0":"2020-02-23T14:51:34.139Z","2.0.1":"2020-02-23T15:03:25.969Z","2.0.2":"2020-02-25T14:53:06.882Z","2.0.3":"2020-02-28T18:50:57.502Z","2.0.4":"2021-06-29T18:27:30.423Z","2.0.5":"2021-09-04T12:50:37.437Z"},"maintainers":[{"name":"augustindlt","email":"agitmdlt@gmail.com"}],"description":"Generate templates for your code !","homepage":"https://github.com/augustindlt/craftman#readme","keywords":["CLI"],"repository":{"type":"git","url":"git+ssh://git@github.com/augustindlt/craftman.git"},"author":{"name":"Augustin de Latrollière"},"bugs":{"url":"https://github.com/augustindlt/craftman/issues"},"license":"ISC","readme":"# Craftsman\n\n![Craftsman](img/craftsman.png)\n\n## What is craftsman ?\n\nCraftsman is CLI tool that helps you to simplify the process of creating code files by using templates.\nIt's a simple way to make conventions on how a file must look like.\n\n## Installation\n\n```bash\n# Install craftsman\nnpm i -g @augustindlt/craftsman\n```\n\n### Config\n\nCreate a config file inside your project : `.craftsman/config.json`\n\nConfig parameters :\n\n| parameter | type       | meaning                                                                   |\n| --------- | ---------- | ------------------------------------------------------------------------- |\n| templates | Template[] | List of all templates                                                     |\n| helpers   | Helpers    | Set of functions that you can use inside the config and in your templates |\n\n**Template :**\n\n| parameter | type      | meaning                                                       |\n| --------- | --------- | ------------------------------------------------------------- |\n| name      | string    | Name of the template                                          |\n| files     | File[]    | List of all the files to generate                             |\n| path      | string    | Optional parameter to declare where the files will be created |\n| variables | Variables | Set of variables you need to create the files                 |\n\n**File :**\n\n| parameter           | type                   | meaning                                                                                                                                        |\n| ------------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |\n| path                | string                 | Destination of the generated file                                                                                                              |\n| name                | string                 | Name of the generated file                                                                                                                     |\n| template            | string                 | File name without extension which contains the template                                                                                        |\n| replaceExistingFile | \"yes\" \\| \"no\" \\| \"ask\" | Determines if the cli should replace the file or not if it already exists, by default this parameter by default this parameter is set to \"ask\" |\n\n**Variables :**\n\nThe variables have all this base config :\n\n```javascript\n{\n  \"templates\": [\n    {\n      ...\n      \"variables\": {\n        \"salutation\": {...},\n        \"nameOfMyVariable\": { // The name of the variable that you want to set\n          \"type\": \"text\", // The type of question you want the cli ask you, it can be \"text\", \"choices\", \"autocomplete\", \"file\", \"directory\", \"array\"\n          \"message\": \"What value are you going to set to nameOfMyVariable ?\", // The message that will be print, it's an optional parameter\n          \"condition\": \"salutation.toLowerCase() === 'hello' && 1 === 1\" // A JS condition which will determine whether the cli will ask or not for this variable, if not the default value of variable will be \"\", it's an optional parameter\n\n          // Here the other parameters depending on the type of the variable\n        }\n      }\n    }\n  ]\n}\n```\n\n`choices` and `autocomplete` :\n\n```javascript\n{\n  ...\n  \"variables\": {\n    \"nameOfMyVariable\": {\n      \"type\": \"choices\",\n      \"choices\": [\"yes\", \"no\", \"may be\"] // Array of string that represent all the choices you can select\n    }\n  }\n}\n```\n\n`file` and `directory` :\n\n```javascript\n{\n  ...\n  \"variables\": {\n    \"component\": {\n      \"type\": \"file\",\n      \"matchString\": \".component.tsx\", // Filter files to show only those that contains this string in their path, it's an optional parameter\n      \"matchRegex\": \"\\\\.component\\\\.tsx$\", // Same as the matchString but with a regex, it's an optional parameter\n      \"path\": \"./src\" // Base path where is the file you want to select, the file can be inside of a sub folder, by default this parameter is set to \".\"\n    }\n  }\n}\n```\n\n`array` :\n\n```javascript\n{\n  ...\n  \"variables\": {\n    \"nameOfMyVariable\": {\n      \"type\": \"array\"\n    }\n  }\n}\n```\n\nWith the config below by default the cli will ask for text questions and will set nameOfMyVariable to an simple array of string like: `[\"hello\", \"hey\" ...]`\n\n```javascript\n{\n  ...\n  \"variables\": {\n    \"nameOfMyVariable\": {\n      \"type\": \"array\",\n      \"variables\": {\n        \"name\": {\n          \"type\": \"text\"\n        },\n        \"wantACofee\": {\n          \"type\": \"choices\",\n          \"choices\": [\"yes\", \"no\", \"may be\"]\n        },\n        \"typeOfCofee\": {\n          \"type\": \"autocomplete\",\n          \"choices\": [\"Cappuccino\", \"Espresso\", \"Mochaccino\", \"Macchiato\"],\n          \"condition\": \"wantACofee !== 'no'\"\n        }\n      }\n    }\n  }\n}\n```\n\nThe config below will set nameOfMyVariable to an array of object with sub variables like: `[{ name: \"Jhon\", wantACofee: \"yes\", typeOfCofee: \"Cappuccino\"}, { name: \"Mary\", wantACofee: \"no\", typeOfCofee: \"\"}]`\n\n**Helpers :**\n\nHelpers are custom functions written in javascript, which can be used in your templates and configuration, here is an example of a helper declaration :\n\n```javascript\n{\n  \"templates\": [...],\n  \"helpers\": {\n    \"skewer\": \"helpers/skewer\" // The declaration of a helper takes his name as a key and his path without the extension as value\n  }\n}\n```\n\n`.craftsman/helpers/skewer.js` :\n\n```javascript\nmodule.exports = (value) => Array.from(value).join(\"-\");\n```\n\nNow we can use it :\n\n```javascript\n{\n  ...\n  \"condition\": \"skewer(nameOfMyVariable) === 'h-e-l-l-o'\"\n}\n```\n\n### Template\n\nCreate a template file inside your project : `.craftsman/nameOfMyTemplate.craft`\n\nPut inside this file the code you want to generate.\n\nThe cli use [EJS](https://ejs.co/) as templating language, you can use all the variables of your template and all your helpers inside of the templates files, like :\n\n`.craftsman/nameOfMyTemplate.craft` :\n\n```javascript\nconsole.log(<%=skewer(nameOfMyVariable)>);\n```\n\n## Usage\n\nInside your terminal :\n\n```bash\ncd path/to/your/project\ncraft\n```\n\n## Example\n\n**Config :**\n\n`.craftsman/config.json` :\n\n```javascript\n{\n  \"$schema\": \"https://raw.githubusercontent.com/augustindlt/craftman/master/json-schema.json\",\n  \"templates\": [\n    {\n      \"name\": \"Hello\",\n      \"files\": [\n        {\n          \"path\": \"./src/<%=fileName%>\",\n          \"name\": \"<%=fileName%>.js\",\n          \"template\": \"hello\"\n        }\n      ],\n      \"variables\": {\n        \"fileName\": { \"type\": \"text\" },\n        \"salutation\": { \"type\": \"choices\", \"choices\": [\"Hey\", \"Hello\"] },\n        \"name\": { \"type\": \"text\" }\n      }\n    }\n  ]\n}\n```\n\n`.craftsman/hello.craft` :\n\n```\nconsole.log(\"<%=salutation%> <%=name%>\");\n```\n\n**Usage :**\n\nInside the terminal :\n\n```bash\ncraft\n```\n\nEnters all variables that we defined in the config :\n\n![select_type](img/select_type.png)\n![enter_filename](img/enter_filename.png)\n![enter_salutation](img/enter_salutation.png)\n![enter_name](img/enter_name.png)\n\nAfter is done ! :\n\n![done](img/done.png)\n\nWe can see the result :\n\n![vscode_result](img/vscode_result.png)\n","readmeFilename":"README.md"}