-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
52 lines (52 loc) · 1.44 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
{
"name": "bip66",
"version": "2.0.0",
"type": "module",
"description": "Strict DER signature encoding/decoding.",
"keywords": [
"bip66",
"bitcoin"
],
"homepage": "https://github.com/bitcoinjs/bip66",
"bugs": {
"url": "https://github.com/bitcoinjs/bip66/issues"
},
"license": "MIT",
"author": "Daniel Cousens",
"files": [
"src"
],
"main": "src/cjs/index.cjs",
"module": "src/esm/index.js",
"types": "src/cjs/index.d.ts",
"exports": {
".": {
"types": "./src/cjs/index.d.ts",
"import": "./src/esm/index.js",
"require": "./src/cjs/index.cjs"
}
},
"repository": {
"type": "git",
"url": "https://github.com/bitcoinjs/bip66.git"
},
"scripts": {
"build": "npm run clean && tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json; npm run standard -- --fix",
"postbuild": "find src/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\;",
"standard": "ts-standard --ignore test --ignore src",
"gitdiff": "npm run build && git diff --exit-code",
"clean": "rimraf src",
"coverage": "c8 --check-coverage --branches 100 --functions 100 tape test/*.js",
"lint": "npm run standard",
"test": "npm run lint && npm run unit",
"unit": "tape test/*.js"
},
"devDependencies": {
"@types/node": "^20.14.8",
"c8": "^10.1.2",
"rimraf": "^5.0.7",
"tape": "^5.3.0",
"ts-standard": "^12.0.2",
"typescript": "~5.1.0"
}
}