package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 -w",
  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": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"serve --port 8080\"",
  35. "start": "npm run dev",
  36. "lint": "eslint src",
  37. "test": "qunit test/unit/three.source.unit.js",
  38. "editor": "electron ./editor/main.js"
  39. },
  40. "keywords": [
  41. "three",
  42. "three.js",
  43. "3d",
  44. "webgl"
  45. ],
  46. "author": "mrdoob",
  47. "license": "MIT",
  48. "bugs": {
  49. "url": "https://github.com/mrdoob/three.js/issues"
  50. },
  51. "homepage": "http://threejs.org/",
  52. "devDependencies": {
  53. "concurrently": "^3.5.0",
  54. "electron": "1.7.8",
  55. "eslint": "^4.1.1",
  56. "eslint-config-mdcs": "^4.2.2",
  57. "google-closure-compiler": "^20170521.0.0",
  58. "qunitjs": "^2.1.1",
  59. "rollup": "^0.43.0",
  60. "rollup-watch": "^4.0.0",
  61. "serve": "^6.3.1",
  62. "uglify-js": "^3.0.23"
  63. }
  64. }