osgearthwasm
Version:
osgEarth ported to WebAssembly to run it on the web platform
64 lines • 3.12 kB
JSON
{
"name": "osgearthwasm",
"version": "0.1.17",
"description": "osgEarth ported to WebAssembly to run it on the web platform",
"license": "GPLv3",
"type": "module",
"main": "./dist/osgearthwasm.js",
"types": "./dist/osgearthwasm.d.ts",
"man": "./dist/osgearthwasm.api.md",
"bin": {
"osgearthwasm": "dist/bin/osgearthwasm.bin.js"
},
"devDependencies": {
"@types/emscripten": "1.39.6",
"esbuild": "0.17.8",
"typescript": "4.8.4",
"@rushstack/heft": "0.49.7",
"@types/node": "18.13.0",
"@types/heft-jest": "1.0.3",
"@osgearthwasm/runtime-osgearth-offscreen": "0.1.17",
"@osgearthwasm/model-emscripten": "0.1.17",
"@osgearthwasm/model-osgearthwasm": "0.1.17",
"@osgearthwasm/build-rig": "0.1.17",
"@osgearthwasm/build-common": "0.1.17",
"@osgearthwasm/build-meta": "0.1.17",
"@osgearthwasm/build-serve": "0.1.17",
"@osgearthwasm/build-upgrade": "0.1.17"
},
"homepage": "https://boardend.github.io/osgearthwasm",
"bugs": "https://github.com/boardend/osgearthwasm/issues",
"repository": {
"type": "git",
"url": "https://github.com/boardend/osgearthwasm.git",
"directory": "package/osgearthwasm"
},
"files": [
"dist/**/*"
],
"keywords": [
"osgearth",
"osg",
"webassembly",
"wasm",
"geo",
"geospatial"
],
"scripts": {
"prepublish": "rm -rf dist/assets/runtime-multi-debug",
"build": "npm run build:compile && npm run build:docs && npm run build:runtime && npm run build:bundle && npm run build:bin && npm run build:tidy",
"build:compile": "heft build --clean && echo 'build:compile' done\\n",
"build:docs": "rm -rf dist/osgearthwasm.api.md && cp -R etc/osgearthwasm.api.md dist && echo 'build:runtime' done\\n",
"build:runtime": "rm -rf dist/assets && mkdir -p dist/assets && npm run build:runtime:release && npm run build:runtime:debug && echo 'build:runtime'\\n",
"build:runtime:release": "cp -R node_modules/@osgearthwasm/runtime-osgearth-offscreen/dist/runtime-multi-release dist/assets && echo 'build:runtime:release' done\\n",
"build:runtime:debug": "cp -R node_modules/@osgearthwasm/runtime-osgearth-offscreen/dist/runtime-multi-debug dist/assets && echo 'build:runtime:debug' done\\n",
"build:bundle": "esbuild lib/osgearthwasm.js --bundle --outdir=dist --format=esm --minify --sourcemap --platform=browser --target=chrome70 2>&1 && echo 'build:bundle' done\\n",
"build:bin": "npm run build:bin:bundle && npm run build:bin:fix",
"build:bin:bundle": "mkdir -p dist/bin && esbuild lib/bin/osgearthwasm.bin.js --bundle --outdir=dist/bin --format=esm --platform=node --banner:js=\"import { createRequire } from 'module';const require = createRequire(import.meta.url);\" 2>&1 && echo 'build:bin' done\\n",
"build:bin:fix": "",
"build:tidy": "rm -rf dist/osgearthwasm.js.map dist/osgearthwasm-beta.d.ts dist/tsdoc-metadata.json dist/assets/runtime-multi-release/runtime-osgearth-offscreen.runtime-multi-release.js.symbols",
"test": "heft test --clean",
"serve": "build-serve package",
"upgrade-project": "upgrade-project"
}
}