Ben Houston c337d8beb7 use new Date().getTime() when not in a node.js environment. 12 ani în urmă
..
README.md fb5617d910 initial implementation of three and three-math npm module creation code. 13 ani în urmă
build.js 96d2ab75ff upupdate node module building code to support new location of utils/build scripts. 13 ani în urmă
footer.js fb5617d910 initial implementation of three and three-math npm module creation code. 13 ani în urmă
header.js c337d8beb7 use new Date().getTime() when not in a node.js environment. 12 ani în urmă
test.js 194b5bc6e1 remove npm script todos, add credits to npm build and test scripts. 13 ani în urmă
three-math.package.json 194b5bc6e1 remove npm script todos, add credits to npm build and test scripts. 13 ani în urmă
three.package.json 194b5bc6e1 remove npm script todos, add credits to npm build and test scripts. 13 ani în urmă

README.md

To build the npm modules:

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