package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. {
  2. "name": "geotiff",
  3. "version": "2.0.7",
  4. "description": "GeoTIFF image decoding in JavaScript",
  5. "repository": "https://github.com/geotiffjs/geotiff.js",
  6. "keywords": [
  7. "TIFF",
  8. "GeoTIFF",
  9. "image",
  10. "raster"
  11. ],
  12. "type": "module",
  13. "main": "dist-node/geotiff.js",
  14. "module": "dist-module/geotiff.js",
  15. "jsdelivr": "dist-browser/geotiff.js",
  16. "unpkg": "dist-browser/geotiff.js",
  17. "exports": {
  18. ".": {
  19. "import": "./dist-module/geotiff.js",
  20. "require": "./dist-node/geotiff.js",
  21. "browser": "./dist-browser/geotiff.js"
  22. }
  23. },
  24. "typesVersions": {
  25. "*": {
  26. "globals": [
  27. "dist-module/globals.d.ts"
  28. ],
  29. "rgb": [
  30. "dist-module/rgb.d.ts"
  31. ],
  32. "BaseDecoder": [
  33. "dist-module/compression/BaseDecoder.d.ts"
  34. ],
  35. "getDecoder": [
  36. "dist-module/compression/index.d.ts"
  37. ],
  38. "addDecoder": [
  39. "dist-module/compression/index.d.ts"
  40. ],
  41. "setLogger": [
  42. "dist-module/logging.d.ts"
  43. ],
  44. "GeoTIFF": [
  45. "dist-module/geotiff.d.ts"
  46. ],
  47. "MultiGeoTIFF": [
  48. "dist-module/geotiff.d.ts"
  49. ],
  50. "fromUrl": [
  51. "dist-module/geotiff.d.ts"
  52. ],
  53. "fromArrayBuffer": [
  54. "dist-module/geotiff.d.ts"
  55. ],
  56. "fromFile": [
  57. "dist-module/geotiff.d.ts"
  58. ],
  59. "fromBlob": [
  60. "dist-module/geotiff.d.ts"
  61. ],
  62. "fromUrls": [
  63. "dist-module/geotiff.d.ts"
  64. ],
  65. "writeArrayBuffer": [
  66. "dist-module/geotiff.d.ts"
  67. ],
  68. "Pool": [
  69. "dist-module/pool.d.ts"
  70. ],
  71. "GeoTIFFImage": [
  72. "dist-module/geotiffimage.d.ts"
  73. ]
  74. }
  75. },
  76. "files": [
  77. "dist-module",
  78. "dist-node",
  79. "dist-browser"
  80. ],
  81. "engines": {
  82. "node": ">=10.19"
  83. },
  84. "dependencies": {
  85. "@petamoriken/float16": "^3.4.7",
  86. "lerc": "^3.0.0",
  87. "pako": "^2.0.4",
  88. "parse-headers": "^2.0.2",
  89. "quick-lru": "^6.1.1",
  90. "web-worker": "^1.2.0",
  91. "xml-utils": "^1.0.2"
  92. },
  93. "devDependencies": {
  94. "@babel/core": "^7.8.7",
  95. "@babel/plugin-transform-runtime": "^7.16.10",
  96. "@babel/preset-env": "^7.10.2",
  97. "@babel/register": "^7.8.6",
  98. "@rollup/plugin-babel": "^5.3.0",
  99. "@rollup/plugin-commonjs": "^21.0.1",
  100. "@rollup/plugin-node-resolve": "^13.1.3",
  101. "chai": "^4.2.0",
  102. "chokidar-cli": "^3.0.0",
  103. "detect-node": "^2.0.4",
  104. "eslint": "^7.32.0",
  105. "eslint-config-airbnb-base": "^14.2.1",
  106. "eslint-plugin-import": "^2.24.2",
  107. "express": "^4.17.1",
  108. "finalhandler": "^1.1.2",
  109. "fs-extra": "^7.0.1",
  110. "isomorphic-fetch": "^2.2.1",
  111. "jsdoc": "^3.6.4",
  112. "jsdoc-plugin-intersection": "^1.0.4",
  113. "jsdoc-plugin-typescript": "^2.0.6",
  114. "jshint-stylish": "^2.2.1",
  115. "mocha": "^7.1.0",
  116. "node-abort-controller": "^1.1.0",
  117. "npm-run-all": "^4.1.5",
  118. "rimraf": "^3.0.2",
  119. "rollup": "^2.63.0",
  120. "rollup-plugin-terser": "^7.0.2",
  121. "send-ranges": "^4.0.0",
  122. "serve": "^13.0.2",
  123. "serve-static": "^1.14.1",
  124. "shx": "^0.3.3",
  125. "typescript": "^4.5.5"
  126. },
  127. "scripts": {
  128. "prebuild": "npm run build:clean && npm run build:module",
  129. "build": "run-p build:browser build:node build:types",
  130. "build:clean": "rimraf dist-node/ dist-browser/ dist-module/",
  131. "build:node": "tsc --project tsconfig.build.json && shx echo \"{\\\"type\\\":\\\"commonjs\\\"}\" > dist-node/package.json",
  132. "build:browser": "rollup -c rollup.config.js",
  133. "build:module": "shx mkdir -p dist-module && shx cp -rf src/* dist-module/ && node scripts/serialize-workers.cjs",
  134. "build:types": "tsc --outdir dist-module/",
  135. "watch:browser": "chokidar \"dist-module/*.js\" -c \"npm run build:browser\"",
  136. "watch:module": "chokidar \"src/*.js\" -c \"npm run build:module\"",
  137. "predev": "npm run build",
  138. "dev": "run-p watch:module watch:browser dev:serve",
  139. "dev:serve": "serve --listen 8090",
  140. "docs": "rm -rf docs/; jsdoc -c .jsdoc.json -r src README.md -d docs",
  141. "prelint": "npm run build:module",
  142. "lint": "eslint src test scripts/*.cjs .eslintrc.cjs",
  143. "lint:fix": "npm run lint -- --fix",
  144. "prepare": "npm run build",
  145. "pretest": "npm run lint",
  146. "test": "mocha --full-trace test/geotiff.spec.js"
  147. },
  148. "author": "Fabian Schindler",
  149. "browser": {
  150. "fs": false,
  151. "http": false,
  152. "https": false,
  153. "url": false
  154. },
  155. "sideEffects": false,
  156. "contributors": [
  157. {
  158. "name": "Fabian Schindler",
  159. "email": "fabian.schindler@eox.at"
  160. }
  161. ],
  162. "license": "MIT"
  163. }