{ "name": "block-scout", "version": "0.1.0", "private": true, "homepage": "https://github.com/blockscout/frontend#readme", "engines": { "node": "16", "npm": "8" }, "scripts": { "dev": "next dev", "dev:local": "./node_modules/.bin/dotenv -e ./configs/envs/.env.localhost -e ./configs/envs/.env.secrets next dev | ./node_modules/.bin/pino-pretty", "dev:poa_core": "./node_modules/.bin/dotenv -e ./configs/envs/.env.poa_core -e ./configs/envs/.env.common -e ./configs/envs/.env.secrets next dev | ./node_modules/.bin/pino-pretty", "dev:goerli": "./node_modules/.bin/dotenv -e ./configs/envs/.env.goerli -e ./configs/envs/.env.common -e ./configs/envs/.env.secrets next dev | ./node_modules/.bin/pino-pretty", "dev:goerli:optimism": "./node_modules/.bin/dotenv -e ./configs/envs/.env.goerli.optimism -e ./configs/envs/.env.common -e ./configs/envs/.env.secrets next dev | ./node_modules/.bin/pino-pretty", "build": "next build", "build:docker": "docker build --build-arg GIT_COMMIT_SHA=$(git rev-parse HEAD) -t blockscout ./", "start": "next start", "start:docker:poa_core": "docker run -p 3000:3000 --env-file ./configs/envs/.env.common --env-file ./configs/envs/.env.poa_core --env-file ./configs/envs/.env.secrets blockscout", "lint:eslint": "./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx", "lint:eslint:fix": "./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx --fix", "lint:tsc": "./node_modules/.bin/tsc -p ./tsconfig.json", "prepare": "husky install", "format-svg": "./node_modules/.bin/svgo -r ./icons", "test:pw": "./playwright/make-envs-script.sh && NODE_OPTIONS=\"--max-old-space-size=4096\" playwright test -c playwright-ct.config.ts", "test:pw:local": "export NODE_PATH=$(pwd)/node_modules && yarn test:pw", "test:pw:docker": "docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.28.0-focal ./playwright/run-tests.sh", "test:jest": "jest", "test:jest:watch": "jest --watch" }, "dependencies": { "@chakra-ui/react": "2.4.3", "@chakra-ui/theme-tools": "^2.0.14", "@emotion/react": "^11.10.4", "@emotion/styled": "^11.10.4", "@metamask/providers": "^10.2.1", "@sentry/nextjs": "^7.12.1", "@sentry/react": "^7.24.0", "@sentry/tracing": "^7.24.0", "@tanstack/react-query": "^4.0.10", "@tanstack/react-query-devtools": "^4.0.10", "@types/papaparse": "^5.3.5", "@types/react-scroll": "^1.8.4", "@web3modal/ethereum": "^2.0.0-rc.2", "@web3modal/react": "^2.0.0-rc.2", "ace-builds": "^1.14.0", "bignumber.js": "^9.1.0", "chakra-react-select": "^4.4.3", "d3": "^7.6.1", "dayjs": "^1.11.5", "dom-to-image": "^2.6.0", "ethers": "^5.7.2", "framer-motion": "^6.5.1", "js-cookie": "^3.0.1", "lodash": "^4.0.0", "next": "12.2.5", "nextjs-routes": "^1.0.8", "node-fetch": "^3.2.9", "papaparse": "^5.3.2", "path-to-regexp": "^6.2.1", "phoenix": "^1.6.15", "pino-http": "^8.2.1", "pino-pretty": "^9.1.1", "qrcode": "^1.5.1", "react": "18.2.0", "react-ace": "^10.1.0", "react-dom": "18.2.0", "react-hook-form": "^7.33.1", "react-identicons": "^1.2.5", "react-jazzicon": "^1.0.4", "react-scroll": "^1.8.7", "use-font-face-observer": "^1.2.1", "wagmi": "^0.10.6" }, "devDependencies": { "@playwright/experimental-ct-react": "^1.28.0", "@svgr/webpack": "^6.5.1", "@testing-library/react": "^13.4.0", "@types/d3": "^7.4.0", "@types/dom-to-image": "^2.6.4", "@types/jest": "^29.2.0", "@types/js-cookie": "^3.0.2", "@types/node": "18.11.18", "@types/phoenix": "^1.5.4", "@types/qrcode": "^1.5.0", "@types/react": "18.0.9", "@types/react-dom": "18.0.5", "@types/ws": "^8.5.3", "@typescript-eslint/eslint-plugin": "^5.27.0", "dotenv-cli": "^6.0.0", "eslint": "^8.32.0", "eslint-config-next": "^12.3.0", "eslint-plugin-es5": "^1.5.0", "eslint-plugin-import-helpers": "^1.2.1", "eslint-plugin-jest": "^27.1.6", "eslint-plugin-playwright": "^0.11.2", "eslint-plugin-regexp": "^1.7.0", "husky": "^8.0.0", "jest": "^29.2.1", "jest-environment-jsdom": "^29.2.1", "lint-staged": ">=10", "mockdate": "^3.0.5", "playwright": "^1.28.0", "svgo": "^2.8.0", "ts-jest": "^29.0.3", "ts-node": "^10.9.1", "typescript": "4.8.2", "vite-plugin-svgr": "^2.2.2", "vite-tsconfig-paths": "^3.5.2", "ws": "^8.11.0" }, "lint-staged": { "*.{js,jsx,ts,tsx}": "eslint --cache --fix" } }