package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "three-loader-3dtiles",
  3. "version": "1.1.17",
  4. "description": "A 3D Tiles loader for Three.js",
  5. "main": "dist/three-loader-3dtiles.esm.js",
  6. "module": "dist/three-loader-3dtiles.esm.js",
  7. "typings": "dist/three-loader-3dtiles.d.ts",
  8. "license": "Apache-2.0",
  9. "repository": {
  10. "type": "git",
  11. "url": "git+https://github.com/nytimes/three-loader-3dtiles.git"
  12. },
  13. "homepage": "https://github.com/nytimes/three-loader-3dtiles",
  14. "directories": {
  15. "example": "examples"
  16. },
  17. "files": [
  18. "/src",
  19. "dist"
  20. ],
  21. "type": "module",
  22. "scripts": {
  23. "build": "rollup -c",
  24. "watch": "rollup -w -c",
  25. "dev": "concurrently \"npm run watch\" \"http-server -c-1 -p 8000\"",
  26. "build:types": "tsc --declaration --emitDeclarationOnly --declarationMap --declarationDir lib/",
  27. "api:extract": "api-extractor run --local --verbose",
  28. "api:extract:production": "api-extractor run",
  29. "api:generate": "api-documenter markdown --input-folder temp --output-folder docs/",
  30. "docs": "npm run build:types && npm run api:extract && npm run api:generate",
  31. "docs:production": "npm run build:types && npm run api:extract:production && npm run api:generate",
  32. "build:production": "export NODE_ENV=production || set NODE_ENV=production && npm run build",
  33. "test": "mocha --experimental-specifier-resolution=node --loader=ts-node/esm test/**/*.spec.ts"
  34. },
  35. "browserslist": [
  36. "last 2 versions",
  37. "not ie <= 11",
  38. "not dead"
  39. ],
  40. "dependencies": {
  41. "@loaders.gl/3d-tiles": "^3.1.4",
  42. "@loaders.gl/polyfills": "^3.1.4",
  43. "@loaders.gl/core": "^3.1.4",
  44. "jpeg-js": ">=0.4.0",
  45. "@math.gl/core": "^3.5.6",
  46. "@math.gl/culling": "^3.5.6",
  47. "three": "^0.137.0"
  48. },
  49. "peerDependencies": {
  50. },
  51. "devDependencies": {
  52. "@microsoft/api-documenter": "^7.13.16",
  53. "@microsoft/api-extractor": "^7.16.1",
  54. "@rbnlffl/rollup-plugin-eslint": "^2.0.0",
  55. "@rollup/plugin-alias": "^3.1.2",
  56. "@rollup/plugin-node-resolve": "^13.0.4",
  57. "@types/chai": "^4.2.19",
  58. "@types/chai-as-promised": "^7.1.4",
  59. "@types/mocha": "^8.2.2",
  60. "@types/node": "^15.12.5",
  61. "@types/offscreencanvas": "^2019.6.4",
  62. "@types/three": "^0.137.0",
  63. "@typescript-eslint/eslint-plugin": "^4.26.0",
  64. "@typescript-eslint/parser": "^4.26.0",
  65. "chai": "^4.3.4",
  66. "chai-as-promised": "^7.1.1",
  67. "concurrently": "^6.2.0",
  68. "ecstatic": ">=4.1.3",
  69. "eslint": "^7.27.0",
  70. "eslint-config-prettier": "8.3.0",
  71. "eslint-plugin-prettier": "^3.4.0",
  72. "http-server": "^0.12.3",
  73. "mocha": "^9.0.1",
  74. "ocular-dev-tools": "^1.0.0-alpha.6",
  75. "prettier": "2.3.0",
  76. "rollup": "^2.50.5",
  77. "rollup-plugin-node-externals": "^2.2.0",
  78. "rollup-plugin-terser": "^7.0.2",
  79. "rollup-plugin-typescript2": "^0.30.0",
  80. "sinon": "^11.1.1",
  81. "three": "^0.137.0",
  82. "ts-node": "^10.0.0",
  83. "typescript": "^4.3.2",
  84. "xmldom": "github:xmldom/xmldom#0.7.0"
  85. }
  86. }