-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 5.19 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 5.19 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
{
"name": "tc-js",
"version": "0.0.1",
"license": "MIT",
"keywords": [],
"files": [
"dist/index.d.ts",
"dist/index.js",
"dist/index.js.map"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"compile": "tsc",
"lint:js": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:js:fix": "eslint . --fix --ext .js,.jsx,.ts,.tsx",
"lint:json": "prettier --check \"./**/*.json\"",
"lint:json:fix": "prettier --write \"./**/*.json\"",
"clear": "rimraf dist build/compiled/*",
"_tsc": "tsc",
"make-bundle": "rollup --config",
"build": "run-s clear _tsc make-bundle",
"watch": "tsc --watch",
"commit-msg": "commitlint --edit \"$1\"",
"pre-commit": "lint-staged && yarn build",
"test": "yarn build && env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --timeout 10000 -r ts-node/register 'test/bitcoin.spec.ts'",
"test-util": "yarn build && env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --timeout 10000 -r ts-node/register 'test/utils.spec.ts'",
"test-psbt": "yarn build && env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --timeout 10000 -r ts-node/register 'test/psbt.spec.ts'",
"test-psbt-multi": "yarn build && env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --timeout 10000 -r ts-node/register 'test/psbtmulti.spec.ts'",
"test-wallet": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --timeout 10000 -r ts-node/register 'test/wallet.spec.ts'",
"test-tc": "yarn build && env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --timeout 10000 -r ts-node/register 'test/tc.spec.ts'",
"test-tc-client": "yarn build && env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --timeout 0 -r ts-node/register 'test/tcclient.spec.ts'",
"test-hd-wallet": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --timeout 10000 -r ts-node/register 'test/hdwallet.spec.ts'",
"test-tx": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --timeout 10000 -r ts-node/register 'test/tx.spec.ts'",
"test-ord": "yarn build && env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --timeout 0 -r ts-node/register 'test/ordinal.spec.ts'",
"test-collection": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --timeout 0 -r ts-node/register 'test/ordinal_colection.spec.ts'",
"test-stamps": " env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --timeout 0 -r ts-node/register 'test/stamps.spec.ts'",
"test-runes": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --timeout 0 -r ts-node/register 'test/runes.spec.ts'",
"mint-runes": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' ts-node 'scripts/mint_runes.ts'",
"test-xrpl": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' mocha --timeout 0 -r ts-node/register 'test/ripple.spec.ts'",
"test-doge": "yarn build && env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' mocha --timeout 0 -r ts-node/register 'test/doge.spec.ts'"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.4.4",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.3.0",
"@types/chai": "^4.3.4",
"@types/crypto-js": "^4.1.1",
"@types/mocha": "^10.0.1",
"@types/wif": "^2.0.2",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"chai": "^4.3.7",
"commitlint": "^17.4.4",
"dotenv": "^16.0.3",
"eslint": "^8.11.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"mocha": "^10.0.0",
"node-localstorage": "^2.2.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"rimraf": "^3.0.2",
"rollup": "^2.67.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-dts": "^4.1.0",
"typescript": "^4.5.5",
"uglify-js": "^3.15.0"
},
"dependencies": {
"@bitcoinerlab/secp256k1": "^1.0.2",
"@types/lodash": "^4.14.194",
"@types/node": "^17.0.13",
"axios": "^0.24.0",
"big-varuint-js": "^0.2.1",
"bignumber.js": "^9.1.1",
"bip32": "^4.0.0",
"bip39": "^3.1.0",
"bitcoinjs-lib": "https://github.com/generative-xyz/bitcoinjs-lib",
"bitcore-lib-doge": "^10.7.0",
"browserify": "^17.0.0",
"bsv-wasm": "^2.0.1",
"crypto-js": "^4.1.1",
"dotenv": "^16.0.3",
"ecpair": "^2.1.0",
"ethereumjs-wallet": "^1.0.2",
"ethers": "5.7.1",
"form-data": "^4.0.0",
"js-sha3": "^0.8.0",
"lodash": "^4.17.21",
"sats-connect": "^0.1.11",
"ts-mocha": "^10.0.0",
"underscore": "^1.13.6",
"web3": "^1.9.0",
"wif": "^2.0.6",
"xrpl": "^4.1.0"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"yarn lint:js:fix"
],
"*.json": [
"yarn lint:json:fix"
]
},
"description": "This project is sdk of [Trustless Computer](https://trustless.computer/).",
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TrustlessComputer/tc-sdk.git"
},
"author": "Trustless Computer Core Team",
"bugs": {
"url": "https://github.com/TrustlessComputer/tc-sdk/issues"
},
"homepage": "https://github.com/TrustlessComputer/tc-sdk#readme"
}