-
Notifications
You must be signed in to change notification settings - Fork 49
/
package.json
100 lines (100 loc) · 4.41 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
{
"name": "gdal3.js",
"version": "2.8.1",
"description": "gdal3.js is a port of Gdal applications (**gdal_translate**, **ogr2ogr**, **gdal_rasterize**, **gdalwarp**, **gdaltransform**) to Webassembly. It allows you to convert raster and vector geospatial data to various formats and coordinate systems.",
"license": "LGPL-2.1-or-later",
"homepage": "https://gdal3.js.org",
"repository": "https://github.com/bugra9/gdal3.js.git",
"private": false,
"keywords": [
"gis",
"geospatial",
"gdal",
"ogr2ogr",
"gdal_translate",
"gdal_rasterize",
"gdalwarp",
"gdaltransform",
"webassembly",
"emscripten"
],
"files": [
"dist/package/gdal3WebAssembly.data",
"dist/package/gdal3WebAssembly.wasm",
"dist/package/gdal3.dev.js",
"dist/package/gdal3.node.js",
"dist/package/gdal3.js",
"src",
"build/package/gdal3WebAssembly.js",
"node.js"
],
"main": "dist/package/gdal3.js",
"types": "src/index.d.ts",
"scripts": {
"lint": "eslint .",
"build": "pnpm run build-native && pnpm run build-src && pnpm run build-spec && pnpm run build-gui && pnpm run build-docs",
"test": "pnpm run test-node && pnpm run test-browser && pnpm run test-coverage",
"dist": "rm -rf dist && mkdir -p dist/examples && cp -r build/app/* dist && cp -r build/package dist && cp -r build/docs dist && cp -r build/test dist && cp -r build/coverage dist && cp -r apps/example*browser* dist/examples",
"serve": "http-server dist",
"deploy": "push-dir --dir=dist --branch=gh-pages --cleanup",
"build-native": "make",
"build-src": "rollup --config rollup.config.mjs",
"build-spec": "mkdir -p build/test/specs/ && cp src/**/**/*.spec.js build/test/specs/ && cp test/*.spec.js build/test/specs/ && cp test/browser.html build/test/index.html && cp test/mocha.css build/test/mocha.css && cp test/mocha.js build/test/mocha.js && cp test/chai.js build/test/chai.js && cp -r test/data build/test/data",
"build-gui": "cd apps/app-gui && pnpm install && pnpm run build",
"build-docs": "jsdoc --configure .jsdoc.json --verbose && cp -r build/docs/gdal3.js/2.8.1/* build/docs",
"test-node": "nyc --reporter=json --reporter=html --report-dir=./build/coverage/node mocha",
"test-browser": "karma start .karma.conf.js",
"test-coverage": "istanbul-merge --out build/coverage/coverage-final.json build/coverage/browser/coverage-final.json build/coverage/node/coverage-final.json && nyc report --reporter html -t build/coverage --report-dir build/coverage"
},
"devDependencies": {
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.3",
"@babel/plugin-transform-runtime": "^7.23.4",
"@babel/preset-env": "^7.23.3",
"@babel/register": "^7.22.15",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-virtual": "^3.0.2",
"@types/detect-node": "^2.0.2",
"@babel/eslint-parser": "^7.23.3",
"babel-loader": "^9.1.3",
"babel-polyfill": "^6.26.0",
"browserify": "^17.0.0",
"chai": "^4.3.10",
"coverage-istanbul-loader": "^3.0.5",
"coveralls": "^3.1.1",
"eslint": "^8.54.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-mocha": "^10.2.0",
"fast-check": "^3.14.0",
"html-webpack-plugin": "^5.5.3",
"http-server": "^14.1.1",
"istanbul-merge": "^2.0.0",
"jsdoc": "^3.6.11",
"karma": "^6.4.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-firefox-launcher": "^2.1.2",
"karma-mocha": "^2.0.1",
"karma-phantomjs-launcher": "^1.0.4",
"karma-sourcemap-loader": "^0.4.0",
"karma-webpack": "^5.0.0",
"minami": "^1.2.3",
"mocha": "^10.2.0",
"mocha-loader": "^5.1.5",
"nyc": "^15.1.0",
"puppeteer": "^21.5.2",
"push-dir": "^0.4.1",
"rollup": "^4.6.0",
"rollup-plugin-istanbul": "^5.0.0",
"rollup-plugin-uglify": "^6.0.4"
},
"dependencies": {
"detect-node": "^2.1.0",
"xml-js": "^1.6.11"
}
}