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