-
Notifications
You must be signed in to change notification settings - Fork 129
/
package.json
87 lines (87 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
79
80
81
82
83
84
85
86
87
{
"name": "@ensdomains/address-encoder",
"version": "1.0.0-rc.3",
"description": "Encodes and decodes address formats for various cryptocurrencies",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"typings": "./dist/types/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"default": "./dist/cjs/index.js"
},
"./async": {
"types": "./dist/types/async.d.ts",
"import": "./dist/esm/async.js",
"default": "./dist/cjs/async.js"
},
"./coins": {
"types": "./dist/types/coins.d.ts",
"import": "./dist/esm/coins.js",
"default": "./dist/cjs/coins.js"
},
"./coders": {
"types": "./dist/types/coders.d.ts",
"import": "./dist/esm/coders.js",
"default": "./dist/cjs/coders.js"
},
"./utils": {
"types": "./dist/types/utils/index.d.ts",
"import": "./dist/esm/utils/index.js",
"default": "./dist/cjs/utils/index.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"async": [
"./dist/types/async.d.ts"
],
"coins": [
"./dist/types/coins.d.ts"
],
"coders": [
"./dist/types/coders.d.ts"
],
"utils": [
"./dist/types/utils/index.d.ts"
]
}
},
"files": [
"dist/",
"src/",
"!src/**/*.test.ts",
"!src/**/*.bench.ts",
"!**/*.tsbuildinfo"
],
"repository": "[email protected]:ensdomains/address-encoder.git",
"license": "MIT",
"scripts": {
"generateCoin": "bun ./scripts/generateCoin.ts",
"clean": "rm -rf ./dist && rm -rf ./tsconfig.build.tsbuildinfo",
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir ./dist/cjs --removeComments --verbatimModuleSyntax false && echo > ./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "tsc --project tsconfig.build.json --module es2022 --outDir ./dist/esm && echo > ./dist/esm/package.json '{\"type\":\"module\",\"sideEffects\":false}'",
"build:types": "tsc --project tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
"build": "bun run clean && bun run build:cjs && bun run build:esm && bun run build:types",
"generatePublishStructure": "bun ./scripts/prepublishOnly.ts"
},
"devDependencies": {
"@types/fs-extra": "^11.0.2",
"bun-types": "1.0.22",
"fs-extra": "^11.1.1",
"mitata": "^0.1.6",
"ts-arithmetic": "^0.1.1",
"ts-markdown": "^1.0.0",
"typescript": "^5.1.6"
},
"dependencies": {
"@noble/curves": "^1.2.0",
"@noble/hashes": "^1.3.2",
"@scure/base": "^1.1.5"
}
}