UNPKG

@decent-stuff/dc-client

Version:

High-performance WebAssembly client for browser-based querying of Decent Cloud ledger data

75 lines (74 loc) 2.04 kB
{ "name": "@decent-stuff/dc-client", "version": "0.2.11", "description": "High-performance WebAssembly client for browser-based querying of Decent Cloud ledger data", "main": "dist/dc-client.js", "module": "dist/dc-client.mjs", "types": "dist/dc-client.d.ts", "type": "module", "files": [ "dist", "README.md", "demo", "!demo/node_modules" ], "scripts": { "build": "node build.js", "clean": "rimraf dist", "prepare": "npm run clean && npm run build", "prepublishOnly": "npm test", "test:browser": "RUSTFLAGS='--cfg getrandom_backend=\"wasm_js\"' wasm-pack test --node", "test": "jest --passWithNoTests", "format": "prettier --write \"**/*.{js,ts,json,md}\"", "lint": "eslint . --ext .js,.ts" }, "keywords": [ "decent-cloud", "ledger", "wasm", "internet-computer", "icp", "dfinity", "icrc" ], "author": "Decent Cloud Team", "license": "Apache-2.0", "devDependencies": { "@dfinity/agent": "^2.4.1", "@dfinity/principal": "^2.4.1", "@eslint/js": "^9.21.0", "@next/eslint-plugin-next": "^15.2.0", "@types/jest": "^29.5.12", "@types/node": "22.15.2", "@typescript-eslint/eslint-plugin": "8.31.0", "@typescript-eslint/parser": "8.31.0", "dexie": "^4.0.11", "eslint": "9.25.1", "eslint-config-prettier": "10.1.2", "eslint-plugin-promise": "^7.2.1", "fake-indexeddb": "^6.0.0", "globals": "^16.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "prettier": "3.5.3", "rimraf": "6.0.1", "ts-jest": "^29.1.2", "typescript": "5.8.3", "typescript-eslint": "^8.26.0", "wasm-pack": "^0.13.1" }, "engines": { "node": ">=16.0.0" }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/decent-stuff/decent-cloud.git" }, "bugs": { "url": "https://github.com/decent-stuff/decent-cloud/issues" }, "homepage": "https://github.com/decent-stuff/decent-cloud#readme" }