{"_id":"@ef4/babel-plugin-htmlbars-inline-precompile","_rev":"4-4146cac9ef2a603feedf4aeae9c07d4a","name":"@ef4/babel-plugin-htmlbars-inline-precompile","dist-tags":{"latest":"6.0.0-alpha.3"},"versions":{"6.0.0-alpha.0":{"name":"@ef4/babel-plugin-htmlbars-inline-precompile","version":"6.0.0-alpha.0","description":"Babel plugin to replace tagged template strings with precompiled HTMLBars templates","repository":{"type":"git","url":"git+https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile.git"},"license":"MIT","author":{"name":"Clemens Müller","email":"cmueller.418@gmail.com"},"scripts":{"prepare":"tsc","build":"tsc","pretest":"tsc","lint":"tsc && eslint --cache .","test":"jest","clean":"git clean -d -f -x src __tests__"},"jest":{"testPathIgnorePatterns":["mock-precompile",".*\\.ts"]},"main":"src/index.js","dependencies":{"babel-import-util":"^0.1.0","line-column":"^1.0.2","magic-string":"^0.25.7","string.prototype.matchall":"^4.0.5"},"devDependencies":{"@babel/core":"^7.14.3","@babel/plugin-proposal-class-properties":"^7.13.0","@babel/plugin-transform-modules-amd":"^7.14.2","@babel/plugin-transform-template-literals":"^7.13.0","@babel/plugin-transform-unicode-escapes":"^7.12.13","@babel/traverse":"^7.14.5","@types/babel__traverse":"^7.11.1","@types/jest":"^26.0.23","@types/line-column":"^1.0.0","@types/string.prototype.matchall":"^4.0.0","@typescript-eslint/eslint-plugin":"^4.26.1","@typescript-eslint/parser":"^4.26.1","common-tags":"^1.8.0","ember-source":"^3.27.3","eslint":"^6.8.0","eslint-config-prettier":"^6.15.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.4.0","jest":"^26.6.3","prettier":"^2.2.1","release-it":"^14.8.0","release-it-lerna-changelog":"^3.1.0","typescript":"^4.3.2"},"engines":{"node":"10.* || >= 12.*"},"release-it":{"plugins":{"release-it-lerna-changelog":{"infile":"CHANGELOG.md","launchEditor":true}},"git":{"tagName":"v${version}"},"github":{"release":true,"tokenRef":"GITHUB_AUTH"}},"gitHead":"b6c04550b2f2f3f042fcd526568fd2155428b059","bugs":{"url":"https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/issues"},"homepage":"https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile#readme","_id":"@ef4/babel-plugin-htmlbars-inline-precompile@6.0.0-alpha.0","_nodeVersion":"12.22.1","_npmVersion":"7.6.1","dist":{"integrity":"sha512-wKsuq63rWO3mrFYHCfzLbwRmUfdTWrXIs2orJOEJIuJUybay0fw2X0qU4KCKXIQkiD8ZxwUuHPpzhKHBxsiPlA==","shasum":"28500a08d84c51d4f53b18b4afbf8384e58649c6","tarball":"https://registry.npmjs.org/@ef4/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-6.0.0-alpha.0.tgz","fileCount":10,"unpackedSize":103654,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg51TCCRA9TVsSAnZWagAAxowP/ineTP7ODpLYaR+AGQBu\n0BlQfFsS+kO2tXAZg/hukBrRymoMkXN40A4ZXOcfboIr2iaUpeop3UsnxdwX\n/UdEwl8M2+9U5DE+flcEzB1szxL3eIM/tQ8FjCGoTfC0zI5TCTNGiGaM9ySA\nmG2kcmkw4GFpftCLokIK7ySjruhwvFOdBYUZcBLBTkuPAniKPsRshakWvMOQ\nH/6W6ghoFEFB3s333NecH+F3P1eQTybEP1PB9fXULDkO1hlTTQhVaHapyQ1w\nlrm8ZUQXBilJE+CSnXw0MjU+nS161OwvqTka/c//+Rdr4AKXSWLK3Hhtbc+b\n0m2EOnTvNiYuY1/rAbB1sx/yqZ4IiHLvjhIWwXuGEZ4bUU6GnGRoUL9iUriM\nSWhOEq8/Jcdy+MNqhmOIDh1h7i7+kXGtrv638ihmvxcO0MS2Qa4YwQHej1XP\ny3sGWD0zXgEJjgXCbCpA7wZU/4ngTIKjItz71chneFPaYabq8n+IQ5RLbtns\naAT4KpA9Isxw7+e+uGoJfAg0bN3ALTXey4EMdKAYkdZOEK9wRdPZnBzoZYw2\n58TBUFVpAmEFvRAisddWXYGRT1WqnitVZrLOesAzjb+BKUu3VhiPSaJHUC/N\nDZsEasATygEEF/YuhiAUFWK4qKoDfz17fHIi4SwNaM+CZ+BZ5y7dZraH1Ioy\nD2p4\r\n=Jlm8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDVZt2UYhAeZGnWncHFgr6MCES4b/ijy5PIa/5IEAiD1AiABDK/eDd+IyLiM4L6wgpM0VsOGfPwekvkFtHvmKqDcDg=="}]},"_npmUser":{"name":"ef4","email":"edward@eaf4.com"},"directories":{},"maintainers":[{"name":"ef4","email":"edward@eaf4.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-htmlbars-inline-precompile_6.0.0-alpha.0_1625773250176_0.5480728952182343"},"_hasShrinkwrap":false},"6.0.0-alpha.1":{"name":"@ef4/babel-plugin-htmlbars-inline-precompile","version":"6.0.0-alpha.1","description":"Babel plugin to replace tagged template strings with precompiled HTMLBars templates","repository":{"type":"git","url":"git+https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile.git"},"license":"MIT","author":{"name":"Clemens Müller","email":"cmueller.418@gmail.com"},"scripts":{"prepare":"tsc","build":"tsc","pretest":"tsc","lint":"eslint --cache --ext .ts .","test":"jest","clean":"git clean -d -f -x src __tests__"},"jest":{"testPathIgnorePatterns":["mock-precompile",".*\\.ts"]},"main":"src/node-main.js","exports":{".":{"browser":"./src/plugin.js","default":"./src/node-main.js"}},"dependencies":{"babel-import-util":"^0.1.0","line-column":"^1.0.2","magic-string":"^0.25.7","string.prototype.matchall":"^4.0.5"},"devDependencies":{"@babel/core":"^7.14.6","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-transform-modules-amd":"^7.14.5","@babel/plugin-transform-template-literals":"^7.14.5","@babel/plugin-transform-unicode-escapes":"^7.14.5","@babel/traverse":"^7.14.5","@types/babel__traverse":"^7.11.1","@types/jest":"^26.0.23","@types/line-column":"^1.0.0","@types/string.prototype.matchall":"^4.0.0","@typescript-eslint/eslint-plugin":"^4.28.2","@typescript-eslint/parser":"^4.28.2","common-tags":"^1.8.0","ember-source":"^3.27.5","eslint":"^6.8.0","eslint-config-prettier":"^6.15.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.4.0","jest":"^26.6.3","prettier":"^2.2.1","release-it":"^14.10.0","release-it-lerna-changelog":"^3.1.0","typescript":"^4.3.5"},"engines":{"node":"10.* || >= 12.*"},"release-it":{"plugins":{"release-it-lerna-changelog":{"infile":"CHANGELOG.md","launchEditor":true}},"git":{"tagName":"v${version}"},"github":{"release":true,"tokenRef":"GITHUB_AUTH"}},"gitHead":"9f5f66f0c0a2730a002f90967cf1f427d7c07402","bugs":{"url":"https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/issues"},"homepage":"https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile#readme","_id":"@ef4/babel-plugin-htmlbars-inline-precompile@6.0.0-alpha.1","_nodeVersion":"12.22.1","_npmVersion":"7.6.1","dist":{"integrity":"sha512-3bY35AGD3FZduLtPv40/gxCmzhfOIX2iaB94dOrAKv8oFHu+9xlgnpEX/+Rm7GSRtShKoCeyaR8uZP6fuqrQcA==","shasum":"7ec5810b76268aa11cec7b2878479a368939fec0","tarball":"https://registry.npmjs.org/@ef4/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-6.0.0-alpha.1.tgz","fileCount":14,"unpackedSize":152482,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6FysCRA9TVsSAnZWagAAYdoP/04JddfKuniOITy1YhLI\nIB6RFCQ6Fs3Qf2RYKRdM9wddohFPIaBWYUI3JAjQ65C9Wo3mzWO3sckzHPle\n/4tG5QBoMbRwLOZ0tHBalGRTm7IaVWHCQ7qZGRtEqJWptM1eoVMcBi2HT5iu\nLW0JopGBBMY2710+QeWOIuTLZW/kQJRrZ7SYAEJo4p8eumuZnr385YQBVIgb\nApnYgAPtizv4oI3h11+3dtGqzydhNqFCtq/1952TEvjg0my4iIANWQ1dgI3q\nP/zsYMnAGyyKTD5ej96YZC/nk6I/QdquVMPXOWOQ9F0Xxi3myI+6yxM7d5fz\nj6iSkTfcsH2+XsWk6Y9wGE+5S0m3Ts7ciCQeTTH5k3UBp/nObinbv7X3wMP8\nsAIO3nM1K80tD91pF7gUeouvNwTSpqm7bi+//Y5RCEBkMAXEmuILLpdcY7bx\nsrTgXaX6mAA+Rsg8hwQoUqyd3y6SsjDYuCPdOsvXRJVBBJIVTfDSgE6Lg1m/\nTcAGVwR9/HCKg+gFaKKQPCcGgLGZQsbCzKue4q9Nx7PRpYpvkh18h6lOWjNO\nwIzLdOe2lQoKaqQWJY56WcXLFM+IgJ/nBiil8oCdS2NSaL3jTEdim7Is7FFU\nm9ZtzEpTgd0Ks6AjJn/RLSNSS+nVmjoSMLq+5sT3BMuRakBeYa4XIVxi3krJ\nMXN5\r\n=5Nhq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYpnr7+erNRWZizhSOUhw5zCfn/0NrL8hUsMrixpnfkgIhAJlfzaQsA27qabKZ4bOz8Z+GDr0suFOFAqj0m37hKcn2"}]},"_npmUser":{"name":"ef4","email":"edward@eaf4.com"},"directories":{},"maintainers":[{"name":"ef4","email":"edward@eaf4.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-htmlbars-inline-precompile_6.0.0-alpha.1_1625840812297_0.29461831222829593"},"_hasShrinkwrap":false},"6.0.0-alpha.2":{"name":"@ef4/babel-plugin-htmlbars-inline-precompile","version":"6.0.0-alpha.2","description":"Babel plugin to replace tagged template strings with precompiled HTMLBars templates","repository":{"type":"git","url":"git+https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile.git"},"license":"MIT","author":{"name":"Clemens Müller","email":"cmueller.418@gmail.com"},"scripts":{"prepare":"tsc","build":"tsc","pretest":"tsc","lint":"eslint --cache --ext .ts .","test":"jest","clean":"git clean -d -f -x src __tests__"},"jest":{"testPathIgnorePatterns":["mock-precompile",".*\\.ts"]},"main":"src/node-main.js","exports":{".":{"browser":"./src/plugin.js","default":"./src/node-main.js"}},"dependencies":{"babel-import-util":"^0.1.0","line-column":"^1.0.2","magic-string":"^0.25.7","string.prototype.matchall":"^4.0.5"},"devDependencies":{"@babel/core":"^7.14.6","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-transform-modules-amd":"^7.14.5","@babel/plugin-transform-template-literals":"^7.14.5","@babel/plugin-transform-unicode-escapes":"^7.14.5","@babel/traverse":"^7.14.5","@types/babel__traverse":"^7.11.1","@types/jest":"^26.0.23","@types/line-column":"^1.0.0","@types/string.prototype.matchall":"^4.0.0","@typescript-eslint/eslint-plugin":"^4.28.2","@typescript-eslint/parser":"^4.28.2","common-tags":"^1.8.0","ember-source":"^3.27.5","eslint":"^6.8.0","eslint-config-prettier":"^6.15.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.4.0","jest":"^26.6.3","prettier":"^2.2.1","release-it":"^14.10.0","release-it-lerna-changelog":"^3.1.0","typescript":"^4.3.5"},"engines":{"node":"10.* || >= 12.*"},"release-it":{"plugins":{"release-it-lerna-changelog":{"infile":"CHANGELOG.md","launchEditor":true}},"git":{"tagName":"v${version}"},"github":{"release":true,"tokenRef":"GITHUB_AUTH"}},"gitHead":"1b1e38b740fa5dda095da2ab4c9128001068ca6e","bugs":{"url":"https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/issues"},"homepage":"https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile#readme","_id":"@ef4/babel-plugin-htmlbars-inline-precompile@6.0.0-alpha.2","_nodeVersion":"12.22.1","_npmVersion":"7.6.1","dist":{"integrity":"sha512-hintfZ/ede5YMapykYI81n8EIphsAECZEmwl9qXX3rRzLFGXVu42F/Cus7RIxvJX1djilOXx7GVhiPn+bwEvkA==","shasum":"882b319fd90b03c95517d4cd4dc9eb1c47299be4","tarball":"https://registry.npmjs.org/@ef4/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-6.0.0-alpha.2.tgz","fileCount":9,"unpackedSize":78465,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6Gi3CRA9TVsSAnZWagAA5KIP/RgSI8RVkX9+cyCHb8uA\n/78wyMkQGJMifj/RaqVPzubGZdQHgJAS66+iCSP0hW8YSf5JnNpuxs/N9PsA\nLG4KQ+efAiZGIDgedoZ89LkOdLWLyorPTUWVT7kmuhnifCncdvyewzj4v/eC\noSUEc8XQDVr9n/cSRxCxug7Ab44o/SnBR8MRCEHUhJt2yr4KFDtTykMC4SE9\nICdR8JTkKtq2LmgHl6+Yk6YtZvRRrm3LFVlUffFJ8vyLWGFvzb4rzPL/eEvI\n8xPu2Y8skShXk5mHFwVQwjQhqNtSyhspxQWGOt45pyPJIVNZIU+uv0nUuRba\nT5z/QiQ9aJpjTe47yLE1Wx8BxtbSfFpF+ecmxsFRQu+K6aMFd03hFVuRWkLc\nahgN/KkyE2Um/6Z29Y9lXLW/Y2JVBX36RzVGVrbXEggPFUkaZaEyCWxcZY6a\nx04I9eei/egIBNghLjN1WV8yRBMqpnMru20DwxA5qvDGQ0ikqd3MoGIIrFUk\n+2rabrfesWNwU7CGv7vjWLooU3DnmHXGJ7uERLivhF0Jj22fMvkgdJ1kXbUX\niv3L6eK1I68XU39FnSseFGIRW1yOFL9Tux/Wz+TmZw+QeKWj7rB8O0md23Ot\nBhNp34dL9jkWH/FLetZ8+NSRbDLNowZJVbgRx+VdmmdvGP/NIZs7jC2qalGZ\nTpyu\r\n=srH0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOzoOX57pShiL0TjHheR8OtK3pPvNGG/X79Lr8StFdWQIgB8eeRXDYP3QtyfEFOZSovNb/dEefENIKI6f4u9Ngvs0="}]},"_npmUser":{"name":"ef4","email":"edward@eaf4.com"},"directories":{},"maintainers":[{"name":"ef4","email":"edward@eaf4.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-htmlbars-inline-precompile_6.0.0-alpha.2_1625843894920_0.7296947373163944"},"_hasShrinkwrap":false},"6.0.0-alpha.3":{"name":"@ef4/babel-plugin-htmlbars-inline-precompile","version":"6.0.0-alpha.3","description":"Babel plugin to replace tagged template strings with precompiled HTMLBars templates","repository":{"type":"git","url":"git+https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile.git"},"license":"MIT","author":{"name":"Clemens Müller","email":"cmueller.418@gmail.com"},"scripts":{"prepare":"tsc","build":"tsc","pretest":"tsc","lint":"eslint --cache --ext .ts .","test":"jest","clean":"git clean -d -f -x src __tests__"},"jest":{"testPathIgnorePatterns":["mock-precompile",".*\\.ts"]},"main":"src/node-main.js","exports":{".":{"browser":"./src/plugin.js","default":"./src/node-main.js"}},"dependencies":{"babel-import-util":"^0.2.0","line-column":"^1.0.2","magic-string":"^0.25.7","string.prototype.matchall":"^4.0.5"},"devDependencies":{"@babel/core":"^7.14.6","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-transform-modules-amd":"^7.14.5","@babel/plugin-transform-template-literals":"^7.14.5","@babel/plugin-transform-unicode-escapes":"^7.14.5","@babel/traverse":"^7.14.5","@types/babel__traverse":"^7.11.1","@types/jest":"^26.0.23","@types/line-column":"^1.0.0","@types/string.prototype.matchall":"^4.0.0","@typescript-eslint/eslint-plugin":"^4.28.2","@typescript-eslint/parser":"^4.28.2","common-tags":"^1.8.0","ember-source":"^3.27.5","eslint":"^6.8.0","eslint-config-prettier":"^6.15.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.4.0","jest":"^26.6.3","prettier":"^2.2.1","release-it":"^14.10.0","release-it-lerna-changelog":"^3.1.0","typescript":"^4.3.5"},"engines":{"node":"10.* || >= 12.*"},"release-it":{"plugins":{"release-it-lerna-changelog":{"infile":"CHANGELOG.md","launchEditor":true}},"git":{"tagName":"v${version}"},"github":{"release":true,"tokenRef":"GITHUB_AUTH"}},"gitHead":"6a7b91dd4d82c5f244d227156ffa710c5584680a","bugs":{"url":"https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/issues"},"homepage":"https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile#readme","_id":"@ef4/babel-plugin-htmlbars-inline-precompile@6.0.0-alpha.3","_nodeVersion":"12.22.1","_npmVersion":"7.6.1","dist":{"integrity":"sha512-PosYrbpYyEszLXKOAKbMbPOL7K/F9weut/VDAPWxjWJV/3i7wNx3E1bNVCAa24hb3IUKvj8dR8K0o+fJwJxaUA==","shasum":"9a1301f16bd0c4943ec36812b88434b86d188d74","tarball":"https://registry.npmjs.org/@ef4/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-6.0.0-alpha.3.tgz","fileCount":9,"unpackedSize":77911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg71YFCRA9TVsSAnZWagAAwrUP/0T0yvvgQebCBJiVRW55\nc9y4IaoRCbgdJhmmivy7JoOrgcZDmt6rNpCX5t55NPBaB2t4C7t5zHj8EesT\nAo86oQHgvn3CK94zaph5QUC2pfnmL8I/ffQxGyJvcaVM33ZR2F/kBt7akwJF\nZO5EHW5HDT/hRVMEiwxrLhUTfS5+xRWjY9YEoAH6R4g8vxuNkiylkER2Glq8\n4NfDMYESf5h9ZzYCN9DFgEeqpV4gczBy3xlAqybacwhRnvC/KQoOIi+skl3o\n9KZKvS9wCut9xHBZspgZley9f5sMptLlmTbgb7hY0KU61gdCkYfRTOWAItem\n0++P58hi+MkxltlOS06GMQo20Xeb0DIjPp9JEw7vc2vi9/eSDdVDEVn+NFO5\n0+mzZNIw+EGePt7PBi91uNo8Yt/ujtKHHmkWZUBMuSnYx7O30APwJfsRhuhL\nnoH8O/SalGr9D2xZEDV303qcKAxudq7tR/SjIC5CIghIxOgLoEppFMikRq4R\n/66gCITPd1N2kgoF9BZaabHEjjfxUD4LY6dNj5h8ESAqWZ/1Fi04vuO1hlWl\nrmqad0J/7u1tOzCZ2jZ2xFAzYYwudVNLJFG5Nrb0D29jlOe3rf+xKGKvb8nq\n51mIFDeLmhRHkONeQHGDaLrFT0r6VDHef8gkO7WWDsTZUoHVZoc1y7Vn5pSg\nV1wF\r\n=9Eiw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgN9a7eAsg4TkPI4ddB3xNd5CYmh8yRwT3e3aRAYEYrQIhAJ1sInI0nhU0iTr8UUPZh9pdOzegbpDMtInsT0viE1g4"}]},"_npmUser":{"name":"ef4","email":"edward@eaf4.com"},"directories":{},"maintainers":[{"name":"ef4","email":"edward@eaf4.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-htmlbars-inline-precompile_6.0.0-alpha.3_1626297861318_0.3662613940960431"},"_hasShrinkwrap":false}},"time":{"created":"2021-07-08T19:40:50.100Z","6.0.0-alpha.0":"2021-07-08T19:40:50.277Z","modified":"2022-04-05T06:49:55.963Z","6.0.0-alpha.1":"2021-07-09T14:26:52.470Z","6.0.0-alpha.2":"2021-07-09T15:18:15.107Z","6.0.0-alpha.3":"2021-07-14T21:24:21.479Z"},"maintainers":[{"name":"ef4","email":"edward@eaf4.com"}],"description":"Babel plugin to replace tagged template strings with precompiled HTMLBars templates","homepage":"https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile#readme","repository":{"type":"git","url":"git+https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile.git"},"author":{"name":"Clemens Müller","email":"cmueller.418@gmail.com"},"bugs":{"url":"https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/issues"},"license":"MIT","readme":"# babel-plugin-htmlbars-inline-precompile\n\n<a href=\"https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile\"><img alt=\"Build Status\" src=\"https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/workflows/CI/badge.svg\"></a>\n\nBabel plugin to replace tagged `.hbs` formatted strings with a precompiled version.\n\n## Requirements\n\n* Node 8+\n* Ember 2.10+\n* Babel 7\n\n## Usage\n\nCan be used as either a normal function invocation or a tagged template string:\n\n```js\nimport hbs from 'htmlbars-inline-precompile';\n\nhbs`some {{handlebarsthingy}}`;\nhbs('some {{handlebarsthingy}}');\n```\n\nWhen used as a normal function invocation, you can pass additional options (e.g. to configure the resulting template's `moduleName` metadata):\n\n```js\nimport hbs from 'htmlbars-inline-precompile';\n\nhbs('some {{handlebarsthingy}}', { moduleName: 'some/path/to/file.hbs' });\n```\n\n## Babel Plugin Usage\n\n``` js\nvar HTMLBarsCompiler = require('./bower_components/ember/ember-template-compiler');\nvar HTMLBarsInlinePrecompile = require('babel-plugin-htmlbars-inline-precompile');\n\nrequire('babel').transform(\"code\", {\n  plugins: [\n    [HTMLBarsInlinePrecompile, {precompile: HTMLBarsCompiler.precompile}],\n  ],\n});\n```\n\n### Example\n\n``` js\nimport { module, test } from 'qunit';\nimport { setupRenderingTest } from 'ember-qunit';\nimport { render } from '@ember/test-helpers';\nimport hbs from 'htmlbars-inline-precompile';\n\nmodule(\"my component\", function(hooks) {\n  setupRenderingTest(hooks);\n\n  test('inline templates ftw', async function(assert) {\n    await render(hbs`hello!`);\n\n    assert.dom().hasText('hello!');\n  });\n});\n```\n\nresults in\n\n``` js\nimport { module, test } from 'qunit';\nimport { setupRenderingTest } from 'ember-qunit';\nimport { render } from '@ember/test-helpers';\nimport hbs from 'htmlbars-inline-precompile';\n\nmodule(\"my component\", function(hooks) {\n  setupRenderingTest(hooks);\n\n  test('inline templates ftw', async function(assert) {\n    await render(Ember.HTMLBars.template(function() {\n      /* crazy HTMLBars template function stuff */\n    }));\n\n    assert.dom().hasText('hello!');\n  });\n});\n```\n","readmeFilename":"README.md"}