package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. {
  2. "_from": "three@^0.138.2",
  3. "_id": "three@0.138.3",
  4. "_inBundle": false,
  5. "_integrity": "sha512-4t1cKC8gimNyJChJbaklg8W/qj3PpsLJUIFm5LIuAy/hVxxNm1ru2FGTSfbTSsuHmC/7ipsyuGKqrSAKLNtkzg==",
  6. "_location": "/three",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "three@^0.138.2",
  12. "name": "three",
  13. "escapedName": "three",
  14. "rawSpec": "^0.138.2",
  15. "saveSpec": null,
  16. "fetchSpec": "^0.138.2"
  17. },
  18. "_requiredBy": [
  19. "/"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/three/-/three-0.138.3.tgz",
  22. "_shasum": "7be5153d79dcbf9e9baad82e7faf8c29edda4ed0",
  23. "_spec": "three@^0.138.2",
  24. "_where": "D:\\yf\\项目\\智慧工地\\代码库\\zhgd-front\\crm_web",
  25. "author": {
  26. "name": "mrdoob"
  27. },
  28. "bugs": {
  29. "url": "https://github.com/mrdoob/three.js/issues"
  30. },
  31. "bundleDependencies": false,
  32. "deprecated": false,
  33. "description": "JavaScript 3D library",
  34. "devDependencies": {
  35. "@babel/core": "^7.15.5",
  36. "@babel/eslint-parser": "^7.15.7",
  37. "@babel/plugin-proposal-class-properties": "^7.14.5",
  38. "@babel/preset-env": "^7.15.6",
  39. "@rollup/plugin-babel": "^5.3.0",
  40. "@rollup/plugin-node-resolve": "^13.0.5",
  41. "chalk": "^4.1.2",
  42. "concurrently": "^6.2.2",
  43. "eslint": "^7.32.0",
  44. "eslint-config-mdcs": "^5.0.0",
  45. "eslint-plugin-html": "^6.2.0",
  46. "rollup": "^2.57.0",
  47. "rollup-plugin-filesize": "^9.1.1",
  48. "rollup-plugin-terser": "^7.0.2",
  49. "rollup-plugin-visualizer": "^5.5.2",
  50. "servez": "^1.12.0"
  51. },
  52. "directories": {
  53. "doc": "docs",
  54. "example": "examples",
  55. "test": "test"
  56. },
  57. "eslintConfig": {
  58. "root": true,
  59. "extends": "mdcs",
  60. "parser": "@babel/eslint-parser",
  61. "parserOptions": {
  62. "babelOptions": {
  63. "configFile": "./utils/build/.babelrc.json"
  64. }
  65. },
  66. "plugins": [
  67. "html"
  68. ],
  69. "globals": {
  70. "__THREE_DEVTOOLS__": "readonly",
  71. "WebGL2ComputeRenderingContext": "readonly",
  72. "potpack": "readonly",
  73. "fflate": "readonly",
  74. "bodymovin": "readonly",
  75. "OIMO": "readonly",
  76. "Stats": "readonly",
  77. "XRWebGLBinding": "readonly",
  78. "XRWebGLLayer": "readonly",
  79. "GPUShaderStage": "readonly",
  80. "GPUBufferUsage": "readonly",
  81. "GPUTextureUsage": "readonly",
  82. "QUnit": "readonly"
  83. },
  84. "rules": {
  85. "no-throw-literal": [
  86. "error"
  87. ],
  88. "quotes": [
  89. "error",
  90. "single"
  91. ],
  92. "prefer-const": [
  93. "error",
  94. {
  95. "destructuring": "any",
  96. "ignoreReadBeforeAssign": false
  97. }
  98. ]
  99. }
  100. },
  101. "exports": {
  102. ".": {
  103. "import": "./build/three.module.js",
  104. "require": "./build/three.cjs"
  105. },
  106. "./examples/fonts/*": "./examples/fonts/*",
  107. "./examples/jsm/*": "./examples/jsm/*",
  108. "./src/*": "./src/*"
  109. },
  110. "files": [
  111. "build/three.js",
  112. "build/three.cjs",
  113. "build/three.min.js",
  114. "build/three.module.js",
  115. "examples/js",
  116. "examples/jsm",
  117. "examples/fonts",
  118. "LICENSE",
  119. "package.json",
  120. "README.md",
  121. "src"
  122. ],
  123. "homepage": "https://threejs.org/",
  124. "jspm": {
  125. "files": [
  126. "package.json",
  127. "LICENSE",
  128. "README.md",
  129. "build/three.js",
  130. "build/three.min.js",
  131. "build/three.module.js"
  132. ],
  133. "directories": {}
  134. },
  135. "keywords": [
  136. "three",
  137. "three.js",
  138. "javascript",
  139. "3d",
  140. "virtual-reality",
  141. "augmented-reality",
  142. "webgl",
  143. "webgl2",
  144. "webaudio",
  145. "webgpu",
  146. "webxr",
  147. "canvas",
  148. "svg",
  149. "html5"
  150. ],
  151. "license": "MIT",
  152. "main": "./build/three.js",
  153. "module": "./build/three.module.js",
  154. "name": "three",
  155. "repository": {
  156. "type": "git",
  157. "url": "git+https://github.com/mrdoob/three.js.git"
  158. },
  159. "scripts": {
  160. "build": "rollup -c utils/build/rollup.config.js",
  161. "build-examples": "rollup -c utils/build/rollup.examples.config.js && echo '\nFormatting...' && eslint examples/js --ext js --ignore-pattern libs --ignore-pattern ifc --fix",
  162. "build-module": "ONLY_MODULE=true rollup -c utils/build/rollup.config.js",
  163. "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"servez -p 8080\"",
  164. "lint": "eslint src --ext js",
  165. "lint-docs": "eslint docs --ext html",
  166. "lint-examples": "eslint examples/js examples/jsm --ext js --ignore-pattern libs --ignore-pattern ifc",
  167. "lint-fix": "npm run lint -- --fix && npm run lint-examples -- --fix",
  168. "make-screenshot": "node test/e2e/puppeteer.js --make",
  169. "start": "npm run dev",
  170. "test": "npm run lint && npm run test-unit",
  171. "test-e2e": "node test/e2e/puppeteer.js",
  172. "test-e2e-cov": "node test/e2e/check-coverage.js",
  173. "test-treeshake": "rollup -c test/rollup.treeshake.config.js",
  174. "test-unit": "npm run unit --prefix test"
  175. },
  176. "sideEffects": false,
  177. "type": "module",
  178. "version": "0.138.3"
  179. }