Files
linea-monorepo/contracts/package.json
2024-12-16 05:26:46 -08:00

59 lines
2.2 KiB
JSON

{
"name": "contracts",
"engines": {
"node": ">=20",
"pnpm": ">=9"
},
"scripts": {
"build": "TS_NODE_TRANSPILE_ONLY=1 npx hardhat compile",
"test": "npm run autoupdate && npx hardhat test",
"test:reportgas": "REPORT_GAS=true npx hardhat test",
"coverage": "npm run autoupdate && npx hardhat coverage --solcoverjs ./.solcover.js",
"autoupdate": "cd ../prover && cmd/dev-tools/testcase-gen/compression-aggregation/autoupdate.sh && cd ../contracts",
"balance": "ts-node scripts/balanceOf.ts",
"prettier": "prettier -c '**/*.{js,ts,sol}'",
"prettier:fix": "prettier -w '**/*.{js,ts,sol}'",
"lint:sol": "solhint 'contracts/**/*.sol'",
"lint:sol:fix": "solhint --fix --noPrompt 'contracts/**/*.sol'",
"lint:ts": "npx eslint '**/*.{js,ts}'",
"lint:ts:fix": "npx eslint --fix '**/*.{js,ts}'",
"lint": "pnpm run lint:sol && npm run lint:ts && npm run prettier",
"lint:fix": "pnpm run lint:sol:fix && npm run lint:ts:fix && npm run prettier:fix",
"clean": "rimraf .openzeppelin build cache node_modules typechain-types coverage coverage.json"
},
"devDependencies": {
"@ethereumjs/util": "9.0.3",
"@nomicfoundation/hardhat-ethers": "3.0.5",
"@nomicfoundation/hardhat-foundry": "1.1.3",
"@nomicfoundation/hardhat-network-helpers": "1.0.10",
"@nomicfoundation/hardhat-toolbox": "4.0.0",
"@nomicfoundation/hardhat-verify": "1.1.1",
"@openzeppelin/contracts": "4.9.6",
"@openzeppelin/contracts-upgradeable": "4.9.6",
"@openzeppelin/hardhat-upgrades": "2.5.1",
"@safe-global/protocol-kit": "3.0.2",
"@safe-global/safe-core-sdk-types": "4.0.2",
"@typechain/hardhat": "9.1.0",
"@types/diff": "5.2.0",
"@types/yargs": "17.0.32",
"c-kzg": "2.1.2",
"chai": "4.1.1",
"colors": "1.4.0",
"csv-parser": "3.0.0",
"dotenv": "16.4.5",
"edit-json-file": "1.8.0",
"ethers": "6.12.0",
"hardhat": "2.22.17",
"hardhat-deploy": "0.12.4",
"hardhat-storage-layout": "0.1.7",
"hardhat-tracer": "2.8.2",
"node-gyp": "10.1.0",
"prettier-plugin-solidity": "1.3.1",
"solhint": "4.5.4",
"yargs": "17.7.2"
},
"dependencies": {
"solidity-docgen": "0.6.0-beta.36"
}
}