{ "name": "@loaders.gl/worker-utils", "version": "4.3.2", "description": "Utilities for running tasks on worker threads", "license": "MIT", "type": "module", "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/visgl/loaders.gl" }, "keywords": [ "worker", "process", "thread" ], "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, "files": [ "src", "dist", "README.md" ], "browser": { "./dist/esm/lib/process-utils/child-process-proxy.js": false, "./dist/lib/node/require-utils.node.js": false, "./dist/lib/node/worker_threads.js": "./dist/lib/node/worker_threads-browser.js", "./src/lib/node/require-utils.node.ts": false, "./src/lib/node/worker_threads.ts": "./src/lib/node/worker_threads-browser.ts", "./src/lib/process-utils/child-process-proxy.ts": false, "child_process": false, "fs": false, "module": false, "path": false }, "scripts": { "pre-build": "npm run build-worker && npm run build-worker-node", "build-worker": "esbuild src/workers/null-worker.ts --outfile=dist/null-worker.js --target=esnext --bundle --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\"", "build-worker-node": "esbuild src/workers/null-worker.ts --outfile=dist/null-worker-node.js --platform=node --target=node16 --bundle --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\"" }, "peerDependencies": { "@loaders.gl/core": "^4.3.0" }, "gitHead": "b4203b8703f64a38d6f79a3113bc7bb51d45c93a" }