package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "three",
  3. "version": "0.85.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. "bower.json",
  12. "LICENSE",
  13. "README.md",
  14. "build/three.js",
  15. "build/three.min.js",
  16. "build/three.module.js",
  17. "src",
  18. "examples/js",
  19. "examples/fonts"
  20. ],
  21. "directories": {
  22. "doc": "docs",
  23. "example": "examples",
  24. "test": "test"
  25. },
  26. "eslintConfig": {
  27. "extends": "mdcs"
  28. },
  29. "scripts": {
  30. "build": "rollup -c",
  31. "build-test": "rollup -c test/rollup.unit.config.js",
  32. "build-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js",
  33. "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",
  34. "dev": "rollup -c -w -m inline",
  35. "lint": "eslint src",
  36. "test": "rollup -c test/rollup.unit.config.js -w",
  37. "editor": "electron ./editor/main.js"
  38. },
  39. "keywords": [
  40. "three",
  41. "three.js",
  42. "3d",
  43. "webgl"
  44. ],
  45. "author": "mrdoob",
  46. "license": "MIT",
  47. "bugs": {
  48. "url": "https://github.com/mrdoob/three.js/issues"
  49. },
  50. "homepage": "http://threejs.org/",
  51. "devDependencies": {
  52. "eslint": "^3.10.1",
  53. "eslint-config-mdcs": "^4.2.2",
  54. "qunitjs": "^2.1.1",
  55. "rollup": "^0.41.4",
  56. "rollup-watch": "^3.2.2",
  57. "uglify-js": "^2.6.0",
  58. "electron": "^1.6.1"
  59. }
  60. }