UNPKG

@pgchain/blockchain-libs

Version:
127 lines (126 loc) 3.52 kB
{ "name": "@pgchain/blockchain-libs", "description": "PGWallet Blockchain Libs", "version": "0.0.2", "author": "PGChain Developer", "homepage": "https://github.com/pgchain/blockchain-libs", "bugs": { "url": "https://github.com/pgchain/blockchain-libs/issues" }, "license": "Apache-2.0", "repository": { "type": "git", "url": "git+ssh://git@github.com/pgchain/blockchain-libs.git" }, "keywords": [ "pgwallet", "blockchain", "multi-chains", "cryptocurrency" ], "engines": { "node": ">=10" }, "scripts": { "build": "run-s clean build:mai", "build:main": "tsc -p tsconfig.json", "fix": "run-s fix:*", "fix:prettier": "prettier --write .", "fix:lint": "eslint src --ext .ts --fix", "test": "run-s test:*", "test:lint": "eslint src --ext .ts", "test:prettier": "prettier --check .", "unittest": "jest --coverage --silent", "prepack": "", "clean": "rimraf dist tsconfig.tsbuildinfo onekeyfe-blockchain-libs-v*.tgz", "lint-staged": "lint-staged", "prepare": "", "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md" }, "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "CHANGELOG.md", "LICENSE", "README.md" ], "dependencies": { "@conflux-dev/conflux-address-js": "^1.3.11", "@metamask/eth-sig-util": "^4.0.0", "@solana/spl-token": "^0.1.8", "@solana/web3.js": "^1.29.2", "@starcoin/starcoin": "^2.1.5", "algo-msgpack-with-bigint": "^2.1.1", "asmcrypto.js": "^2.3.2", "bchaddrjs": "^0.5.2", "bech32": "^1.1.4", "bignumber.js": "^9.0.1", "bip39": "^3.0.4", "bitcoinjs-lib": "^6.0.1", "bitcoinjs-message": "^2.2.0", "bs58": "^4.0.1", "bs58check": "^2.1.2", "cosmjs-types": "^0.4.0", "cross-fetch": "^3.1.4", "elliptic": "^6.5.4", "ethereumjs-util": "^7.1.4", "ethers": "^5.6.0", "hi-base32": "^0.5.1", "js-conflux-sdk": "^1.7.1", "js-sha512": "^0.8.0", "timeout-signal": "^1.1.0", "tweetnacl": "^1.0.3", "whatwg-url": "^7.0.0" }, "devDependencies": { "@commitlint/cli": "^13.1.0", "@commitlint/config-conventional": "^13.1.0", "@onekeyfe/js-sdk": "*", "@types/bchaddrjs": "^0.4.0", "@types/bs58": "^4.0.1", "@types/bs58check": "^2.1.0", "@types/elliptic": "^6.4.13", "@types/jest": "^27.0.2", "@types/node": "^12.0.0", "@types/whatwg-url": "^8.2.1", "@typescript-eslint/eslint-plugin": "^4.0.1", "@typescript-eslint/parser": "^4.0.1", "eslint": "^7.8.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-import": "^2.22.0", "eslint-plugin-unused-imports": "^1.1.5", "husky": "^7.0.2", "jest": "^27.2.5", "lint-staged": "^11.1.2", "npm-run-all": "^4.1.5", "prettier": "^2.4.1", "rimraf": "^3.0.2", "ts-jest": "^27.0.5", "ts-node": "^10.3.0", "typescript": "^4.4.3" }, "peerDependencies": { "@onekeyfe/js-sdk": "*" }, "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "lint-staged": { "*.{js,jsx,ts,tsx,md,yml,toml,json}": [ "prettier --write", "prettier --check" ], "*.{js,jsx,ts,tsx}": [ "eslint --cache --fix", "eslint" ] }, "browser": { "@conflux-dev/conflux-address-js": "@conflux-dev/conflux-address-js/lib/browser.js" } }