package.json 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "three",
  3. "version": "0.105.1",
  4. "description": "JavaScript 3D library",
  5. "main": "build/three.js",
  6. "repository": "mrdoob/three.js",
  7. "jsnext:main": "build/three.module.js",
  8. "module": "build/three.module.js",
  9. "types": "src/Three.d.ts",
  10. "files": [
  11. "build/three.js",
  12. "build/three.min.js",
  13. "build/three.module.js",
  14. "examples/js",
  15. "examples/jsm",
  16. "examples/fonts",
  17. "LICENSE",
  18. "package.json",
  19. "README.md",
  20. "src"
  21. ],
  22. "directories": {
  23. "doc": "docs",
  24. "example": "examples",
  25. "test": "test"
  26. },
  27. "eslintConfig": {
  28. "extends": "mdcs",
  29. "plugins": [
  30. "html",
  31. "@typescript-eslint"
  32. ],
  33. "rules": {
  34. "@typescript-eslint/no-unused-vars": 1,
  35. "@typescript-eslint/indent": [
  36. "error",
  37. "tab",
  38. {
  39. "SwitchCase": 1
  40. }
  41. ]
  42. }
  43. },
  44. "scripts": {
  45. "build": "rollup -c",
  46. "build-test": "rollup -c test/rollup.unit.config.js",
  47. "build-closure": "rollup -c && google-closure-compiler --warning_level=VERBOSE --jscomp_off=globalThis --jscomp_off=checkTypes --externs utils/build/externs.js --language_in=ECMASCRIPT5_STRICT --js build/three.js --js_output_file build/three.min.js",
  48. "build-examples": "rollup -c rollup-examples.config.js",
  49. "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"http-server -c-1 -p 8080\"",
  50. "dev-test": "concurrently --names \"ROLLUP,ROLLUPTEST,HTTP\" -c \"bgBlue.bold,bgRed.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"rollup -c test/rollup.unit.config.js -w -m inline\" \"http-server -p 8080\"",
  51. "start": "npm run dev",
  52. "lint": "eslint src --ext js --ext ts",
  53. "test": "npm run build-test && qunit -r failonlyreporter test/unit/three.source.unit.js",
  54. "travis": "npm run lint && npm test"
  55. },
  56. "keywords": [
  57. "three",
  58. "three.js",
  59. "3d",
  60. "webgl"
  61. ],
  62. "author": "mrdoob",
  63. "license": "MIT",
  64. "bugs": {
  65. "url": "https://github.com/mrdoob/three.js/issues"
  66. },
  67. "homepage": "https://threejs.org/",
  68. "devDependencies": {
  69. "concurrently": "^4.1.1",
  70. "eslint": "^6.0.1",
  71. "eslint-config-mdcs": "^4.2.3",
  72. "eslint-plugin-html": "^6.0.0",
  73. "failonlyreporter": "^1.0.0",
  74. "google-closure-compiler": "20190618.0.0",
  75. "http-server": "^0.11.1",
  76. "qunit": "^2.9.2",
  77. "rollup": "^1.16.2",
  78. "typescript": "^3.5.2"
  79. },
  80. "jspm": {
  81. "files": [
  82. "package.json",
  83. "LICENSE",
  84. "README.md",
  85. "build/three.js",
  86. "build/three.min.js",
  87. "build/three.module.js"
  88. ],
  89. "directories": {}
  90. }
  91. }
粤ICP备19079148号