-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
64 lines (64 loc) · 1.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
{
"name": "bech32",
"version": "2.0.0",
"description": "Bech32 encoding / decoding",
"type": "module",
"keywords": [
"base32",
"bech32",
"bech32m",
"bitcoin",
"crypto",
"crytography",
"decode",
"decoding",
"encode",
"encoding"
],
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/cjs/index.cjs",
"dist/cjs/index.d.ts",
"dist/esm/index.js"
],
"exports": {
".": {
"require": "./dist/cjs/index.cjs",
"import": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts"
}
},
"license": "MIT",
"devDependencies": {
"@types/node": "^14.0.14",
"@types/tape": "^4.13.4",
"nyc": "^15.0.0",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"tap-dot": "*",
"tape": "^5.3.0",
"ts-node": "^10.9.2",
"tslint": "^6.1.3",
"tsx": "^4.7.2",
"typescript": "^3.9.5"
},
"repository": {
"url": "http://github.com/bitcoinjs/bech32",
"type": "git"
},
"scripts": {
"build": "npm run clean && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json",
"postbuild": "find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\;",
"clean": "rimraf dist",
"coverage": "nyc -x [dist/cjs/test/*.ts] --check-coverage --branches 90 --functions 90 npm test",
"format": "npm run prettier -- --write",
"format:ci": "npm run prettier -- --check",
"gitdiff:ci": "npm run build && git diff --exit-code",
"lint:fix": "npm run lint -- --fix",
"lint": "tslint -p tsconfig.cjs.json -c tslint.json",
"prettier": "prettier --print-width 100 --single-quote --trailing-comma=all \"**/!(*.d).ts\"",
"test": "tape dist/cjs/test/*.cjs | tap-dot"
}
}