135 lines
4.3 KiB
JSON
135 lines
4.3 KiB
JSON
{
|
|
"name": "@suaveplan/bitpacker-crypto",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"description": "Bit-packer-aware crypto primitives \u2014 SignedBitSchema, EncryptedBitSchema, EnvelopeSchema, HashChainSchema, MultiSignedBitSchema, SchemaFingerprint, HashAlgorithmRegistry. Authority/AeadOps/DomainTag types live in @suaveplan/types; the canonical implementations are in @suaveplan/crypto and dependency-injected by the caller.",
|
|
"license": "MIT",
|
|
"author": "Suaveplan Team",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./signed": {
|
|
"import": {
|
|
"types": "./dist/signed/signed-bitschema.d.ts",
|
|
"default": "./dist/signed/signed-bitschema.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/signed/signed-bitschema.d.ts",
|
|
"default": "./dist/signed/signed-bitschema.js"
|
|
}
|
|
},
|
|
"./encrypted": {
|
|
"import": {
|
|
"types": "./dist/encrypted/encrypted-bitschema.d.ts",
|
|
"default": "./dist/encrypted/encrypted-bitschema.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/encrypted/encrypted-bitschema.d.ts",
|
|
"default": "./dist/encrypted/encrypted-bitschema.js"
|
|
}
|
|
},
|
|
"./envelope": {
|
|
"import": {
|
|
"types": "./dist/envelope/envelope-schema.d.ts",
|
|
"default": "./dist/envelope/envelope-schema.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/envelope/envelope-schema.d.ts",
|
|
"default": "./dist/envelope/envelope-schema.js"
|
|
}
|
|
},
|
|
"./hashchain": {
|
|
"import": {
|
|
"types": "./dist/hashchain/hashchain-schema.d.ts",
|
|
"default": "./dist/hashchain/hashchain-schema.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/hashchain/hashchain-schema.d.ts",
|
|
"default": "./dist/hashchain/hashchain-schema.js"
|
|
}
|
|
},
|
|
"./multisigned": {
|
|
"import": {
|
|
"types": "./dist/multisigned/multisigned-bitschema.d.ts",
|
|
"default": "./dist/multisigned/multisigned-bitschema.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/multisigned/multisigned-bitschema.d.ts",
|
|
"default": "./dist/multisigned/multisigned-bitschema.js"
|
|
}
|
|
},
|
|
"./fingerprint": {
|
|
"import": {
|
|
"types": "./dist/fingerprint/schema-fingerprint.d.ts",
|
|
"default": "./dist/fingerprint/schema-fingerprint.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/fingerprint/schema-fingerprint.d.ts",
|
|
"default": "./dist/fingerprint/schema-fingerprint.js"
|
|
}
|
|
},
|
|
"./hash-registry": {
|
|
"import": {
|
|
"types": "./dist/hash-registry/hash-registry.d.ts",
|
|
"default": "./dist/hash-registry/hash-registry.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/hash-registry/hash-registry.d.ts",
|
|
"default": "./dist/hash-registry/hash-registry.js"
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"test": "vitest run --passWithNoTests",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
"lint": "bunx biome check src/",
|
|
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
|
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
|
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
|
},
|
|
"dependencies": {
|
|
"@opentelemetry/api": "catalog:observability",
|
|
"@suaveplan/bitpacker": "workspace:^",
|
|
"@suaveplan/error": "workspace:^",
|
|
"@suaveplan/types": "workspace:^",
|
|
"tslib": "catalog:build",
|
|
"zod": "catalog:forms"
|
|
},
|
|
"devDependencies": {
|
|
"@suaveplan/crypto-cipher": "workspace:^",
|
|
"@suaveplan/crypto-core": "workspace:^",
|
|
"@suaveplan/testing": "workspace:^",
|
|
"@types/node": "catalog:",
|
|
"@vitest/coverage-istanbul": "catalog:testing",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:build",
|
|
"vite-plugin-dts": "catalog:build",
|
|
"vitest": "catalog:testing"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://npmjs.fq.io/",
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src",
|
|
"README.md",
|
|
"SUPERSEDED.md"
|
|
]
|
|
}
|