88 lines
3.4 KiB
JSON
88 lines
3.4 KiB
JSON
{
|
|
"name": "otterscan",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@blackbox-vision/react-qr-reader": "^5.0.0",
|
|
"@chainlink/contracts": "^0.4.0",
|
|
"@craco/craco": "^6.4.3",
|
|
"@fontsource/fira-code": "^4.5.5",
|
|
"@fontsource/roboto": "^4.5.3",
|
|
"@fontsource/roboto-mono": "^4.5.3",
|
|
"@fontsource/space-grotesk": "^4.5.3",
|
|
"@fortawesome/fontawesome-svg-core": "^6.1.1",
|
|
"@fortawesome/free-brands-svg-icons": "^6.1.1",
|
|
"@fortawesome/free-regular-svg-icons": "^6.1.1",
|
|
"@fortawesome/free-solid-svg-icons": "^6.1.1",
|
|
"@fortawesome/react-fontawesome": "^0.1.18",
|
|
"@headlessui/react": "^1.5.0",
|
|
"@testing-library/jest-dom": "^5.16.2",
|
|
"@testing-library/react": "^11.1.0",
|
|
"@testing-library/user-event": "^12.1.10",
|
|
"@types/jest": "^26.0.24",
|
|
"@types/node": "^16.11.14",
|
|
"@types/react": "^17.0.41",
|
|
"@types/react-blockies": "^1.4.1",
|
|
"@types/react-dom": "^17.0.13",
|
|
"@types/react-highlight": "^0.12.5",
|
|
"@types/react-syntax-highlighter": "^13.5.2",
|
|
"chart.js": "^3.7.1",
|
|
"ethers": "^5.6.1",
|
|
"highlightjs-solidity": "^2.0.5",
|
|
"react": "^17.0.2",
|
|
"react-blockies": "^1.4.1",
|
|
"react-chartjs-2": "^4.0.0",
|
|
"react-dom": "^17.0.2",
|
|
"react-error-boundary": "^3.1.4",
|
|
"react-helmet-async": "^1.2.3",
|
|
"react-image": "^4.0.3",
|
|
"react-router-dom": "^6.2.2",
|
|
"react-scripts": "4.0.3",
|
|
"react-syntax-highlighter": "^15.5.0",
|
|
"serve": "^13.0.2",
|
|
"swr": "^1.2.2",
|
|
"typescript": "^4.6.2",
|
|
"use-keyboard-shortcut": "^1.1.4",
|
|
"web-vitals": "^1.0.1"
|
|
},
|
|
"scripts": {
|
|
"start": "craco start",
|
|
"build": "craco build && compress-cra",
|
|
"test": "craco test",
|
|
"eject": "react-scripts eject",
|
|
"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)/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)/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_BUILDKIT=1 docker build -t otterscan -f Dockerfile .",
|
|
"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": {
|
|
"autoprefixer": "^9.8.8",
|
|
"compress-create-react-app": "^1.2.1",
|
|
"postcss": "^7.0.39",
|
|
"source-map-explorer": "^2.5.2",
|
|
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.6"
|
|
}
|
|
}
|