@loaders.gl/crypto
Version:
Cryptographic/hashing plugins for loaders.gl
65 lines (64 loc) • 1.86 kB
JSON
{
"name": "@loaders.gl/crypto",
"version": "4.3.4",
"description": "Cryptographic/hashing plugins for loaders.gl",
"license": "MIT",
"type": "module",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/visgl/loaders.gl"
},
"keywords": [
"crypto",
"hash",
"digest",
"encrypt",
"decrypt",
"crc32",
"crc32c",
"md5",
"sha256"
],
"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"
],
"scripts": {
"pre-build": "npm run build-bundle && npm run build-bundle-dev && npm run build-worker && npm run build-worker-node",
"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-worker": "esbuild src/workers/crypto-worker.ts --outfile=dist/crypto-worker.js --target=esnext --bundle --minify --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\"",
"build-worker-node": "esbuild src/workers/crypto-worker-node.ts --outfile=dist/crypto-worker-node.js --platform=node --target=esnext,node16 --bundle --minify --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\""
},
"dependencies": {
"@loaders.gl/loader-utils": "4.3.4",
"@loaders.gl/worker-utils": "4.3.4",
"@types/crypto-js": "^4.0.2"
},
"devDependencies": {
"crypto-js": "^3.0.0 || ^4.0.0"
},
"browser": {
"crypto": false,
"sse4_crc32": false
},
"peerDependencies": {
"@loaders.gl/core": "^4.3.0"
},
"gitHead": "d18246f4ef6382f787a6ae2e9e21d8a7f40e5917"
}