package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. "bower.json"
  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-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js",
  32. "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",
  33. "dev": "rollup -c -w",
  34. "lint": "eslint src",
  35. "test": "echo \"Error: no test specified\" && exit 1"
  36. },
  37. "keywords": [
  38. "three",
  39. "three.js",
  40. "3d",
  41. "webgl"
  42. ],
  43. "author": "mrdoob",
  44. "license": "MIT",
  45. "bugs": {
  46. "url": "https://github.com/mrdoob/three.js/issues"
  47. },
  48. "homepage": "http://threejs.org/",
  49. "devDependencies": {
  50. "eslint": "^3.10.1",
  51. "eslint-config-mdcs": "^4.2.2",
  52. "rollup": "^0.36.3",
  53. "rollup-watch": "^2.5.0",
  54. "uglify-js": "^2.6.0"
  55. }
  56. }