package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "name": "three",
  3. "version": "0.126.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. "make-screenshot": "node test/e2e/puppeteer.js --make"
  63. },
  64. "keywords": [
  65. "three",
  66. "three.js",
  67. "javascript",
  68. "3d",
  69. "virtual-reality",
  70. "augmented-reality",
  71. "webgl",
  72. "webgl2",
  73. "webaudio",
  74. "webxr",
  75. "canvas",
  76. "svg",
  77. "html5"
  78. ],
  79. "author": "mrdoob",
  80. "license": "MIT",
  81. "bugs": {
  82. "url": "https://github.com/mrdoob/three.js/issues"
  83. },
  84. "homepage": "https://threejs.org/",
  85. "devDependencies": {
  86. "@babel/core": "^7.12.16",
  87. "@babel/plugin-proposal-class-properties": "^7.12.13",
  88. "@babel/preset-env": "^7.12.16",
  89. "@rollup/plugin-babel": "^5.3.0",
  90. "@rollup/plugin-node-resolve": "^11.2.0",
  91. "concurrently": "^5.3.0",
  92. "eslint": "^7.20.0",
  93. "eslint-config-mdcs": "^5.0.0",
  94. "eslint-plugin-html": "^6.1.1",
  95. "regenerator-runtime": "^0.13.7",
  96. "rollup": "^2.39.0",
  97. "rollup-plugin-terser": "^7.0.2",
  98. "servez": "^1.11.0"
  99. },
  100. "jspm": {
  101. "files": [
  102. "package.json",
  103. "LICENSE",
  104. "README.md",
  105. "build/three.js",
  106. "build/three.min.js",
  107. "build/three.module.js"
  108. ],
  109. "directories": {}
  110. }
  111. }