package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "three",
  3. "version": "0.102.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/jsm",
  20. "examples/fonts"
  21. ],
  22. "directories": {
  23. "doc": "docs",
  24. "example": "examples",
  25. "test": "test"
  26. },
  27. "eslintConfig": {
  28. "extends": "mdcs",
  29. "plugins": [
  30. "html"
  31. ]
  32. },
  33. "scripts": {
  34. "build": "rollup -c",
  35. "build-test": "rollup -c test/rollup.unit.config.js",
  36. "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",
  37. "build-examples": "rollup -c rollup-examples.config.js",
  38. "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"http-server -c-1 -p 8080\"",
  39. "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\"",
  40. "start": "npm run dev",
  41. "lint": "eslint src",
  42. "test": "npm run build-test && qunit test/unit/three.source.unit.js",
  43. "travis": "npm run lint && npm test"
  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. "eslint": "^5.15.0",
  60. "eslint-config-mdcs": "^4.2.3",
  61. "eslint-plugin-html": "^5.0.3",
  62. "google-closure-compiler": "20190215.0.2",
  63. "http-server": "^0.11.1",
  64. "qunit": "^2.9.2",
  65. "rollup": "^1.4.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. }