86 lines
3.4 KiB
JSON
86 lines
3.4 KiB
JSON
{
|
|
"name": "otterscan",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@chainlink/contracts": "^0.4.2",
|
|
"@fontsource/fira-code": "^4.5.11",
|
|
"@fontsource/roboto": "^4.5.8",
|
|
"@fontsource/roboto-mono": "^4.5.8",
|
|
"@fontsource/space-grotesk": "^4.5.9",
|
|
"@fortawesome/fontawesome-svg-core": "^6.1.2",
|
|
"@fortawesome/free-brands-svg-icons": "^6.1.2",
|
|
"@fortawesome/free-regular-svg-icons": "^6.1.2",
|
|
"@fortawesome/free-solid-svg-icons": "^6.1.2",
|
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
"@headlessui/react": "^1.6.6",
|
|
"@otterscan/react-qr-reader": "^5.2.0",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@testing-library/react": "^13.3.0",
|
|
"@testing-library/user-event": "^12.1.10",
|
|
"@types/jest": "^26.0.24",
|
|
"@types/node": "^16.11.49",
|
|
"@types/react": "^18.0.15",
|
|
"@types/react-blockies": "^1.4.1",
|
|
"@types/react-dom": "^18.0.6",
|
|
"@types/react-highlight": "^0.12.5",
|
|
"@types/react-syntax-highlighter": "^15.5.4",
|
|
"chart.js": "^3.9.1",
|
|
"ethers": "^5.7.0",
|
|
"highlightjs-solidity": "^2.0.5",
|
|
"react": "^18.2.0",
|
|
"react-blockies": "^1.4.1",
|
|
"react-chartjs-2": "^4.3.1",
|
|
"react-dom": "^18.2.0",
|
|
"react-error-boundary": "^3.1.4",
|
|
"react-helmet-async": "^1.3.0",
|
|
"react-image": "^4.0.3",
|
|
"react-router-dom": "^6.3.0",
|
|
"react-syntax-highlighter": "^15.5.0",
|
|
"swr": "^1.3.0",
|
|
"typescript": "^4.7.4",
|
|
"use-keyboard-shortcut": "^1.1.4",
|
|
"web-vitals": "^1.0.1"
|
|
},
|
|
"scripts": {
|
|
"start": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"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",
|
|
"assets-stop": "docker stop otterscan-assets",
|
|
"docker-build": "docker buildx build -t otterscan .",
|
|
"docker-start": "docker run --rm -p 5000:80 --name otterscan -d otterscan",
|
|
"docker-stop": "docker stop otterscan"
|
|
},
|
|
"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": {
|
|
"@vitejs/plugin-react": "^2.0.1",
|
|
"autoprefixer": "^10.4.8",
|
|
"postcss": "^8.4.16",
|
|
"source-map-explorer": "^2.5.2",
|
|
"tailwindcss": "^3.1.8",
|
|
"vite": "^3.0.9",
|
|
"vite-plugin-compression": "^0.5.1"
|
|
}
|
|
}
|