package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "three",
  3. "version": "0.87.1",
  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 node_modules/google-closure-compiler/compiler.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": "^4.1.1",
  53. "eslint-config-mdcs": "^4.2.2",
  54. "google-closure-compiler": "^20170521.0.0",
  55. "qunitjs": "^2.1.1",
  56. "rollup": "^0.43.0",
  57. "rollup-watch": "^4.0.0",
  58. "uglify-js": "^3.0.23",
  59. "electron": "1.7.8"
  60. }
  61. }