forked from yocontra/node-gdal-next
-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
134 lines (134 loc) · 4.93 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
{
"name": "gdal-async",
"version": "3.9.2",
"description": "Bindings to GDAL (Geospatial Data Abstraction Library) with full async support",
"license": "Apache-2.0",
"url": "https://github.com/mmomtchev/node-gdal-async",
"main": "./lib/gdal.js",
"types": "./lib/index.d.ts",
"keywords": [
"gdal",
"libgdal",
"ogr",
"gis",
"geo",
"geos",
"geography",
"geospatial",
"raster",
"vector",
"gtiff",
"geojson",
"mapping"
],
"binary": {
"module_name": "gdal",
"module_path": "./lib/binding/{node_abi}-{platform}-{arch}",
"remote_path": "v{version}",
"host": "https://github.com/mmomtchev/node-gdal-async/releases/download/",
"package_name": "{node_abi}-{platform}-{arch}.tar.gz",
"hosting": {
"provider": "github",
"repo": "mmomtchev/node-gdal-async"
}
},
"repository": {
"type": "git",
"url": "https://github.com/mmomtchev/node-gdal-async.git"
},
"funding": {
"url": "https://github.com/sponsors/mmomtchev",
"type": "individual"
},
"contributors": [
{
"name": "Brandon Reavis",
"url": "https://github.com/brandonreavis",
"email": "[email protected]"
},
{
"name": "Momtchil Momtchev",
"url": "https://github.com/mmomtchev",
"email": "[email protected]"
}
],
"scripts": {
"test": "npm run lint:js && mocha && npm run test:stress 20",
"bench": "node bench/streams.js",
"lint:cpp": "clang-format -i src/*.cpp src/*.hpp && clang-format -i src/*/*.cpp src/*/*.hpp",
"lint:js": "eslint lib test examples",
"lint:fix": "eslint lib test examples --fix",
"lint": "npm run lint:js && npm run lint:cpp",
"install": "node-pre-gyp install --fallback-to-build -j max && echo 'If you are using gdal-async, please do not forget that I am living below the poverty line because of the extortion.'",
"yatag": "npx yatag",
"gpp": "gpp -H lib/default_iterators.gpp -o lib/default_iterators.js && eslint --fix lib/default_iterators.js",
"doc:build": "npx documentation build --config=documentation.yml src/*.cpp src/collections/*.cpp src/geometry/*.cpp lib/*.js -f=html -o=doc --theme=node_modules/documentation-hipster/index.js",
"doc:publish": "npm run doc:build && node ./scripts/publish-docs.js",
"preversion": "npm run lint && npx yatag && npm run test",
"gcov": "mkdir -p coverage && cd coverage && gcov -o ../build/Debug/obj.target/gdal/src ../src/*",
"lcov": "npx c8 report --reporter=text-lcov > coverage/tests.lcov",
"codecov": "cd coverage && curl -s https://codecov.io/bash | bash",
"version": "git add package.json",
"postversion": "git push && git push --tags && node ./scripts/publish-packages.mjs && npm run doc:publish",
"container": "bash scripts/container.sh",
"test:u20": "npm run container dev ubuntu:20.04 18 shared",
"test:u20n16": "npm run container dev ubuntu:20.04 16 shared",
"test:u20n18": "npm run container dev ubuntu:20.04 18 shared",
"test:u20n20": "npm run container dev ubuntu:20.04 20 shared",
"test:c8": "npm run container dev centos:stream9 18 shared",
"test:arch": "npm run container dev archlinux:latest 20 shared",
"test:f36": "npm run container dev fedora:36 18 shared",
"test:shared": "npm run test:u20 && npm run test:c8",
"test:clean": "npx rimraf test/data/*.tmp* test/data/temp/*",
"test:stress": "node test/stress",
"prune": "npx rimraf 'deps/@(libgdal|libproj)/*/!(data)' && npx rimraf 'deps/libcurl/!(cacert.pem)' && npx rimraf 'deps/!(libgdal|libproj|libcurl)'",
"postpublish": "gh workflow run test-npm.yml -F version=$npm_package_version"
},
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.8",
"nan": "^2.17.0",
"node-gyp": "^11.0.0",
"xmlbuilder2": "^3.0.2",
"yatag": "^1.2.0"
},
"bundleDependencies": [
"@mapbox/node-pre-gyp"
],
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.8.0",
"@mmomtchev/documentation": "^14.0.1",
"@mmomtchev/node-pre-gyp-github": "^2.0.0",
"@octokit/core": "^6.0.1",
"@types/chai": "^4.2.18",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.6",
"@types/node": "^22.0.0",
"@types/semver": "^7.3.9",
"@types/ungap__structured-clone": "^1.2.0",
"@typescript-eslint/eslint-plugin": "^8.0.1",
"@typescript-eslint/parser": "^8.0.1",
"@ungap/structured-clone": "^1.2.0",
"aws-sdk": "^2.1130.0",
"benny": "^3.7.1",
"c8": "^10.1.2",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"documentation-hipster": "^1.0.0",
"documentation-polyglot": "^1.0.1",
"eslint": "^9.8.0",
"eslint-plugin-array-func": "^4.0.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prefer-arrow": "^1.1.3",
"gh-pages": "^6.1.1",
"globals": "^15.9.0",
"mocha": "^11.0.1",
"semver": "^7.3.5",
"ts-node": "^10.7.0",
"tsconfig-paths": "^4.0.0",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=16"
}
}