From 00a69a0f30d25e29fc75d14e1e073bed2f792d6b Mon Sep 17 00:00:00 2001 From: a Date: Mon, 24 Oct 2022 21:27:24 -0500 Subject: [PATCH] i guess --- .gitignore | 5 +++++ package.json | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 47f892a..03b20e2 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,8 @@ yarn-error.log* /.vscode .gitsigners + +4bytes/ +chains/ +topic0/ + diff --git a/package.json b/package.json index 2372d1f..a6ddebf 100644 --- a/package.json +++ b/package.json @@ -45,12 +45,13 @@ }, "scripts": { "start": "vite", + "download":"rm -rf chains topic0 4bytes &&npm run dl-chains && npm run dl-topic0 && npm run dl-4bytes", "build": "tsc && vite build", "postbuild": "cp -r chains dist && cp -r topic0 dist && cp -r 4bytes dist", "preview": "vite preview", "dl-chains": "svn checkout https://github.com/ethereum-lists/chains/trunk/_data/chains && rm -rf chains/.svn", "dl-topic0": "git clone https://github.com/wmitsuda/topic0 && rm -rf topic0/.git", - "dl-4byte": "git clone github.com/ethereum-lists/4bytes && rm -rf 4bytes/.git", + "dl-4bytes": "git clone https://github.com/ethereum-lists/4bytes && rm -rf 4bytes/.git", "source-map-explorer": "source-map-explorer build/static/js/*.js", "assets-start": "docker run --rm -p 3001:80 --name otterscan-assets -d -v$(pwd)/4bytes/signatures:/usr/share/nginx/html/signatures/ -v$(pwd)/trustwallet/blockchains/ethereum/assets:/usr/share/nginx/html/assets/1 -v$(pwd)/topic0/with_parameter_names:/usr/share/nginx/html/topic0/ -v$(pwd)/chains/_data/chains:/usr/share/nginx/html/chains/ -v$(pwd)/nginx/nginx.conf:/etc/nginx/nginx.conf -v$(pwd)/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf nginx:1.21.1-alpine", "assets-start-with-param-names": "docker run --rm -p 3001:80 --name otterscan-assets -d -v$(pwd)/4bytes/with_parameter_names:/usr/share/nginx/html/signatures/ -v$(pwd)/trustwallet/blockchains/ethereum/assets:/usr/share/nginx/html/assets/1 -v$(pwd)/topic0/with_parameter_names:/usr/share/nginx/html/topic0/ -v$(pwd)/chains/_data/chains:/usr/share/nginx/html/chains/ -v$(pwd)/nginx/nginx.conf:/etc/nginx/nginx.conf -v$(pwd)/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf nginx:1.21.1-alpine",