package.json 1.5 KB

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