refactor: switch to new build system

This commit is contained in:
Derrick Hammer 2023-07-07 07:20:50 -04:00
parent d630e2a181
commit ea8f2bc82a
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
5 changed files with 25345 additions and 22 deletions

5
.presetterrc.json Normal file
View File

@ -0,0 +1,5 @@
{
"preset": [
"@lumeweb/presetter-relay-plugin-preset"
]
}

View File

@ -1,9 +0,0 @@
import esbuild from "esbuild";
esbuild.buildSync({
entryPoints: ["src/index.ts"],
outfile: "dist/eth.js",
format: "cjs",
bundle: true,
platform: "node",
});

25294
npm-shrinkwrap.json generated Normal file

File diff suppressed because it is too large Load Diff

46
package.json Normal file
View File

@ -0,0 +1,46 @@
{
"name": "@lumeweb/relay-plugin-eth",
"version": "0.1.0",
"type": "module",
"devDependencies": {
"@chainsafe/as-sha256": "^0.3.1",
"@chainsafe/bls": "^7.1.1",
"@chainsafe/blst": "0.2.9",
"@chainsafe/ssz": "^0.10.2",
"@ethereumjs/block": "^4.2.1",
"@ethereumjs/blockchain": "^6.2.1",
"@ethereumjs/common": "^3.1.1",
"@ethereumjs/trie": "^5.0.4",
"@ethereumjs/tx": "^4.1.1",
"@ethereumjs/util": "^8.0.5",
"@ethereumjs/vm": "^6.4.1",
"@lodestar/config": "^1.7.0",
"@lodestar/light-client": "^1.7.0",
"@lodestar/params": "^1.8.0",
"@lodestar/types": "^1.7.0",
"@lumeweb/presetter-relay-plugin-preset": "^0.1.0-develop.8",
"async-mutex": "^0.4.0",
"ethers": "^6.2.3",
"json-rpc-2.0": "^1.5.1",
"json-stringify-deterministic": "^1.0.8",
"lodash": "^4.17.21",
"node-cache": "^5.1.2",
"node-fetch": "^3.3.1",
"patch-package": "^7.0.0",
"presetter": "^4.0.1",
"rlp": "^3.0.0",
"ts-essentials": "^9.3.1",
"web3-core": "^1.10.0",
"web3-core-method": "^1.10.0",
"web3-eth": "^1.10.0"
},
"scripts": {
"prepare": "presetter bootstrap",
"build": "run build",
"semantic-release": "semantic-release",
"postinstall": "patch-package"
},
"dependencies": {
"@lumeweb/interface-relay": "^0.0.2-develop.1"
}
}

View File

@ -1,13 +0,0 @@
{
"compilerOptions": {
"module": "esnext",
"target": "esnext",
"esModuleInterop": true,
"outDir": "dist",
"moduleResolution": "node"
},
"include": ["src"],
"exclude": [
"node_modules"
]
}