mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-08 03:43:56 -05:00
* initial tsconfig.json consolidation * consolidate skipLibCheck * more consolidate tsconfig.json * remove strict duplicates * remove strict duplicates * removed lib * more changes * more changes * more changes * centralize noEmit * run pnpm dedupe * catalog for ethers and dotenv * Revert "catalog for ethers and dotenv" This reverts commit 8fc18db1c6f754ecbf1b175b34f6ebf08837068a. * first catalog * added more dependencies to catalog * apply catalog to many dev dependencies * ethers in catalog * finetune ethers version * fixes * empty
59 lines
2.3 KiB
JSON
59 lines
2.3 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 -f stylish 'src/**/*.sol'",
|
|
"lint:sol:fix": "solhint --fix --noPrompt -f stylish 'src/**/*.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",
|
|
"solidity:docgen": "command -v forge && npx hardhat docgen || echo 'Foundry installation required for Solidity docgen, skipping...'"
|
|
},
|
|
"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": "catalog:",
|
|
"c-kzg": "2.1.2",
|
|
"chai": "4.1.1",
|
|
"colors": "1.4.0",
|
|
"csv-parser": "3.0.0",
|
|
"dotenv": "catalog:",
|
|
"edit-json-file": "1.8.0",
|
|
"ethers": "catalog:",
|
|
"hardhat": "2.24.0",
|
|
"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.4.2",
|
|
"solhint": "5.0.5",
|
|
"solidity-coverage": "0.8.16",
|
|
"solidity-docgen": "0.6.0-beta.36",
|
|
"yargs": "catalog:"
|
|
}
|
|
}
|