UNPKG

@zlattice/lattice-js

Version:

Lattice blockchain TypeScript SDK with dual module support (CJS + ESM)

83 lines (82 loc) 2.48 kB
{ "name": "@zlattice/lattice-js", "version": "1.0.10", "description": "Lattice blockchain TypeScript SDK with dual module support (CJS + ESM)", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "files": [ "dist" ], "exports": { ".": { "types": "./dist/esm/index.d.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" }, "./package.json": "./package.json" }, "scripts": { "clean": "rm -rf dist", "build:esm": "tsc -p tsconfig.esm.json && tsc-alias -p tsconfig-alias.esm.json", "build:cjs": "tsc -p tsconfig.cjs.json && tsc-alias -p tsconfig-alias.cjs.json", "build": "npm run clean && npm run build:esm && npm run build:cjs && node scripts/postbuild.js", "test": "vitest run", "test:watch": "vitest", "lint": "tslint -p tsconfig.json", "coverage": "vitest run --coverage", "registry": "npm config set registry https://registry.npmjs.org/", "registry-cn": "npm config set registry https://registry.npmmirror.com/", "publish": "npm publish --access public" }, "keywords": [ "blockchain", "lattice", "typescript", "esm", "cjs" ], "author": "wylu", "license": "Apache-2.0", "dependencies": { "@ethersproject/abi": "^5.8.0", "@ethersproject/basex": "^5.8.0", "@ethersproject/bignumber": "^5.8.0", "@ethersproject/bytes": "^5.8.0", "@ethersproject/properties": "^5.8.0", "@ethersproject/rlp": "^5.8.0", "@ethersproject/sha2": "^5.8.0", "@ethersproject/strings": "^5.8.0", "@ethersproject/units": "^5.8.0", "@jvddavid/pino-rotating-file": "^1.0.7", "@keyv/redis": "^4.4.0", "@noble/ciphers": "^1.3.0", "@noble/curves": "^1.9.0", "@noble/hashes": "^1.8.0", "@scure/base": "^1.2.6", "@scure/bip39": "^1.6.0", "axios": "^1.8.4", "cacheable": "^1.9.0", "crypto-js": "^4.2.0", "date-fns": "^4.1.0", "neverthrow": "^8.2.0", "pino": "^9.6.0", "protobufjs": "^7.5.1", "uuid": "^11.1.0", "zod": "^3.24.3" }, "devDependencies": { "@babel/preset-typescript": "^7.24.7", "@biomejs/biome": "1.9.4", "@types/crypto-js": "^4.2.2", "@types/node": "^20.16.7", "@types/pino": "^7.0.5", "@types/uuid": "^10.0.0", "@vitest/coverage-v8": "^3.1.3", "tsc-alias": "^1.8.16", "tslint": "^6.1.3", "tsx": "^4.19.3", "typescript": "^5.6.2", "vitest": "3.1.3" } }