-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
110 lines (110 loc) · 4.37 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "bcnmy-nexus",
"description": "Nexus - ERC7579 Modular Smart Account",
"version": "1.0.1",
"author": {
"name": "Biconomy",
"url": "https://github.com/bcnmy"
},
"devDependencies": {
"account-abstraction": "https://github.com/eth-infinitism/account-abstraction#v0.7.0",
"erc7739-validator-base": "https://github.com/erc7579/erc7739Validator#v1.0.0",
"sentinellist": "github:rhinestonewtf/sentinellist#v1.0.0",
"forge-std": "github:foundry-rs/forge-std#v1.8.2",
"solady": "github:vectorized/solady#v0.0.271",
"solarray": "github:sablier-labs/solarray",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.6",
"@nomicfoundation/hardhat-ethers": "^3.0.6",
"@nomicfoundation/hardhat-foundry": "^1.1.2",
"@nomicfoundation/hardhat-network-helpers": "^1.0.10",
"@nomicfoundation/hardhat-toolbox": "^4.0.0",
"@nomicfoundation/hardhat-verify": "^2.0.7",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@typechain/ethers-v6": "^0.5.1",
"@typechain/hardhat": "^9.1.0",
"@types/chai": "^4.3.16",
"@types/mocha": ">=10.0.6",
"@types/node": ">=20.12.12",
"chai": "^4.3.7",
"codecov": "^3.8.3",
"ethers": "^6.12.1",
"hardhat": "^2.22.4",
"hardhat-deploy": "^0.12.4",
"hardhat-deploy-ethers": "^0.4.2",
"hardhat-gas-reporter": "^1.0.10",
"hardhat-storage-layout": "^0.1.7",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"prettier-plugin-solidity": "^1.3.1",
"solhint": "^5.0.1",
"solhint-plugin-prettier": "^0.1.0",
"solidity-coverage": "^0.8.12",
"ts-node": ">=10.9.2",
"typechain": "^8.3.2",
"dotenv": "^16.4.5",
"typescript": ">=5.4.5"
},
"keywords": [
"nexus",
"erc7579",
"erc-7579",
"modular smart account",
"smart account",
"account abstraction",
"erc4337",
"erc7579",
"erc-7579",
"modular smart account",
"smart account",
"account abstraction",
"erc4337",
"blockchain",
"ethereum",
"forge",
"foundry",
"hardhat",
"smart-contracts",
"solidity"
],
"private": true,
"scripts": {
"prepare": "husky",
"clean:forge": "forge clean",
"clean:hardhat": "yarn hardhat clean",
"clean": "yarn run clean:forge && yarn run clean:hardhat && rm -rf cache docs coverage storageLayout coverage.json",
"build:forge": "forge build",
"build:hardhat": "yarn hardhat compile",
"build": "yarn run build:forge && yarn run build:hardhat",
"test:forge": "forge test",
"test:hardhat": "yarn hardhat test",
"test": "yarn run test:hardhat && yarn run test:forge",
"test:gas:forge": "forge test --gas-report",
"test:gas:hardhat": "REPORT_GAS=true hardhat test",
"test:gas": "yarn test:gas:hardhat && yarn test:gas:forge",
"gas-report": "node scripts/foundry/generateGasReport.js",
"coverage:forge": "FOUNDRY_PROFILE=coverage forge coverage --no-match-coverage 'test|mocks'",
"coverage:hardhat": "SHOULD_ENABLE_VIA_IR=false yarn hardhat coverage",
"coverage": "yarn run coverage:forge && yarn run coverage:hardhat",
"coverage:report": "scripts/foundry/generate_coverage_report.sh && yarn run coverage:hardhat",
"docs": "yarn hardhat docgen",
"check-storage": "yarn hardhat check",
"deploy:hardhat": "yarn hardhat run scripts/hardhat/deploy.ts",
"deploy:hardhat:mainnet": "yarn hardhat run scripts/hardhat/deploy:mainnet.ts",
"deploy:forge": "forge script scripts/solidity/Deploy.s.sol --broadcast --rpc-url http://localhost:8545",
"lint:sol": "yarn solhint 'contracts/**/*.sol'",
"lint:sol-fix": "yarn prettier --write 'contracts/**/*.sol' && yarn solhint 'contracts/**/*.sol' --fix --noPrompt",
"lint:ts": "yarn prettier --check 'test/**/*.ts' 'scripts/**/*.ts'",
"lint:ts-fix": "yarn prettier --write 'test/**/*.ts' 'scripts/**/*.ts'",
"lint": "yarn run lint:sol && yarn run lint:ts",
"lint:fix": "yarn run lint:sol-fix && yarn run lint:ts-fix",
"check-branch-name": "node scripts/git-hooks/checkBranchNames.js",
"generate-and-push-gas-report": "yarn run gas-report && git add gas_report.md && git commit -m 'Update gas report' || echo 'No changes to gas report'"
},
"husky": {
"hooks": {
"pre-push": "yarn run check-branch-name && yarn run lint:fix && yarn run generate-and-push-gas-report",
"post-checkout": "yarn run check-branch-name && yarn install && forge install"
}
},
"packageManager": "[email protected]"
}