-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
64 lines (64 loc) · 3.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
{
"name": "lens-contracts",
"description": "The lens v3 contracts",
"private": true,
"author": "avara",
"license": "UNLICENSED. Copyright (C) 2024 Lens Labs. All Rights Reserved.",
"scripts": {
"deploy": "hardhat compile && hardhat deploy-zksync --script deploy.ts",
"deploy:single": "hardhat compile && hardhat deploy-zksync --script deploySingleContract.ts",
"deploy:upgradeSingle": "hardhat compile && hardhat deploy-zksync --script upgradeSingleContract.ts",
"deploy:fr": "hardhat compile && DEPLOY_FR=true hardhat deploy-zksync --script deploy.ts",
"deploy:migration": "hardhat compile && DEPLOY_MIGRATION=true hardhat deploy-zksync --script deploy.ts",
"deploy:migration:fr": "hardhat compile && DEPLOY_MIGRATION=true DEPLOY_FR=true hardhat deploy-zksync --script deploy.ts",
"deploy:local": "hardhat compile && hardhat deploy-zksync --script deploy.ts --network inMemoryNode",
"deploy:local:single": "hardhat compile && hardhat deploy-zksync --script deploySingleContract.ts --network inMemoryNode",
"deploy:local:upgradeSingle": "hardhat compile && hardhat deploy-zksync --script upgradeSingleContract.ts --network inMemoryNode",
"deploy:local:fr": "hardhat compile && DEPLOY_FR=true hardhat deploy-zksync --script deploy.ts --network inMemoryNode",
"deploy:local:migration": "hardhat compile && DEPLOY_MIGRATION=true hardhat deploy-zksync --script deploy.ts --network inMemoryNode",
"deploy:local:migration:fr": "hardhat compile && DEPLOY_MIGRATION=true DEPLOY_FR=true hardhat deploy-zksync --script deploy.ts --network inMemoryNode",
"deploy:zkstack::migration": "hardhat compile &&DEPLOY_MIGRATION=true DEPLOY_FR=true hardhat deploy-zksync --script deploy.ts --network zkstackMigrationNode",
"interact": "hardhat deploy-zksync --script interact.ts",
"compile": "hardhat compile",
"clean": "hardhat clean",
"test": "hardhat test --network hardhat",
"coverage": "forge coverage",
"coverage:report": "bash coverage.sh",
"prepare": "husky",
"format": "forge fmt",
"prod:abis": "npm run abis && cp -r out/abis ./ABIs",
"abis": "forge build --out ./out/__ABIS__ --skip 'test/**/*.sol' --extra-output-files abi && ts-node ./parseAbisToBackendFolders.ts",
"bind": "forge bind --bindings-path ./out/__BINDINGS__ --alloy --skip 'test/**/*.sol'",
"build-and-bind": "npm run bind && npm run abis"
},
"devDependencies": {
"@matterlabs/hardhat-zksync": "^1.1.0",
"@matterlabs/zksync-contracts": "^0.6.1",
"@nomicfoundation/hardhat-ethers": "^3.0.8",
"@nomicfoundation/hardhat-foundry": "^1.1.2",
"@nomicfoundation/hardhat-verify": "^2.0.9",
"@openzeppelin/contracts": "^4.9.2",
"@openzeppelin/hardhat-upgrades": "^3.9.0",
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.7",
"chai": "^4.5.0",
"dotenv": "^16.4.5",
"ethers": "^6.13.2",
"hardhat": "^2.22.7",
"hardhat-contract-sizer": "^2.10.0",
"husky": "^9.1.5",
"lint-staged": "^15.2.10",
"mocha": "^10.7.0",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
"zksync-ethers": "^6.11.0"
},
"lint-staged": {
"**/*.sol": "forge fmt"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
"dependencies": {
"hardhat-ignore-warnings": "^0.2.12",
"solady": "^0.1.8"
}
}