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-09-03 14:16:56 +00:00
|
|
|
"@fontsource/space-grotesk": "^4.5.10",
|
2022-09-03 13:54:30 +00:00
|
|
|
"@fortawesome/fontawesome-svg-core": "^6.2.0",
|
2022-09-03 14:06:41 +00:00
|
|
|
"@fortawesome/free-brands-svg-icons": "^6.2.0",
|
2022-09-03 14:00:20 +00:00
|
|
|
"@fortawesome/free-regular-svg-icons": "^6.2.0",
|
2022-09-03 14:11:26 +00:00
|
|
|
"@fortawesome/free-solid-svg-icons": "^6.2.0",
|
2022-06-29 17:59:14 +00:00
|
|
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
2022-10-01 18:52:34 +00:00
|
|
|
"@headlessui/react": "^1.7.3",
|
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-09-06 18:48:34 +00:00
|
|
|
"@testing-library/react": "^13.4.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-09-27 17:38:17 +00:00
|
|
|
"@types/node": "^16.11.62",
|
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-09-03 14:26:32 +00:00
|
|
|
"@types/react-syntax-highlighter": "^15.5.5",
|
2022-08-06 19:20:03 +00:00
|
|
|
"chart.js": "^3.9.1",
|
2022-10-20 19:17:33 +00:00
|
|
|
"ethers": "^5.7.2",
|
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-09-24 19:21:59 +00:00
|
|
|
"react-router-dom": "^6.4.1",
|
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-10-01 18:52:57 +00:00
|
|
|
"typescript": "^4.8.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-09-06 18:46:08 +00:00
|
|
|
"@vitejs/plugin-react": "^2.1.0",
|
2022-09-21 17:56:13 +00:00
|
|
|
"autoprefixer": "^10.4.12",
|
2022-08-08 00:39:37 +00:00
|
|
|
"postcss": "^8.4.16",
|
2022-09-27 17:38:34 +00:00
|
|
|
"source-map-explorer": "^2.5.3",
|
2022-08-08 00:39:37 +00:00
|
|
|
"tailwindcss": "^3.1.8",
|
2022-10-01 18:53:14 +00:00
|
|
|
"vite": "^3.1.4",
|
2022-08-05 08:39:29 +00:00
|
|
|
"vite-plugin-compression": "^0.5.1"
|
2021-07-01 18:21:40 +00:00
|
|
|
}
|
|
|
|
}
|