{"name":"metro-hermes-compiler","version":"0.60.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.60.0","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-P/mD2AOGCeitFgA7BX5zi/XCEJvJ5IcM1n9a1hHEQt8RvhXT6vrofINYOkw3U0HWwEYt7Zy61l/uVI+G2tzkoA==","shasum":"23d8342e7c26bf79e47266fd6c89cc339c057810","tarball":"http://registry-npm.ywwl.com/metro-hermes-compiler/download/metro-hermes-compiler-0.60.0.tgz","fileCount":6,"unpackedSize":1544865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+0iSCRA9TVsSAnZWagAAdnkP/1NBpwcV6MITa2/YxUNB\nef9X7sXmVA6xbnMnaN2RTlQmzK+rrS/n4LR57G/Ij2zZmpQPzuJyxaxaplpC\n0fDwqTC7xTg9LvhL3Ttha9Xoc+udOnlZgMy9CMkyD9U5L/iuMLIhGFpoLqcg\nmtLBAlD8KY3MFs+DZ0WxoSZZqe6cK374ejaQbQchJfscTBTLW+2BC0ETOGPP\ns6zqKeYmvTKBOB0y+88xN51bgGtMReVdTygEszN6hFJ54iVpVZ8YpE9hEBcw\nU4NSyDtyf7gD0LRgL55HWQ/cSB/Bbnk2kVYhr4KvfVfCQjrYihYClMMSc2yj\nop4OGA6/mR0BEg3u0O7sw24dkd83JM3VI+dKJJ8w5Ntolt2QcgVOQ3gIOOYw\nsT0i9sD5B9rBYJUZ+FtA5CQulshOoyOWqpTcgzmg0KRvpmhmJy/Zfi/zLGPQ\nZpV2DmWfe/4HcVI6iaDc4Yh3Riu4zKHQej16001fwxRblqmm1rJdIvBxXz0J\nGeFUOo4JRrq0QamLtL4j5TCx87LvVw9rvPwPG8JYuYbFto7OmYQqFWpJu17V\naYf9fgosIKACm8DKjo1c9cq2DTzvt8zMRhCdzGWvfIlCVNNqRNQkgau1HTQL\nENFA9SFb7lZBratNMhpEK36zKYB1IRj6OXq1kycWbnylkZcDCuy1CMD6UTxu\nWhM1\r\n=qs3n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMYSgSMWladWoIMJ/6QdNaFPHsYKLrA1aCafkhpuZnKQIgP4SiTNHErFFyRJx8XuhKJ1Zl427c+UYazrA/eNsXc8w="}],"size":472963,"noattachment":false,"key":"/metro-hermes-compiler/-/metro-hermes-compiler-0.60.0.tgz"},"maintainers":[{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"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.60.0_1593526412393_0.7141983383310226"},"_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":1593526412628,"_cnpm_publish_time":1593526412628,"dist-tags":{"latest":"0.73.10"}}