@debridge-finance/solana-utils
Version:
Common utils package to power communication with Solana contracts at deBridge
84 lines (83 loc) • 2.55 kB
JSON
{
"name": "@debridge-finance/solana-utils",
"description": "Common utils package to power communication with Solana contracts at deBridge",
"version": "5.2.0",
"author": "deBridge",
"license": "BUSL-1.1",
"homepage": "https://debridge.finance",
"repository": {
"type": "git",
"url": "github:debridge-finance/solana-utils"
},
"keywords": [
"solana",
"deBridge",
"blockchain"
],
"main": "./dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "./dist/types/index",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"dist/**",
"LICENSE",
"README.md"
],
"scripts": {
"test": "jest -i --setupFiles=dotenv/config",
"test:ci": "npm test -- --coverage --testLocationInResults --json --outputFile=test-report.json",
"test:calculate-submission-id": "npm test -- -- ./tests/calculate-submission-id.test.ts",
"test:crypto": "npm test -- -- ./tests/crypto.test.ts",
"test:accounts": "npm test -- -- ./tests/accounts.test.ts",
"test:spl": "npm test -- -- ./tests/spl.test.ts",
"build:esm": "tsc -p tsconfig.esm.json",
"build:node": "tsc -p tsconfig.cjs.json",
"build:browser": "rollup -c",
"build": "rimraf dist && npm run build:esm && npm run build:node && npm run build:browser"
},
"dependencies": {
"@debridge-finance/solana-transaction-parser": "^3.1.2",
"bn.js": "5.2.1",
"bs58": "5.0.0",
"buffer": "6.0.3",
"js-sha3": "0.8.0",
"micro-memoize": "^4.1.2"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^14.1.0",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-typescript": "^8.5.0",
"@types/bn.js": "^5.1.5",
"@types/jest": "^29.5.14",
"@types/node": "^18.7.18",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"assert": "^2.0.0",
"dotenv": "^16.4.4",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.5.0",
"jest": "^29.7.0",
"jest-sonar-reporter": "^2.0.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"web3": "^1.8.2"
},
"peerDependencies": {
"@solana/buffer-layout": "^4.0.0",
"@solana/buffer-layout-utils": "^0.2.0",
"@solana/spl-token": "^0.4.0",
"@solana/web3.js": "^1.73"
}
}