2021-07-01 18:21:40 +00:00
|
|
|
{
|
|
|
|
"name": "otterscan",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
2022-08-01 17:25:47 +00:00
|
|
|
"@chainlink/contracts": "^0.4.2",
|
2022-08-09 04:07:54 +00:00
|
|
|
"@fontsource/fira-code": "^4.5.11",
|
2022-08-09 04:05:57 +00:00
|
|
|
"@fontsource/roboto": "^4.5.8",
|
2022-08-09 04:08:15 +00:00
|
|
|
"@fontsource/roboto-mono": "^4.5.8",
|
2022-08-09 04:03:50 +00:00
|
|
|
"@fontsource/space-grotesk": "^4.5.9",
|
2022-08-01 17:33:10 +00:00
|
|
|
"@fortawesome/fontawesome-svg-core": "^6.1.2",
|
2022-08-01 17:27:13 +00:00
|
|
|
"@fortawesome/free-brands-svg-icons": "^6.1.2",
|
2022-08-01 17:36:24 +00:00
|
|
|
"@fortawesome/free-regular-svg-icons": "^6.1.2",
|
2022-08-01 17:27:35 +00:00
|
|
|
"@fortawesome/free-solid-svg-icons": "^6.1.2",
|
2022-06-29 17:59:14 +00:00
|
|
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
2022-07-09 19:41:29 +00:00
|
|
|
"@headlessui/react": "^1.6.6",
|
2022-08-06 22:18:09 +00:00
|
|
|
"@otterscan/react-qr-reader": "^5.2.0",
|
2022-08-07 02:53:28 +00:00
|
|
|
"@testing-library/jest-dom": "^5.16.5",
|
2022-08-09 04:09:15 +00:00
|
|
|
"@testing-library/react": "^13.3.0",
|
2021-07-01 18:21:40 +00:00
|
|
|
"@testing-library/user-event": "^12.1.10",
|
2021-07-07 00:55:59 +00:00
|
|
|
"@types/jest": "^26.0.24",
|
2022-08-22 18:01:17 +00:00
|
|
|
"@types/node": "^16.11.52",
|
2022-08-06 19:12:30 +00:00
|
|
|
"@types/react": "^18.0.15",
|
2021-07-09 18:19:38 +00:00
|
|
|
"@types/react-blockies": "^1.4.1",
|
2022-08-06 19:12:30 +00:00
|
|
|
"@types/react-dom": "^18.0.6",
|
2021-10-16 17:50:25 +00:00
|
|
|
"@types/react-highlight": "^0.12.5",
|
2022-08-01 17:26:12 +00:00
|
|
|
"@types/react-syntax-highlighter": "^15.5.4",
|
2022-08-06 19:20:03 +00:00
|
|
|
"chart.js": "^3.9.1",
|
2022-08-22 01:05:20 +00:00
|
|
|
"ethers": "^5.7.0",
|
2022-03-19 00:48:32 +00:00
|
|
|
"highlightjs-solidity": "^2.0.5",
|
2022-08-06 19:12:30 +00:00
|
|
|
"react": "^18.2.0",
|
2021-07-01 18:21:40 +00:00
|
|
|
"react-blockies": "^1.4.1",
|
2022-08-06 19:12:30 +00:00
|
|
|
"react-chartjs-2": "^4.3.1",
|
|
|
|
"react-dom": "^18.2.0",
|
2021-10-31 01:47:18 +00:00
|
|
|
"react-error-boundary": "^3.1.4",
|
2022-07-17 23:21:44 +00:00
|
|
|
"react-helmet-async": "^1.3.0",
|
2021-07-01 18:21:40 +00:00
|
|
|
"react-image": "^4.0.3",
|
2022-04-06 01:59:10 +00:00
|
|
|
"react-router-dom": "^6.3.0",
|
2022-03-15 04:10:12 +00:00
|
|
|
"react-syntax-highlighter": "^15.5.0",
|
2022-04-18 13:32:12 +00:00
|
|
|
"swr": "^1.3.0",
|
2022-06-29 17:55:45 +00:00
|
|
|
"typescript": "^4.7.4",
|
2022-02-22 23:19:08 +00:00
|
|
|
"use-keyboard-shortcut": "^1.1.4",
|
2021-07-01 18:21:40 +00:00
|
|
|
"web-vitals": "^1.0.1"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2022-08-04 21:47:14 +00:00
|
|
|
"start": "vite",
|
|
|
|
"build": "tsc && vite build",
|
|
|
|
"preview": "vite preview",
|
2021-08-08 22:53:30 +00:00
|
|
|
"source-map-explorer": "source-map-explorer build/static/js/*.js",
|
2022-03-28 17:10:42 +00:00
|
|
|
"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",
|
2021-07-14 21:10:07 +00:00
|
|
|
"assets-stop": "docker stop otterscan-assets",
|
2022-08-05 06:32:42 +00:00
|
|
|
"docker-build": "docker buildx build -t otterscan .",
|
2021-07-14 21:10:07 +00:00
|
|
|
"docker-start": "docker run --rm -p 5000:80 --name otterscan -d otterscan",
|
|
|
|
"docker-stop": "docker stop otterscan"
|
2021-07-01 18:21:40 +00:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": [
|
|
|
|
"react-app",
|
|
|
|
"react-app/jest"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-08-15 05:11:27 +00:00
|
|
|
"@vitejs/plugin-react": "^2.0.1",
|
2022-08-08 00:39:37 +00:00
|
|
|
"autoprefixer": "^10.4.8",
|
|
|
|
"postcss": "^8.4.16",
|
2021-08-08 22:53:30 +00:00
|
|
|
"source-map-explorer": "^2.5.2",
|
2022-08-08 00:39:37 +00:00
|
|
|
"tailwindcss": "^3.1.8",
|
2022-08-22 00:10:06 +00:00
|
|
|
"vite": "^3.0.9",
|
2022-08-05 08:39:29 +00:00
|
|
|
"vite-plugin-compression": "^0.5.1"
|
2021-07-01 18:21:40 +00:00
|
|
|
}
|
|
|
|
}
|