UNPKG

@mysten/bcs

Version:

BCS - Canonical Binary Serialization implementation for JavaScript

73 lines 1.84 kB
{ "name": "@mysten/bcs", "version": "1.9.2", "description": "BCS - Canonical Binary Serialization implementation for JavaScript", "license": "Apache-2.0", "author": "Mysten Labs <build@mystenlabs.com>", "sideEffects": false, "type": "commonjs", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/cjs/index.d.ts", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } }, "files": [ "CHANGELOG.md", "dist", "src" ], "repository": { "type": "git", "url": "git+https://github.com/MystenLabs/ts-sdks.git" }, "keywords": [ "bcs", "libra", "diem", "move", "serialization", "serde" ], "bugs": { "url": "https://github.com/MystenLabs/ts-sdks/issues" }, "size-limit": [ { "path": "dist/index.js", "limit": "10 kB" }, { "path": "dist/index.mjs", "limit": "10 kB" } ], "homepage": "https://sdk.mystenlabs.com/bcs", "devDependencies": { "@size-limit/preset-small-lib": "^11.2.0", "size-limit": "^11.2.0", "typescript": "^5.9.2", "vitest": "^3.2.4", "@mysten/build-scripts": "0.0.0" }, "dependencies": { "@scure/base": "^1.2.6", "@mysten/utils": "0.2.0" }, "scripts": { "clean": "rm -rf tsconfig.tsbuildinfo ./dist", "dev": "pnpm build --watch", "build": "build-package", "test": "vitest run --typecheck", "test:watch": "vitest --typecheck", "prettier:check": "prettier -c --ignore-unknown .", "prettier:fix": "prettier -w --ignore-unknown .", "eslint:check": "eslint --max-warnings=0 .", "eslint:fix": "pnpm run eslint:check --fix", "lint": "pnpm run eslint:check && pnpm run prettier:check", "lint:fix": "pnpm run eslint:fix && pnpm run prettier:fix" } }