package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "three",
  3. "version": "0.96.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. },
  28. "scripts": {
  29. "build": "rollup -c",
  30. "build-test": "rollup -c test/rollup.unit.config.js",
  31. "build-closure": "rollup -c && java -jar node_modules/google-closure-compiler/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",
  32. "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"http-server -c-1 -p 8080\"",
  33. "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\"",
  34. "start": "npm run dev",
  35. "lint": "eslint src",
  36. "test": "npm run build-test && qunit test/unit/three.source.unit.js",
  37. "travis": "npm run lint && npm test",
  38. "editor": "electron ./editor/main.js"
  39. },
  40. "keywords": [
  41. "three",
  42. "three.js",
  43. "3d",
  44. "webgl"
  45. ],
  46. "author": "mrdoob",
  47. "license": "MIT",
  48. "bugs": {
  49. "url": "https://github.com/mrdoob/three.js/issues"
  50. },
  51. "homepage": "https://threejs.org/",
  52. "devDependencies": {
  53. "concurrently": "^4.0.1",
  54. "electron": "^2.0.8",
  55. "eslint": "^5.5.0",
  56. "eslint-config-mdcs": "^4.2.3",
  57. "google-closure-compiler": "20180805.0.0",
  58. "http-server": "^0.11.1",
  59. "qunit": "^2.6.2",
  60. "rollup": "^0.65.0"
  61. },
  62. "jspm": {
  63. "files": [
  64. "package.json",
  65. "LICENSE",
  66. "README.md",
  67. "build/three.js",
  68. "build/three.min.js",
  69. "build/three.module.js"
  70. ],
  71. "directories": {}
  72. }
  73. }