forked from junderw/bitcoinjs-lib
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
111 lines (111 loc) · 3.73 KB
/
package.json
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
{
"name": "@shapeshiftoss/bitcoinjs-lib",
"version": "7.0.0-shapeshift.0",
"description": "Client-side Bitcoin JavaScript library",
"type": "module",
"main": "./src/cjs/index.cjs",
"module": "./src/esm/index.js",
"types": "./src/cjs/index.d.ts",
"exports": {
".": {
"require": "./src/cjs/index.cjs",
"import": "./src/esm/index.js",
"types": "./src/cjs/index.d.ts"
},
"./src/*": {
"require": "./src/cjs/*.cjs",
"types": "./src/cjs/*.d.ts",
"import": "./src/esm/*.js"
}
},
"engines": {
"node": ">=18.0.0"
},
"keywords": [
"bitcoinjs",
"bitcoin",
"browserify",
"javascript",
"bitcoinjs"
],
"scripts": {
"build": "yarn run clean && yarn tsc -p ./tsconfig.json && yarn tsc -p ./tsconfig.cjs.json && yarn run formatjs",
"postbuild": "find src/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && chmod +x ./fixup.cjs && node fixup.cjs",
"clean": "rimraf src",
"coverage-report": "yarn run build && yarn run nobuild:coverage-report",
"coverage-html": "yarn run build && yarn run nobuild:coverage-html",
"coverage": "yarn run build && yarn run nobuild:coverage",
"doc": "typedoc",
"format": "yarn run prettier -- --write",
"formatjs": "yarn run prettierjs -- --write",
"format:ci": "yarn run prettier -- --check && yarn run prettierjs -- --check",
"gitdiff:ci": "yarn run build && git diff --exit-code",
"integration": "yarn run build && yarn run nobuild:integration",
"lint": "eslint ts_src/** src/**/*.js",
"lint:tests": "eslint test/**/*.spec.ts",
"mocha:ts": "mocha --recursive",
"nobuild:coverage-report": "c8 report --reporter=lcov",
"nobuild:coverage-html": "c8 report --reporter=html",
"nobuild:coverage": "c8 --check-coverage --branches 85 --functions 90 --lines 90 yarn run nobuild:unit",
"nobuild:integration": "yarn run mocha:ts -- --timeout 50000 'test/integration/*.ts'",
"nobuild:unit": "yarn run mocha:ts -- 'test/*.ts'",
"prettier": "prettier \"ts_src/**/*.ts\" \"test/**/*.ts\" --ignore-path ./.prettierignore",
"prettierjs": "prettier \"src/**/*.js\" --ignore-path ./.prettierignore",
"test": "yarn run build && yarn run format:ci && yarn run lint && yarn run nobuild:coverage",
"unit": "yarn run build && yarn run nobuild:unit"
},
"repository": {
"type": "git",
"url": "https://github.com/shapeshift/bitcoinjs-lib.git"
},
"files": [
"src"
],
"dependencies": {
"@noble/hashes": "^1.2.0",
"bech32": "^2.0.0",
"bip174": "^3.0.0-rc.0",
"bs58check": "^4.0.0",
"uint8array-tools": "^0.0.9",
"valibot": "^0.38.0",
"varuint-bitcoin": "^2.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"@shapeshiftoss/bitcoinjs-lib": ".",
"@types/bs58": "^4.0.0",
"@types/bs58check": "^2.1.0",
"@types/mocha": "^5.2.7",
"@types/node": "^18.7.14",
"@types/proxyquire": "^1.3.28",
"@types/randombytes": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^8.2.0",
"@typescript-eslint/parser": "^8.2.0",
"bip32": "^5.0.0-rc.0",
"bip39": "^3.1.0",
"bip65": "^1.0.1",
"bip68": "^1.0.3",
"bs58": "^6.0.0",
"c8": "^10.1.2",
"dhttp": "^3.0.0",
"ecpair": "^3.0.0-rc.0",
"eslint": "^9.9.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.9.0",
"hoodwink": "^2.0.0",
"minimaldata": "^1.0.2",
"mocha": "^10.6.0",
"prettier": "^3.0.0",
"proxyquire": "^2.0.1",
"randombytes": "^2.1.0",
"regtest-client": "0.2.0",
"rimraf": "^2.6.3",
"tiny-secp256k1": "^2.2.0",
"tsx": "^4.17.0",
"typedoc": "^0.26.6",
"typescript": "^5.0.4"
},
"license": "MIT"
}