package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "three",
  3. "version": "0.82.1",
  4. "description": "JavaScript 3D library",
  5. "main": "build/three.js",
  6. "repository": "mrdoob/three.js",
  7. "jsnext:main": "build/three.modules.js",
  8. "files": [
  9. "package.json",
  10. "LICENSE",
  11. "README.md",
  12. "build/three.js",
  13. "build/three.min.js",
  14. "build/three.modules.js",
  15. "src",
  16. "examples/js",
  17. "examples/fonts",
  18. "bower.json"
  19. ],
  20. "directories": {
  21. "doc": "docs",
  22. "example": "examples",
  23. "test": "test"
  24. },
  25. "scripts": {
  26. "build": "rollup -c",
  27. "build-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js",
  28. "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",
  29. "dev": "rollup -c -w",
  30. "test": "echo \"Error: no test specified\" && exit 1"
  31. },
  32. "keywords": [
  33. "three",
  34. "three.js",
  35. "3d",
  36. "webgl"
  37. ],
  38. "author": "mrdoob",
  39. "license": "MIT",
  40. "bugs": {
  41. "url": "https://github.com/mrdoob/three.js/issues"
  42. },
  43. "homepage": "http://threejs.org/",
  44. "devDependencies": {
  45. "argparse": "^1.0.3",
  46. "jscs": "^1.13.1",
  47. "rollup": "^0.36.3",
  48. "rollup-watch": "^2.5.0",
  49. "uglify-js": "^2.6.0"
  50. }
  51. }