emscripten-core/emscripten

Publish emsdk on npm + integrate with npm

开放

#5,774 创建于 2017年11月13日

 (28 条评论) (14 个反应) (0 位负责人)C++ (3,519 个派生)batch import
help wantedwontfix

仓库指标

星标
 (27,361 个星标)
PR 合并指标
 (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.

贡献者指南