package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "name": "three",
  3. "version": "0.125.2",
  4. "description": "JavaScript 3D library",
  5. "main": "build/three.js",
  6. "module": "build/three.module.js",
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/mrdoob/three.js"
  10. },
  11. "files": [
  12. "build/three.js",
  13. "build/three.min.js",
  14. "build/three.module.js",
  15. "examples/js",
  16. "examples/jsm",
  17. "examples/fonts",
  18. "LICENSE",
  19. "package.json",
  20. "README.md",
  21. "src"
  22. ],
  23. "directories": {
  24. "doc": "docs",
  25. "example": "examples",
  26. "test": "test"
  27. },
  28. "eslintConfig": {
  29. "parser": "@babel/eslint-parser",
  30. "parserOptions": {
  31. "babelOptions": {
  32. "configFile": "./utils/build/babel.config.json"
  33. }
  34. },
  35. "root": true,
  36. "extends": "mdcs",
  37. "plugins": [
  38. "html"
  39. ],
  40. "rules": {
  41. "quotes": [
  42. "error",
  43. "single"
  44. ],
  45. "prefer-const": [
  46. "error",
  47. {
  48. "destructuring": "any",
  49. "ignoreReadBeforeAssign": false
  50. }
  51. ]
  52. }
  53. },
  54. "scripts": {
  55. "start": "npm run dev",
  56. "test": "npm run test-lint && npm run test-unit",
  57. "build": "rollup -c utils/build/rollup.config.js",
  58. "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"servez -p 8080\"",
  59. "lint-fix": "eslint src --ext js --fix && eslint examples/js examples/jsm --ext js --ignore-pattern libs --fix",
  60. "lint-docs": "eslint docs --ext html",
  61. "lint-examples": "eslint examples/js examples/jsm --ext js --ignore-pattern libs",
  62. "test-lint": "eslint src --ext js",
  63. "test-unit": "npm run unit --prefix test",
  64. "test-unit-examples": "npm run unit-examples --prefix test",
  65. "test-e2e": "node test/e2e/puppeteer.js",
  66. "test-e2e-cov": "node test/e2e/check-coverage.js",
  67. "make-screenshot": "node test/e2e/puppeteer.js --make"
  68. },
  69. "keywords": [
  70. "three",
  71. "three.js",
  72. "javascript",
  73. "3d",
  74. "virtual-reality",
  75. "augmented-reality",
  76. "webgl",
  77. "webgl2",
  78. "webaudio",
  79. "webxr",
  80. "canvas",
  81. "svg",
  82. "html5"
  83. ],
  84. "author": "mrdoob",
  85. "license": "MIT",
  86. "bugs": {
  87. "url": "https://github.com/mrdoob/three.js/issues"
  88. },
  89. "homepage": "https://threejs.org/",
  90. "devDependencies": {
  91. "@babel/core": "^7.12.10",
  92. "@babel/eslint-parser": "^7.12.13",
  93. "@babel/plugin-proposal-class-properties": "^7.12.1",
  94. "@babel/preset-env": "^7.12.11",
  95. "@rollup/plugin-babel": "^5.2.2",
  96. "@rollup/plugin-node-resolve": "^11.1.0",
  97. "concurrently": "^5.3.0",
  98. "eslint": "^7.18.0",
  99. "eslint-config-mdcs": "^5.0.0",
  100. "eslint-plugin-html": "^6.1.1",
  101. "regenerator-runtime": "^0.13.7",
  102. "rollup": "^2.38.0",
  103. "rollup-plugin-terser": "^7.0.2",
  104. "servez": "^1.11.0"
  105. },
  106. "jspm": {
  107. "files": [
  108. "package.json",
  109. "LICENSE",
  110. "README.md",
  111. "build/three.js",
  112. "build/three.min.js",
  113. "build/three.module.js"
  114. ],
  115. "directories": {}
  116. }
  117. }
粤ICP备19079148号