UNPKG

@dfinity/assets

Version:

JavaScript and TypeScript library to manage assets on the Internet Computer

74 lines 1.89 kB
{ "name": "@dfinity/assets", "version": "3.4.3", "author": "DFINITY Stiftung <sdk@dfinity.org>", "license": "Apache-2.0", "description": "JavaScript and TypeScript library to manage assets on the Internet Computer", "homepage": "https://js.icp.build/core/v3.2/libs/assets", "repository": { "type": "git", "url": "https://github.com/dfinity/icp-js-core.git", "directory": "packages/assets" }, "bugs": { "url": "https://github.com/dfinity/icp-js-core/issues" }, "keywords": [ "internet computer", "internet-computer", "ic", "dfinity", "assets", "asset", "file", "upload", "agent", "actor", "dfx", "canister", "motoko", "javascript", "typescript", "blockchain", "crypto", "distributed", "api", "sdk" ], "browser": { ".": "./lib/esm/index.js", "fs": "./lib/esm/utils/browserShim.js", "path": "./lib/esm/utils/browserShim.js" }, "module": "./lib/esm/index.js", "default": "./lib/esm/index.js", "types": "./lib/esm/index.d.ts", "exports": { "types": "./lib/esm/index.d.ts", "import": "./lib/esm/index.js", "node": "./lib/cjs/index.js", "require": "./lib/cjs/index.js", "default": "./lib/esm/index.js" }, "peerDependencies": { "@noble/hashes": "^1.8.0", "@dfinity/principal": "3.4.3", "@dfinity/agent": "3.4.3", "@dfinity/candid": "3.4.3" }, "dependencies": { "mime": "^3.0.0" }, "devDependencies": { "@types/mime": "^3.0.4", "@web-std/file": "^3.0.2" }, "scripts": { "build": "tsc -b && tsc -p tsconfig.cjs.json && cp src/package.json lib/esm/package.json", "build:watch": "tsc -b --watch", "bundle": "esbuild --bundle src/index.ts --outfile=dist/index.js --platform=browser", "attw": "attw --pack .", "test": "jest", "test:coverage": "jest --collectCoverage" } }