emscripten-core/emscripten

Publish emsdk on npm + integrate with npm

Open

#5,774 建立於 2017年11月13日

在 GitHub 查看
 (28 留言) (14 反應) (0 負責人)C++ (3,519 fork)batch import
help wantedwontfix

倉庫指標

Star
 (27,361 star)
PR 合併指標
 (平均合併 19天 10小時) (30 天內合併 147 個 PR)

描述

Right now it's kind of kludgy to create npm packages that are built from C sources using Emscripten. Normally, when doing a local 'npm install', the devDependencies for the package are pulled from npm. But if Emscripten is a development dependency, people need to "manually" install emsdk, activate the right version, etc. It would be great if Emscripten could also be pulled from npm to 1) make this less kludgy 2) enable automatically activating the Emscripten/node/llvm versions required for the project in question, for example based on additional info in the package.json file.

貢獻者指南