package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "three",
  3. "version": "0.102.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. "types": "src/Three.d.ts",
  10. "files": [
  11. "package.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/jsm",
  20. "examples/fonts"
  21. ],
  22. "directories": {
  23. "doc": "docs",
  24. "example": "examples",
  25. "test": "test"
  26. },
  27. "eslintConfig": {
  28. "extends": "mdcs",
  29. "plugins": [
  30. "html"
  31. ]
  32. },
  33. "scripts": {
  34. "build": "rollup -c",
  35. "build-test": "rollup -c test/rollup.unit.config.js",
  36. "build-closure": "rollup -c && java -jar node_modules/google-closure-compiler-java/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",
  37. "build-examples": "rollup -c rollup-examples.config.js",
  38. "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"http-server -c-1 -p 8080\"",
  39. "dev-test": "concurrently --names \"ROLLUP,ROLLUPTEST,HTTP\" -c \"bgBlue.bold,bgRed.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"rollup -c test/rollup.unit.config.js -w -m inline\" \"http-server -p 8080\"",
  40. "start": "npm run dev",
  41. "lint": "eslint src",
  42. "test": "npm run build-test && qunit test/unit/three.source.unit.js",
  43. "travis": "npm run lint && npm test",
  44. "editor": "electron ./editor/main.js"
  45. },
  46. "keywords": [
  47. "three",
  48. "three.js",
  49. "3d",
  50. "webgl"
  51. ],
  52. "author": "mrdoob",
  53. "license": "MIT",
  54. "bugs": {
  55. "url": "https://github.com/mrdoob/three.js/issues"
  56. },
  57. "homepage": "https://threejs.org/",
  58. "devDependencies": {
  59. "concurrently": "^4.1.0",
  60. "electron": "^4.0.4",
  61. "eslint": "^5.13.0",
  62. "eslint-config-mdcs": "^4.2.3",
  63. "eslint-plugin-html": "^5.0.3",
  64. "google-closure-compiler": "20181210.0.0",
  65. "http-server": "^0.11.1",
  66. "qunit": "^2.9.1",
  67. "rollup": "^1.1.2"
  68. },
  69. "jspm": {
  70. "files": [
  71. "package.json",
  72. "LICENSE",
  73. "README.md",
  74. "build/three.js",
  75. "build/three.min.js",
  76. "build/three.module.js"
  77. ],
  78. "directories": {}
  79. }
  80. }