package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. "root": true,
  30. "extends": "mdcs",
  31. "plugins": [
  32. "html"
  33. ],
  34. "rules": {
  35. "quotes": [
  36. "error",
  37. "single"
  38. ],
  39. "prefer-const": [
  40. "error",
  41. {
  42. "destructuring": "any",
  43. "ignoreReadBeforeAssign": false
  44. }
  45. ]
  46. }
  47. },
  48. "scripts": {
  49. "start": "npm run dev",
  50. "test": "npm run test-lint && npm run test-unit",
  51. "build": "rollup -c utils/build/rollup.config.js",
  52. "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"servez -p 8080\"",
  53. "lint-fix": "eslint src --ext js --fix && eslint examples/js examples/jsm --ext js --ignore-pattern libs --fix",
  54. "lint-docs": "eslint docs --ext html",
  55. "lint-examples": "eslint examples/js examples/jsm --ext js --ignore-pattern libs",
  56. "test-lint": "eslint src --ext js",
  57. "test-unit": "npm run unit --prefix test",
  58. "test-unit-examples": "npm run unit-examples --prefix test",
  59. "test-e2e": "node test/e2e/puppeteer.js",
  60. "test-e2e-cov": "node test/e2e/check-coverage.js",
  61. "make-screenshot": "node test/e2e/puppeteer.js --make"
  62. },
  63. "keywords": [
  64. "three",
  65. "three.js",
  66. "javascript",
  67. "3d",
  68. "virtual-reality",
  69. "augmented-reality",
  70. "webgl",
  71. "webgl2",
  72. "webaudio",
  73. "webxr",
  74. "canvas",
  75. "svg",
  76. "html5"
  77. ],
  78. "author": "mrdoob",
  79. "license": "MIT",
  80. "bugs": {
  81. "url": "https://github.com/mrdoob/three.js/issues"
  82. },
  83. "homepage": "https://threejs.org/",
  84. "devDependencies": {
  85. "@babel/core": "^7.12.10",
  86. "@babel/plugin-proposal-class-properties": "^7.12.1",
  87. "@babel/preset-env": "^7.12.11",
  88. "@rollup/plugin-babel": "^5.2.2",
  89. "@rollup/plugin-node-resolve": "^11.1.0",
  90. "concurrently": "^5.3.0",
  91. "eslint": "^7.18.0",
  92. "eslint-config-mdcs": "^5.0.0",
  93. "eslint-plugin-html": "^6.1.1",
  94. "regenerator-runtime": "^0.13.7",
  95. "rollup": "^2.38.0",
  96. "rollup-plugin-terser": "^7.0.2",
  97. "servez": "^1.11.0"
  98. },
  99. "jspm": {
  100. "files": [
  101. "package.json",
  102. "LICENSE",
  103. "README.md",
  104. "build/three.js",
  105. "build/three.min.js",
  106. "build/three.module.js"
  107. ],
  108. "directories": {}
  109. }
  110. }