UNPKG

@roochnetwork/rooch-sdk

Version:
101 lines (100 loc) 3.06 kB
{ "name": "@roochnetwork/rooch-sdk", "author": "Rooch.network <opensource@rooch.network>", "version": "0.3.6", "description": "Rooch SDK", "license": "Apache-2.0", "engines": { "node": ">=18.0.0" }, "packageManager": "pnpm@9.10.0", "scripts": { "clean": "rimraf tsconfig.tsbuildinfo rimraf dist", "codegen:version": "node genversion.mjs", "build": "node genversion.mjs && pnpm build:package", "build:package": "build-package", "vitest": "vitest", "test": "pnpm test:unit && pnpm test:e2e", "test:unit": "vitest run src", "test:e2e:nowait": "vitest run e2e", "test:e2e:debug": "pnpm prepare:e2e && wait-on tcp:0.0.0.0:6767 -l --timeout 180000 && DEBUG=test-suite:*,rooch-sdk:* vitest run subscription.test || exit 1; pnpm stop:e2e", "test:e2e": "pnpm prepare:e2e && wait-on tcp:0.0.0.0:6767 -l --timeout 180000 && vitest run e2e || exit 1; pnpm stop:e2e", "prepare:e2e": "nohup cargo run --profile optci --bin rooch server start -n local -d TMP --port 6767 --traffic-per-second 1 --traffic-burst-size 5000 > /dev/null 2>&1 &", "stop:e2e": "lsof -ti:6767 | tee /dev/stderr | xargs -r kill -9", "prepublishOnly": "pnpm build", "size": "size-limit", "analyze": "size-limit --why", "eslint:check": "eslint --max-warnings=0 .", "eslint:fix": "pnpm eslint:check --fix", "prettier:check": "prettier -c --ignore-unknown .", "prettier:fix": "prettier -w --ignore-unknown .", "lint": "pnpm eslint:check && pnpm prettier:check", "lint:fix": "pnpm eslint:fix && pnpm prettier:fix", "gen": "pnpm exec tsx ./scripts/gen.ts && pnpm lint:fix" }, "repository": { "type": "git", "url": "https://github.com/rooch-network/rooch.git" }, "homepage": "https://github.com/rooch-network/rooch", "bugs": { "url": "https://github.com/rooch-network/rooch/issues" }, "files": [ "dist", "src" ], "type": "module", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } }, "keywords": [ "Rooch", "Rooch Network", "Move" ], "devDependencies": { "@iarna/toml": "^2.2.5", "@roochnetwork/build-scripts": "workspace:*", "@roochnetwork/test-suite": "workspace:*", "@types/bs58check": "2.1.2", "@types/node": "^20.14.10", "@types/tmp": "^0.2.6", "testcontainers": "10.13.1", "tmp": "^0.2.3", "ts-retry-promise": "^0.8.1", "typescript": "^5.4.4", "vite": "^5.4.4", "vitest": "^2.0.5", "wait-on": "^8.0.1", "@types/debug": "^4.1.12", "@types/ws": "^8.5.14", "ws": "^8.18.0" }, "dependencies": { "@mysten/bcs": "1.0.4", "@noble/curves": "~1.6.0", "@noble/hashes": "~1.5.0", "@scure/base": "~1.1.6", "@scure/bip32": "^1.5.0", "@scure/bip39": "^1.4.0", "@suchipi/femver": "^1.0.0", "bech32": "^2.0.0", "bs58check": "4.0.0", "buffer": "6.0.3", "debug": "^4.4.0", "rxjs": "^7.8.2", "tweetnacl": "^1.0.3", "valibot": "^0.41.0", "eventsource": "3.0.6" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }