@mysten/bcs
Version:
BCS - Canonical Binary Serialization implementation for JavaScript
69 lines • 1.76 kB
JSON
{
"name": "@mysten/bcs",
"version": "2.0.5",
"description": "BCS - Canonical Binary Serialization implementation for JavaScript",
"license": "Apache-2.0",
"author": "Mysten Labs <build@mystenlabs.com>",
"sideEffects": false,
"type": "module",
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs",
"default": "./dist/index.mjs"
}
},
"files": [
"CHANGELOG.md",
"dist",
"docs",
"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.mjs",
"limit": "10 kB"
}
],
"homepage": "https://sdk.mystenlabs.com/bcs",
"devDependencies": {
"@size-limit/preset-small-lib": "^12.0.0",
"size-limit": "^12.0.0",
"typescript": "^5.9.3",
"vitest": "^4.0.17"
},
"dependencies": {
"@scure/base": "^2.0.0",
"@mysten/utils": "^0.3.3"
},
"scripts": {
"clean": "rm -rf tsconfig.tsbuildinfo ./dist",
"build": "rm -rf dist && tsc --noEmit && tsdown",
"build:docs": "node ../docs/scripts/build-docs.ts",
"test": "vitest run --typecheck",
"test:watch": "vitest --typecheck",
"prettier:check": "prettier -c --ignore-unknown .",
"prettier:fix": "prettier -w --ignore-unknown .",
"oxlint:check": "oxlint .",
"oxlint:fix": "oxlint --fix",
"lint": "pnpm run oxlint:check && pnpm run prettier:check",
"lint:fix": "pnpm run oxlint:fix && pnpm run prettier:fix"
}
}