package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "three",
  3. "version": "0.82.0",
  4. "description": "JavaScript 3D library",
  5. "main": "build/three.js",
  6. "jsnext:main": "build/three.modules.js",
  7. "files": [
  8. "package.json",
  9. "LICENSE",
  10. "README.md",
  11. "build/three.js",
  12. "build/three.min.js",
  13. "build/three.modules.js",
  14. "src",
  15. "examples/js",
  16. "examples/fonts",
  17. "bower.json"
  18. ],
  19. "directories": {
  20. "doc": "docs",
  21. "example": "examples",
  22. "test": "test"
  23. },
  24. "scripts": {
  25. "build": "rollup -c",
  26. "build-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js",
  27. "build-closure": "rollup -c && java -jar utils/build/compiler/closure-compiler-v20160713.jar --warning_level=VERBOSE --jscomp_off=globalThis --jscomp_off=checkTypes --externs utils/build/externs.js --language_in=ECMASCRIPT5_STRICT --js build/three.js --js_output_file build/three.min.js",
  28. "dev": "rollup -c -w",
  29. "test": "echo \"Error: no test specified\" && exit 1"
  30. },
  31. "repository": {
  32. "type": "git",
  33. "url": "https://github.com/mrdoob/three.js"
  34. },
  35. "keywords": [
  36. "three",
  37. "three.js",
  38. "3d",
  39. "webgl"
  40. ],
  41. "author": "mrdoob",
  42. "license": "MIT",
  43. "bugs": {
  44. "url": "https://github.com/mrdoob/three.js/issues"
  45. },
  46. "homepage": "http://threejs.org/",
  47. "devDependencies": {
  48. "argparse": "^1.0.3",
  49. "jscs": "^1.13.1",
  50. "rollup": "^0.36.3",
  51. "rollup-watch": "^2.5.0",
  52. "uglify-js": "^2.6.0"
  53. }
  54. }
粤ICP备19079148号