-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
78 lines (78 loc) · 2.74 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
{
"name": "ecpair",
"version": "3.0.0-rc.0",
"description": "Client-side Bitcoin JavaScript library ECPair",
"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"
}
},
"engines": {
"node": ">=18.0.0"
},
"keywords": [
"bitcoinjs",
"bitcoin",
"browserify",
"javascript",
"bitcoinjs"
],
"scripts": {
"audit": "NPM_AUDIT_IGNORE_DEV=1 NPM_AUDIT_IGNORE_LEVEL=low npm-audit-whitelister .npm-audit-whitelister.json",
"build": "npm run clean && tsc -p ./tsconfig.json && tsc -p tsconfig.cjs.json && npm 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",
"clean:jstests": "rimraf 'test/**/*.js'",
"coverage-report": "npm run build && npm run nobuild:coverage-report",
"coverage-html": "npm run build && npm run nobuild:coverage-html",
"coverage": "npm run build && npm run nobuild:coverage",
"format": "npm run prettier -- --write",
"formatjs": "npm run prettierjs -- --write",
"format:ci": "npm run prettier -- --check && npm run prettierjs -- --check",
"gitdiff:ci": "npm run build && git diff --exit-code",
"lint": "tslint -p tsconfig.json -c tslint.json",
"lint:tests": "tslint -p test/tsconfig.json -c tslint.json",
"mocha:ts": "mocha --recursive",
"nobuild:coverage-report": "c8 report --reporter=lcov",
"nobuild:coverage-html": "c8 report --reporter=html",
"nobuild:coverage": "c8 --check-coverage --exclude='**/*.cjs' --branches 90 --functions 90 --lines 90 npm run unit",
"nobuild:unit": "npm run mocha:ts -- 'test/*.ts'",
"prettier": "prettier \"ts_src/**/*.ts\" \"test/**/*.ts\" --ignore-path ./.prettierignore",
"prettierjs": "prettier \"src/**/*.js\" --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": "https://github.com/bitcoinjs/ecpair.git"
},
"files": [
"src"
],
"dependencies": {
"uint8array-tools": "^0.0.8",
"valibot": "^0.37.0",
"wif": "^5.0.0"
},
"devDependencies": {
"@types/create-hash": "^1.2.2",
"@types/mocha": "^5.2.7",
"@types/node": "^20.14.2",
"@types/wif": "^2.0.2",
"c8": "^10.1.2",
"mocha": "^10.7.3",
"prettier": "^3.3.3",
"rimraf": "^2.6.3",
"tiny-secp256k1": "^2.2.3",
"tslint": "^6.1.3",
"tsx": "^4.16.5",
"typescript": "^5.0.4"
},
"license": "MIT"
}