-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
69 lines (69 loc) · 2.12 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
{
"name": "@ensdomains/op-gateway",
"version": "0.1.0",
"author": "Nick Johnson",
"license": "MIT",
"type": "module",
"main": "./_cjs/index.js",
"module": "./_esm/index.js",
"types": "./_types/index.d.ts",
"typings": "./_types/index.d.ts",
"bin": "./_cjs/server.js",
"sideEffects": false,
"files": [
"_esm",
"_cjs",
"_types",
"src",
"!**/*.tsbuildinfo"
],
"exports": {
".": {
"types": "./_types/index.d.ts",
"import": "./_esm/index.js",
"require": "./_cjs/index.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">=10",
"bun": ">=1.0.4"
},
"peerDependencies": {
"typescript": ">=5.0.4"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"scripts": {
"start": "bun ./src/server.ts",
"dev": "wrangler dev",
"deploy": "wrangler deploy",
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir ./_cjs --removeComments --verbatimModuleSyntax false && echo > ./_cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "tsc --project tsconfig.build.json --module es2022 --outDir ./_esm && echo > ./_esm/package.json '{\"type\":\"module\",\"sideEffects\":false}'",
"build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./_types --emitDeclarationOnly --declaration --declarationMap",
"build": "echo 'building op-gateway...' && bun run clean && bun run build:cjs && bun run build:esm && bun run build:types",
"prepublishOnly": "bun ../scripts/prepublishOnly.ts",
"lint": "eslint . --ext .ts",
"prepare": "bun run build",
"clean": "rm -fr _cjs _esm _types"
},
"husky": {
"hooks": {
"pre-commit": "bun run lint"
}
},
"dependencies": {
"@chainlink/ccip-read-server": "^0.2.1",
"@cloudflare/workers-types": "^4.20240423.0",
"@commander-js/extra-typings": "^11.0.0",
"@ensdomains/evm-gateway": "0.1.0-beta.4",
"@ensdomains/server-analytics": "0.0.1-alpha.5",
"@ethereumjs/block": "^5.0.0",
"@nomicfoundation/ethereumjs-block": "^5.0.2",
"commander": "^11.0.0",
"ethers": "^6.7.1"
}
}