1+ {
2+ "name" : " @eth-optimism/contracts-bedrock" ,
3+ "version" : " 0.17.2" ,
4+ "description" : " Optimism Bedrock smart contracts" ,
5+ "main" : " forge-artifacts" ,
6+ "scripts" : {
7+ "build" : " pnpm compile" ,
8+ "build:forge" : " forge build" ,
9+ "build:go-ffi" : " cd ./scripts/go-ffi && go build" ,
10+ "clean" : " rm -rf ./artifacts ./forge-artifacts ./cache ./scripts/go-ffi/go-ffi ./deployments/hardhat/*" ,
11+ "pre-pr" : " pnpm clean && pnpm build && pnpm autogen:invariant-docs && pnpm test && pnpm lint:check" ,
12+ "compile" : " forge build" ,
13+ "test" : " forge test" ,
14+ "test:coverage" : " forge coverage" ,
15+ "test:fuzz" : " forge test --fuzz-runs 512" ,
16+ "deploy" : " forge script" ,
17+ "deploy:devnetL1" : " forge script scripts/Deploy.s.sol:Deploy --sig 'deployL1()' --rpc-url http://localhost:8545 --broadcast --private-key 0xdbda1821b80551c9d65939329250298aa3472ba22feea921c0cf5d620ea67b97" ,
18+ "slither" : " ./scripts/slither.sh" ,
19+ "clean:slither" : " rm -rf crytic-export/" ,
20+ "storage-snapshot" : " ./scripts/storage-snapshot.sh" ,
21+ "storage-snapshot:check" : " ./scripts/storage-snapshot.sh --check" ,
22+ "validate:codegen" : " ./scripts/validate-codegen.sh" ,
23+ "validate:deploy" : " ./scripts/validate-deploy.sh" ,
24+ "gas-snapshot" : " forge snapshot --no-storage-caching --isolate --optimize --optimizer-runs 999999" ,
25+ "gas-snapshot:check" : " forge snapshot --no-storage-caching --isolate --optimize --optimizer-runs 999999 --check" ,
26+ "autogen:invariant-docs" : " ts-node scripts/autogen/generate-invariant-docs.ts" ,
27+ "semver-lock" : " forge script scripts/SemverLock.s.sol" ,
28+ "validate:spacers" : " forge build && go run ./scripts/checks/spacers" ,
29+ "validate:deploy-configs" : " ./scripts/checks/check-deploy-configs.sh" ,
30+ "lint:ts:check" : " eslint . --max-warnings=0" ,
31+ "lint:contracts:check" : " forge fmt --check" ,
32+ "lint:check" : " pnpm lint:contracts:check && pnpm lint:ts:check" ,
33+ "lint:ts:fix" : " eslint --fix ." ,
34+ "lint:contracts:fix" : " forge fmt" ,
35+ "lint:fix" : " pnpm lint:contracts:fix && pnpm lint:ts:fix" ,
36+ "lint" : " pnpm lint:fix && pnpm lint:check" ,
37+ "typechain" : " typechain --target ethers-v5 --out-dir dist/types --glob 'artifacts/!(build-info)/**/+([a-zA-Z0-9_]).json'" ,
38+ "echidna:aliasing" : " echidna-test --contract EchidnaFuzzAddressAliasing --config ./echidna.yaml ." ,
39+ "echidna:burn:gas" : " echidna-test --contract EchidnaFuzzBurnGas --config ./echidna.yaml ." ,
40+ "echidna:burn:eth" : " echidna-test --contract EchidnaFuzzBurnEth --config ./echidna.yaml ." ,
41+ "echidna:encoding" : " echidna-test --contract EchidnaFuzzEncoding --config ./echidna.yaml ." ,
42+ "echidna:portal" : " echidna-test --contract EchidnaFuzzOptimismPortal --config ./echidna.yaml ." ,
43+ "echidna:hashing" : " echidna-test --contract EchidnaFuzzHashing --config ./echidna.yaml ." ,
44+ "echidna:metering" : " echidna-test --contract EchidnaFuzzResourceMetering --config ./echidna.yaml ."
45+ },
46+ "dependencies" : {
47+ "@eth-optimism/core-utils" : " ^0.12.0" ,
48+ "@openzeppelin/contracts" : " 4.7.3" ,
49+ "@openzeppelin/contracts-upgradeable" : " 4.7.3" ,
50+ "ethers" : " ^5.7.0" ,
51+ "hardhat" : " ^2.9.8"
52+ },
53+ "devDependencies" : {
54+ "@typescript-eslint/eslint-plugin" : " ^6.13.2" ,
55+ "@typescript-eslint/parser" : " ^6.13.2" ,
56+ "eslint" : " ^8.57.0" ,
57+ "eslint-config-prettier" : " ^9.1.0" ,
58+ "eslint-plugin-import" : " ^2.29.0" ,
59+ "eslint-plugin-prettier" : " ^4.0.0" ,
60+ "prettier" : " ^2.8.8" ,
61+ "ts-node" : " ^10.9.1" ,
62+ "typescript" : " ^5.3.3"
63+ }
64+ }
0 commit comments