package.json 2.3 KB

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