Node.js, TypeScript, Three.js Boilerplate
Install the node modules
npm i
Download and install Emscripten and set a the environment variable EMSDK
to the installation directory (your/path/emsdk).
For example, on a Mac, add the following line to the ".zshrc" file in the user directory
export EMSDK="/Users/$USER/source/emscripten/emsdk"
npm run build
npm run start
npm run dev