{ "name": "@loaders.gl/draco", "version": "4.3.2", "description": "Framework-independent loader and writer for Draco compressed meshes and point clouds", "license": "MIT", "type": "module", "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/visgl/loaders.gl" }, "keywords": [ "loader", "parser", "writer", "encoder", "3d", "mesh", "point cloud", "draco3d", "draco", "geometry", "geometry compression", "webgl", "webgpu" ], "types": "dist/index.d.ts", "main": "dist/index.cjs", "module": "dist/index.js", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "sideEffects": false, "browser": { "fs": false }, "files": [ "src", "dist", "README.md" ], "scripts": { "pre-build": "npm run copy-libs && npm run build-bundle && npm run build-bundle-dev && npm run build-workers", "copy-libs": "cp -rf ./src/libs ./dist/libs", "build-bundle": "ocular-bundle ./bundle.ts --output=dist/dist.min.js", "build-bundle-dev": "ocular-bundle ./bundle.ts --env=dev --output=dist/dist.dev.js", "build-workers": "yarn build-loader-worker && yarn build-loader-worker-node && yarn build-writer-worker && yarn build-writer-worker-node", "build-loader-worker": "esbuild src/workers/draco-worker.ts --outfile=dist/draco-worker.js --target=esnext --bundle --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\"", "build-loader-worker-node": "esbuild src/workers/draco-worker-node.ts --outfile=dist/draco-worker-node.js --target=node16 --platform=node --bundle --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\"", "build-writer-worker": "esbuild src/workers/draco-writer-worker.ts --outfile=dist/draco-writer-worker.js --target=esnext --bundle --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\"", "build-writer-worker-node": "esbuild src/workers/draco-writer-worker-node.ts --outfile=dist/draco-writer-worker-node.js --target=node16 --platform=node --bundle --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\"" }, "dependencies": { "@loaders.gl/loader-utils": "4.3.2", "@loaders.gl/schema": "4.3.2", "@loaders.gl/worker-utils": "4.3.2", "draco3d": "1.5.7" }, "devDependencies": { "@types/draco3d": "^1.4.9" }, "peerDependencies": { "@loaders.gl/core": "^4.3.0" }, "gitHead": "b4203b8703f64a38d6f79a3113bc7bb51d45c93a" }