package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "three",
  3. "version": "0.101.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. "package.json",
  12. "LICENSE",
  13. "README.md",
  14. "build/three.js",
  15. "build/three.min.js",
  16. "build/three.module.js",
  17. "src",
  18. "examples/js",
  19. "examples/fonts"
  20. ],
  21. "directories": {
  22. "doc": "docs",
  23. "example": "examples",
  24. "test": "test"
  25. },
  26. "eslintConfig": {
  27. "extends": "mdcs",
  28. "plugins": [
  29. "html"
  30. ]
  31. },
  32. "scripts": {
  33. "build": "rollup -c",
  34. "build-test": "rollup -c test/rollup.unit.config.js",
  35. "build-closure": "rollup -c && java -jar node_modules/google-closure-compiler-java/compiler.jar --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",
  36. "build-examples": "rollup -c rollup-examples.config.js",
  37. "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"http-server -c-1 -p 8080\"",
  38. "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\"",
  39. "start": "npm run dev",
  40. "lint": "eslint src",
  41. "test": "npm run build-test && qunit test/unit/three.source.unit.js",
  42. "travis": "npm run lint && npm test",
  43. "editor": "electron ./editor/main.js"
  44. },
  45. "keywords": [
  46. "three",
  47. "three.js",
  48. "3d",
  49. "webgl"
  50. ],
  51. "author": "mrdoob",
  52. "license": "MIT",
  53. "bugs": {
  54. "url": "https://github.com/mrdoob/three.js/issues"
  55. },
  56. "homepage": "https://threejs.org/",
  57. "devDependencies": {
  58. "concurrently": "^4.1.0",
  59. "electron": "^4.0.0",
  60. "eslint": "^5.11.1",
  61. "eslint-config-mdcs": "^4.2.3",
  62. "eslint-plugin-html": "^5.0.0",
  63. "google-closure-compiler": "20181210.0.0",
  64. "http-server": "^0.11.1",
  65. "qunit": "^2.9.1",
  66. "rollup": "^1.0.0"
  67. },
  68. "jspm": {
  69. "files": [
  70. "package.json",
  71. "LICENSE",
  72. "README.md",
  73. "build/three.js",
  74. "build/three.min.js",
  75. "build/three.module.js"
  76. ],
  77. "directories": {}
  78. }
  79. }
粤ICP备19079148号