-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
148 lines (148 loc) · 8.46 KB
/
package.json
File metadata and controls
148 lines (148 loc) · 8.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "chainsig.js",
"version": "1.1.6",
"description": "ChainSig Library",
"license": "MIT",
"type": "module",
"files": [
"dist",
"package.json",
"README.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/node/index.d.ts",
"import": "./dist/node/index.node.js",
"require": "./dist/node/index.node.cjs",
"default": "./dist/node/index.node.js"
}
},
"main": "./dist/node/index.node.cjs",
"module": "./dist/node/index.node.js",
"types": "./dist/node/index.d.ts",
"scripts": {
"watch": "tsup --watch",
"build": "rm -rf ./dist && tsup --env.TARGET=node && tsup --env.TARGET=browser && npm run build:post",
"build:post": "jq 'del(.scripts, .devDependencies) | .files = [\"browser\", \"node\", \"package.json\", \"README.md\", \"LICENSE\"] | .exports = {\".\":{\"types\":\"./node/index.d.ts\",\"browser\":{\"import\":\"./browser/index.browser.js\",\"require\":\"./browser/index.browser.cjs\"},\"node\":{\"import\":\"./node/index.node.js\",\"require\":\"./node/index.node.cjs\"},\"import\":\"./node/index.node.js\",\"require\":\"./node/index.node.cjs\",\"default\":\"./browser/index.browser.js\"}} | .main = \"./node/index.node.cjs\" | .module = \"./node/index.node.js\" | .browser = \"./browser/index.browser.js\" | .types = \"./node/index.d.ts\"' package.json > dist/package.json && cp README.md dist/ && cp LICENSE dist/",
"clean": "rm -rf ./dist",
"docs:generate": "typedoc",
"docs:watch": "typedoc --watch",
"docs:clean": "rm -rf ./docs",
"test": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts \"__tests__/(bitcoin|solana|evm/basic.test.ts|xrp)\"",
"test:all": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/bitcoin __tests__/solana __tests__/evm/basic.test.ts __tests__/xrp",
"test:fixed": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/bitcoin __tests__/solana __tests__/evm/basic.test.ts __tests__/xrp",
"test:passing": "npm run test:fixed",
"test:bitcoin": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/bitcoin",
"test:solana": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/solana",
"test:cosmos": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/cosmos",
"test:xrp": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/xrp",
"test:evm": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/evm/basic.test.ts",
"test:index": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/index.test.ts",
"test:problematic": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts \"__tests__/(cosmos|evm/EVM.test.ts|index)\"",
"test:integration": "INTEGRATION_TEST=true NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/solana/Integration.test.ts __tests__/evm/Integration.test.ts --verbose",
"test:integration:full:debug": "INTEGRATION_TEST=true NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts \"__tests__/*/Integration.test.ts\" --verbose",
"test:integration:script": "node scripts/run-integration-tests.js",
"test:integration:near": "cross-env INTEGRATION_TEST=true NEAR_ACCOUNT_ID=\"$npm_config_account\" NEAR_PRIVATE_KEY=\"$npm_config_key\" MPC_CONTRACT_ID=\"$npm_config_contract\" NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/solana/Integration.test.ts --verbose",
"test:integration:solana": "cross-env INTEGRATION_TEST=true SOLANA_TEST_ADDRESS=\"$npm_config_address\" SOLANA_RECIPIENT_ADDRESS=\"$npm_config_recipient\" NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/solana/Integration.test.ts --verbose",
"test:integration:full": "cross-env INTEGRATION_TEST=true NEAR_ACCOUNT_ID=\"$npm_config_account\" NEAR_PRIVATE_KEY=\"$npm_config_key\" MPC_CONTRACT_ID=\"$npm_config_contract\" SOLANA_TEST_ADDRESS=\"$npm_config_address\" SOLANA_RECIPIENT_ADDRESS=\"$npm_config_recipient\" NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/solana/Integration.test.ts --verbose",
"test:integration:evm": "INTEGRATION_TEST=true NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/evm/Integration.test.ts --verbose",
"test:integration:evm:rpc": "cross-env INTEGRATION_TEST=true EVM_RPC_URL=\"$npm_config_rpc\" NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/evm/Integration.test.ts --verbose",
"test:integration:all": "INTEGRATION_TEST=true NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts \"__tests__/*/Integration.test.ts\" --verbose",
"test:integration:bitcoin": "INTEGRATION_TEST=true NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/bitcoin/Integration.test.ts --verbose",
"test:integration:cosmos": "INTEGRATION_TEST=true NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/cosmos/Integration.test.ts --verbose",
"test:integration:xrp": "INTEGRATION_TEST=true NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/xrp/Integration.test.ts --verbose",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"pre:deploy": "npm run build",
"publish-npm": "npm run pre:deploy && cd dist && npm publish --access public",
"publish-npm:beta": "npm run pre:deploy && cd dist && npm publish --tag beta",
"hardhat": "pnpm exec hardhat node --config hardhat.config.mts",
"test:watch": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts --watch",
"test:coverage": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts --coverage",
"test:utils": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.ts __tests__/bitcoin/utils.test.ts",
"docs:dev": "vocs dev",
"docs:build": "vocs build",
"docs:preview": "vocs preview"
},
"keywords": [
"blockchain",
"cryptocurrency",
"mpc",
"multi-chain",
"ethereum",
"bitcoin",
"cosmos",
"near"
],
"devDependencies": {
"@aa-sdk/core": "^4.13.0",
"@account-kit/infra": "^4.13.0",
"@account-kit/smart-contracts": "^4.13.0",
"@noble/curves": "^1.8.1",
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@types/bn.js": "^5.1.5",
"@types/elliptic": "^6.4.18",
"@types/jest": "^29.5.0",
"@types/node": "^22.10.10",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"babel-jest": "^29.7.0",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"hardhat": "^2.22.18",
"import-local": "^3.2.0",
"jest": "^29.7.0",
"jest-environment-node": "^29.7.0",
"near-api-js": "^6.0.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.2",
"tsup": "^8.4.0",
"typedoc": "^0.28.7",
"typescript": "^5.4.3",
"vitest": "^3.0.4",
"vocs": "^1.0.13"
},
"dependencies": {
"@aptos-labs/ts-sdk": "^2.0.1",
"@cosmjs/amino": "^0.32.4",
"@cosmjs/crypto": "^0.32.4",
"@cosmjs/encoding": "^0.32.4",
"@cosmjs/math": "^0.32.4",
"@cosmjs/proto-signing": "^0.32.4",
"@cosmjs/stargate": "^0.32.4",
"@mysten/sui": "^1.30.1",
"@near-js/accounts": "^2.2.4",
"@near-js/crypto": "^2.2.4",
"@near-js/keystores": "^2.2.4",
"@near-js/providers": "^2.2.4",
"@near-js/signers": "^2.2.4",
"@near-js/transactions": "^2.2.4",
"@near-js/types": "^2.2.4",
"@near-js/utils": "^2.2.4",
"@noble/hashes": "^1.8.0",
"@scure/base": "^1.2.4",
"@solana/web3.js": "^1.98.0",
"base32-decode": "^1.0.0",
"bech32": "^2.0.0",
"bitcoinjs-lib": "^6.1.5",
"bn.js": "^5.2.1",
"bs58": "^6.0.0",
"chain-registry": "^1.69.72",
"coinselect": "^3.1.13",
"cosmjs-types": "^0.9.0",
"elliptic": "^6.6.1",
"js-sha3": "^0.9.3",
"ripple-address-codec": "^5.0.0",
"ripple-binary-codec": "^2.3.0",
"viem": "^2.22.14",
"xrpl": "^4.3.0"
}
}