Ryan Tsao 15d2c2edb3 Fixed npm publish instructions 11 anos atrás
..
README.md 15d2c2edb3 Fixed npm publish instructions 11 anos atrás
build.js 10e6cae7db npm build script can be used on linux/unix environment 12 anos atrás
footer.js fb5617d910 initial implementation of three and three-math npm module creation code. 12 anos atrás
header.js 0366cd5240 remove self.performance.now support from header.js, it is no longer needed. 12 anos atrás
test.js 194b5bc6e1 remove npm script todos, add credits to npm build and test scripts. 12 anos atrás
three-math.package.json 71940fa809 Replaced all http://mrdoob.github.com/three.js/ instances with http://threejs.org/. 12 anos atrás
three.package.json 71940fa809 Replaced all http://mrdoob.github.com/three.js/ instances with http://threejs.org/. 12 anos atrás

README.md

To build the npm modules:

  1. install nodejs.
  2. install npm (if it was not installed with nodejs)
  3. install npm module dependencies (see utils/build/package.json)
  4. determine the version of THREE that you want to publish (usually it is specified in src/Three.js as the REVISION)
  5. increment the fix number above what was previously published if you are re-publishing an existing Three.js version.
  6. add "-dev" to the version number if this is a development branch.
  7. run the follow to build both the three and three-math node modules
    • node build.js 0.54.3-dev
  8. npm publish node_modules/three
  9. npm publish node_modules/three-math