2
0

package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. "lint": "eslint src",
  31. "test": "echo \"Error: no test specified\" && exit 1"
  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. "eslint": "^3.10.1",
  47. "eslint-config-mdcs": "^4.2.1",
  48. "rollup": "^0.36.3",
  49. "rollup-watch": "^2.5.0",
  50. "uglify-js": "^2.6.0"
  51. }
  52. }