{ "name": "@loaders.gl/textures", "version": "4.3.2", "description": "Framework-independent loaders for compressed and super compressed (basis) textures ", "license": "MIT", "type": "module", "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/visgl/loaders.gl" }, "keywords": [ "webgl", "loader", "3d", "texture", "compressed texture", "gpu texture", "PVR", "ETC", "basis" ], "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", "bin", "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": "npm run build-basis-worker && npm run build-basis-worker-node && npm run build-npy-worker && npm run build-compressed-texture-worker && npm run build-crunch-worker && npm run build-ktx2-basis-writer-worker && npm run build-ktx2-basis-writer-worker-node", "build-basis-worker": "esbuild src/workers/basis-worker.ts --outfile=dist/basis-worker.js --target=esnext --bundle --define:__VERSION__=\\\"$npm_package_version\\\"", "build-basis-worker-node": "esbuild src/workers/basis-worker-node.ts --outfile=dist/basis-worker-node.js --target=node16 --platform=node --bundle --define:__VERSION__=\\\"$npm_package_version\\\"", "build-ktx2-basis-writer-worker": "esbuild src/workers/ktx2-basis-writer-worker.ts --outfile=dist/ktx2-basis-writer-worker.js --target=esnext --bundle --define:__VERSION__=\\\"$npm_package_version\\\"", "build-ktx2-basis-writer-worker-node": "esbuild src/workers/ktx2-basis-writer-worker-node.ts --outfile=dist/ktx2-basis-writer-worker-node.js --target=node16 --platform=node --bundle --define:__VERSION__=\\\"$npm_package_version\\\"", "build-npy-worker": "esbuild src/workers/npy-worker.ts --outfile=dist/npy-worker.js --target=esnext --bundle --define:__VERSION__=\\\"$npm_package_version\\\"", "build-compressed-texture-worker": "esbuild src/workers/compressed-texture-worker.ts --target=esnext --bundle --outfile=dist/compressed-texture-worker.js --define:__VERSION__=\\\"$npm_package_version\\\"", "build-crunch-worker": "esbuild src/workers/crunch-worker.ts --outfile=dist/crunch-worker.js --target=esnext --bundle --define:__VERSION__=\\\"$npm_package_version\\\"" }, "dependencies": { "@loaders.gl/images": "4.3.2", "@loaders.gl/loader-utils": "4.3.2", "@loaders.gl/schema": "4.3.2", "@loaders.gl/worker-utils": "4.3.2", "@math.gl/types": "^4.1.0", "ktx-parse": "^0.7.0", "texture-compressor": "^1.0.2" }, "peerDependencies": { "@loaders.gl/core": "^4.3.0" }, "gitHead": "b4203b8703f64a38d6f79a3113bc7bb51d45c93a" }