-
Notifications
You must be signed in to change notification settings - Fork 48
/
package.json
54 lines (54 loc) · 1.27 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
{
"name": "bs58",
"version": "6.0.0",
"type": "module",
"description": "Base 58 encoding / decoding",
"keywords": [
"base58",
"bitcoin",
"crypto",
"crytography",
"decode",
"decoding",
"encode",
"encoding",
"litecoin"
],
"license": "MIT",
"devDependencies": {
"@types/node": "^20.14.8",
"rimraf": "^5.0.7",
"tape": "^5.3.0",
"ts-standard": "^12.0.2",
"typescript": "^5.5.2"
},
"repository": {
"url": "https://github.com/cryptocoinjs/bs58",
"type": "git"
},
"files": [
"src"
],
"main": "src/cjs/index.cjs",
"module": "src/esm/index.js",
"types": "src/cjs/index.d.ts",
"exports": {
".": {
"import": "./src/esm/index.js",
"require": "./src/cjs/index.cjs",
"types": "./src/cjs/index.d.ts"
}
},
"scripts": {
"build": "npm run clean && tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json",
"clean": "rimraf src",
"gitdiff": "npm run build && git diff --exit-code",
"postbuild": "find src/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\;",
"standard": "ts-standard --ignore src --ignore test",
"test": "npm run standard && npm run unit",
"unit": "tape test/index.js"
},
"dependencies": {
"base-x": "^5.0.0"
}
}