package.json 2.2 KB

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