package.json 2.8 KB

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