@opendatalabs/vana-sdk
Version:
A TypeScript library for interacting with Vana Network smart contracts.
91 lines (90 loc) • 2.52 kB
JSON
{
"name": "@opendatalabs/vana-sdk",
"version": "0.1.0-alpha.5869423",
"description": "A TypeScript library for interacting with Vana Network smart contracts.",
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "dist/index.node.js",
"types": "dist/index.node.d.ts",
"exports": {
".": {
"node": {
"types": "./dist/index.node.d.ts",
"import": "./dist/index.node.js",
"require": "./dist/index.node.cjs"
},
"browser": {
"import": "./dist/index.browser.js",
"types": "./dist/index.browser.d.ts"
},
"default": {
"types": "./dist/index.node.d.ts",
"import": "./dist/index.node.js",
"require": "./dist/index.node.cjs"
}
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"clean": "rimraf dist",
"build:types": "tsup src/index.ts --dts-only --out-dir dist --no-clean",
"build:node": "tsup src/index.node.ts --platform node --format esm,cjs --target node18 --out-dir dist --no-clean",
"build:browser": "tsup src/index.browser.ts --platform browser --format esm --target es2020 --out-dir dist --dts --no-clean",
"build": "npm run clean && npm run build:types && npm run build:node && npm run build:browser",
"prepare": "npm run build",
"dev": "npm run build -- --watch",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "tsc --noEmit",
"test": "vitest",
"test:coverage": "vitest run --coverage"
},
"keywords": [
"vana",
"blockchain",
"web3",
"sdk"
],
"author": "",
"license": "ISC",
"dependencies": {
"abitype": "^1.0.8",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"eccrypto": "^1.1.6",
"eccrypto-js": "^5.4.0",
"openpgp": "^6.1.1",
"viem": "^2.31.7"
},
"devDependencies": {
"@types/eccrypto": "^1.1.6",
"@types/node": "^24.0.10",
"@typescript-eslint/eslint-plugin": "^8.32.1",
"@typescript-eslint/parser": "^8.32.1",
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^9.26.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.4.0",
"globals": "^16.3.0",
"prettier": "^3.5.3",
"rimraf": "^6.0.1",
"tsup": "^8.5.0",
"tsx": "^4.19.4",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
},
"engines": {
"node": ">=20.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/vana-com/vana-sdk.git",
"directory": "packages/vana-sdk"
}
}