Using three.js with package managers such as NPM and Yarn