-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
65 lines (65 loc) · 2.23 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
{
"name": "bip174",
"version": "3.0.0-rc.1",
"description": "",
"main": "src/cjs/lib/psbt.cjs",
"module": "src/esm/lib/psbt.js",
"types": "src/esm/lib/psbt.d.ts",
"exports": {
".": {
"types": "./src/esm/lib/psbt.d.ts",
"import": "./src/esm/lib/psbt.js",
"require": "./src/cjs/lib/psbt.cjs"
}
},
"type": "module",
"files": [
"src/cjs/lib",
"src/esm/lib"
],
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "npm run clean && tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json && npm run formatjs",
"checkHybrid": "chmod +x test.cjs && node test.cjs",
"clean": "rimraf src types",
"coverage": "c8 --check-coverage --include='src/esm/lib/**/*.js' --reporter=lcov --reporter=text --branches 90 --functions 90 --lines 90 npm run unit",
"flb": "npm run format && npm run lint && npm run build",
"format": "npm run prettier -- --write",
"formatjs": "npm run prettierjs -- --write > /dev/null 2>&1",
"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",
"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",
"prettierjs": "prettier 'src/**/*.js' --ignore-path ./.prettierignore",
"test": "npm run format:ci && npm run lint && npm run build && npm run coverage",
"unit": "tape src/esm/tests/*.js src/esm/tests/fromBIP/*.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bitcoinjs/bip174.git"
},
"dependencies": {
"uint8array-tools": "^0.0.9",
"varuint-bitcoin": "^2.0.0"
},
"devDependencies": {
"@types/node": "12.0.8",
"@types/tape": "4.2.33",
"bitcoinjs-lib": "^6.1.6",
"c8": "^10.1.2",
"prettier": "^1.18.2",
"rimraf": "^2.6.3",
"tape": "^5.3.0",
"tslint": "5.17.0",
"typescript": "3.5.2"
},
"author": "Jonathan Underwood",
"license": "MIT",
"bugs": {
"url": "https://github.com/bitcoinjs/bip174/issues"
},
"homepage": "https://github.com/bitcoinjs/bip174#readme"
}