package.json 1.4 KB

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