-
Notifications
You must be signed in to change notification settings - Fork 129
/
package.json
71 lines (71 loc) · 2.15 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
{
"name": "bip32",
"version": "5.0.0-rc.0",
"type": "module",
"description": "A BIP32 compatible library",
"keywords": [
"bip32",
"bitcoinjs",
"bitcoin",
"secp256k1"
],
"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"
}
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json",
"checkHybrid": "chmod +x test.cjs && node test.cjs",
"coverage-report": "npm run build && npm run nobuild:coverage-report",
"coverage": "npm run build && npm run nobuild:coverage",
"format": "npm run prettier -- --write",
"format:ci": "npm run prettier -- --check",
"gitdiff:ci": "npm run build && git diff --exit-code",
"lint": "tslint -p tsconfig.json -c tslint.json",
"nobuild:coverage-report": "c8 report --reporter=lcov",
"nobuild:coverage": "c8 --check-coverage --branches 90 --functions 90 npm run nobuild:unit",
"nobuild:unit": "tape test/*.js",
"postbuild": "find src/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && chmod +x fixup.cjs && node fixup.cjs",
"prettier": "prettier 'ts-src/**/*.ts' --ignore-path ./.prettierignore",
"test": "npm run build && npm run format:ci && npm run lint && npm run nobuild:coverage",
"unit": "npm run build && npm run nobuild:unit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bitcoinjs/bip32.git"
},
"files": [
"src"
],
"dependencies": {
"@noble/hashes": "^1.2.0",
"@scure/base": "^1.1.1",
"uint8array-tools": "^0.0.8",
"valibot": "^0.37.0",
"wif": "^5.0.0"
},
"devDependencies": {
"@types/node": "18.x",
"@types/tape": "^5.6.4",
"c8": "^10.1.2",
"prettier": "1.16.4",
"tape": "^5.3.0",
"tiny-secp256k1": "^2.2.1",
"tslint": "^6.1.0",
"typescript": "^5.0.4"
},
"author": "Daniel Cousens",
"license": "MIT",
"bugs": {
"url": "https://github.com/bitcoinjs/bip32/issues"
}
}