package.json 2.3 KB

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