@vechain/sdk-network
Version:
This module serves as the standard interface connecting decentralized applications (dApps) and users to the VeChainThor blockchain
64 lines • 3.05 kB
JSON
{
"name": "@vechain/sdk-network",
"version": "2.0.3",
"description": "This module serves as the standard interface connecting decentralized applications (dApps) and users to the VeChainThor blockchain",
"author": "VeChain Foundation",
"license": "MIT",
"homepage": "https://github.com/vechain/vechain-sdk-js",
"repository": {
"type": "git",
"url": "github:vechain/vechain-sdk-js"
},
"keywords": [
"VeChain",
"transaction",
"block",
"contract"
],
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist",
"src",
"package.json",
"README.md",
"LICENSE"
],
"scripts": {
"build": "rm -rf ./dist && tsup-node src/index.ts --format cjs,esm --dts --sourcemap",
"check:circular-dependencies": "npx madge --json --circular --extensions ts src | jq '. | length' | awk '{if($1 > 15) exit 1}'",
"lint": "eslint",
"format": "prettier --write src/**/*.ts tests/**/*.ts solo-seeding/**/*.ts",
"start-thor-solo": "yarn workspace @vechain/sdk-solo-setup solo-up",
"stop-thor-solo": "yarn workspace @vechain/sdk-solo-setup solo-down",
"seed-thor-solo": "yarn workspace @vechain/sdk-solo-setup solo-seed",
"setup-thor-solo": "yarn start-thor-solo && yarn seed-thor-solo",
"test:unit": "rm -rf ./coverageUnit && APPLYCODECOVLIMITS=false jest --coverage --coverageDirectory=coverageUnit --group=unit",
"test:integration": "rm -rf ./coverageIntegration && APPLYCODECOVLIMITS=false jest --coverage --coverageDirectory=coverageIntegration --group=integration",
"test:integration:solo": "(APPLYCODECOVLIMITS=false yarn stop-thor-solo && yarn setup-thor-solo && yarn test:integration && yarn stop-thor-solo) || yarn stop-thor-solo",
"test:browser": "rm -rf ./coverage && jest --coverage --coverageDirectory=coverage --group=integration --group=unit --config ./jest.config.browser.js",
"test:galactica": "rm -rf ./coverage && APPLYCODECOVLIMITS=false jest --verbose --coverage --coverageDirectory=coverage --group=galactica",
"test": "rm -rf ./coverage && APPLYCODECOVLIMITS=true jest --coverage --coverageDirectory=coverage --group=integration --group=unit --group=galactica --group=-websocket",
"test:solo": "(yarn setup-thor-solo && yarn test && yarn stop-thor-solo) || yarn stop-thor-solo",
"test:solo:galactica": "(yarn setup-thor-solo && yarn test:galactica && yarn stop-thor-solo) || yarn stop-thor-solo",
"test:browser:solo": "(yarn setup-thor-solo && yarn test:browser && yarn stop-thor-solo) || yarn stop-thor-solo"
},
"dependencies": {
"@noble/curves": "^1.6.0",
"@vechain/sdk-core": "2.0.3",
"@vechain/sdk-errors": "2.0.3",
"@vechain/sdk-logging": "2.0.3",
"abitype": "1.0.8",
"viem": "^2.21.54",
"ethers": "^6.14.0"
},
"devDependencies": {
"@types/ws": "^8.5.13",
"@vechain/sdk-solo-setup": "2.0.3",
"@vechain/vebetterdao-contracts": "^4.1.0",
"jest-fetch-mock": "^3.0.3",
"whatwg-fetch": "^3.6.20",
"ws": "^8.18.1"
}
}