{"name":"metro-hermes-compiler","version":"0.63.0","description":"🚇 Hermes bytecode compiler for Metro.","main":"src/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/facebook/metro.git"},"scripts":{"prepare-release":"test -d build && rm -rf src.real && mv src src.real && mv build src","cleanup-release":"test ! -e build && mv src build && mv src.real src"},"license":"MIT","bugs":{"url":"https://github.com/facebook/metro/issues"},"homepage":"https://github.com/facebook/metro#readme","_id":"metro-hermes-compiler@0.63.0","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-iOjjGMJNFkA802jGYshWqyK9m/oxRqt7zsVhpLUWlew/9wbwh0x4xfAcr5L/xDRiTITz9dkob6hKS8Pf4gPucA==","shasum":"33551a2f51c50cfd1632f6630839f89e533896d9","tarball":"http://registry-npm.ywwl.com/metro-hermes-compiler/download/metro-hermes-compiler-0.63.0.tgz","fileCount":6,"unpackedSize":1544866,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfP98DCRA9TVsSAnZWagAAOrIP/0WD+/L5Ij9hwIYcKnHW\nZ2zXvZ9Aj40SeLgjim2bZLVeAXOuPte+/6BSHq2NN2FiGMTV9OrHqLugZ4Ce\ndAlwDh7nhnXiMdpCwdNmcCc90KzqUMuGmji78s5alkSUNfmt7dNodc/XBnTW\nihI94dba6Qg+AaD8CR26vrKQLYsn7jSpr4CN8PB/Ql2gppSl8mqlzUME01w8\nWUoCD1hzOaNmZPR909/J6P96f+mey7UQvwayDnPk4f8NRtu3fAMTQUK3Zycm\nVABYYPUzI+f5N3QFMsqzKJRzxtj50kdSqLz7VDZKqtw2jzuhNA1llElVC3oc\ngwqI0l4xaAyw1S9xV4T7OtV7k5k7asZ2NIuBDAxqjTylf6oSvEzLyxiLLn7o\nlDgBGMHG1QVdDcIZ/R7C2C/YBk1tBrwdyEeIOxy+AQ624rXD0M6Ca7MTIyvj\n/UWtaVIfwiys+kCrIMDg51EeRSzZzH64XnSePKDrgR8M/FxFgRRi6EoTnvzG\nOoyjMMvzySJA54ynZeT9wqIHyxcktcKPL4yLJBaIMeB8/tTRR0afsU2vZ0aw\nmRjPv0JftHBVDc/07vUlPkyeG5W2MR7rNxWOqluYr/EvwOtstdpieZeVQ1rj\ngIy95ceeyGcRnFREQbtkvIW3EGlj26U8RDS5eYQe3LaIZci7TPQ9KckAJC48\nZPKF\r\n=7rXu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxDtbBGtEkd2uwqgYLPaw/utx6SHK7keXSKvyh1OIVfQIhALwhkrdr460+RjjbS404musBEc3y7kUYh8sxCSvWCkNZ"}],"size":472965,"noattachment":false,"key":"/metro-hermes-compiler/-/metro-hermes-compiler-0.63.0.tgz"},"maintainers":[{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rafeca@fb.com","name":"metro-bot"}],"_npmUser":{"name":"metro-bot","email":"rafeca@fb.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/metro-hermes-compiler_0.63.0_1598021379580_0.23643561613989528"},"_hasShrinkwrap":false,"readme":"# Metro Hermes Compiler\n\nThis experimental module provides a high-level API to work with the Hermes bytecode compiler (HBC). HBC is integrated as a WASM binary generated by the emscripten toolchain and checked in as part of this package.\n\n## How to build HBC\n\nA pre-configured emscripten environment can be used through this [Docker image](https://hub.docker.com/r/trzeci/emscripten/). Docker can be installed via its [desktop app](https://docs.docker.com/docker-for-mac/). Make sure to increase resource limits (16G RAM, as much CPU as possible).\n\n```\ncd path/to/hermes/checkout\ndocker run -i -t --rm -v `pwd`:`pwd` trzeci/emscripten bash\napt-get update -y && apt-get install -y icu-devtools\ncd path/to/hermes/checkout\ncmake . -DCMAKE_TOOLCHAIN_FILE=/emsdk_portable/emscripten/sdk/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_BUILD_TYPE=Release\nmake -j emhermesc\n```\n\nAfter the build process finishes the Hermes Bytecode Compiler JavaScript file will be available in the `bin` folder.\n","publish_time":1598021379726,"_cnpm_publish_time":1598021379726,"dist-tags":{"latest":"0.73.10"}}