-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
70 lines (70 loc) · 3.11 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
{
"name": "@zk-email/email-recovery",
"version": "1.0.4",
"description": "Smart account module and related contracts to enable email recovery for validators",
"license": "MIT",
"author": {
"name": "email-recovery",
"url": "https://prove.email/"
},
"scripts": {
"build": "forge build",
"build:optimized": "FOUNDRY_PROFILE=optimized forge build",
"clean": "rm -rf artifacts broadcast cache docs out out-optimized out-svg",
"gas:report": "forge test --gas-report --mp \"./test/integration/**/*.sol\"",
"gas:snapshot": "forge snapshot --mp \"./test/integration/**/*.sol\"",
"gas:snapshot:optimized": "pnpm run build:optimized && FOUNDRY_PROFILE=test-optimized forge snapshot --mp \"./test/integration/**/*.sol\"",
"lint": "forge fmt --check && pnpm solhint \"{script,src,test}/**/*.sol\"",
"prepack": "pnpm install",
"prettier:check": "prettier --check \"**/*.{json,md,svg,yml}\"",
"prettier:write": "prettier --write \"**/*.{json,md,svg,yml}\"",
"test": " COMMAND_HANDLER_TYPE=0 forge test --match-path \"test/**/*.sol\"",
"test:email-recovery-command-handler": "COMMAND_HANDLER_TYPE=0 forge test --match-path \"test/**/*.sol\" ",
"test:address-hiding-command-handler": "COMMAND_HANDLER_TYPE=1 forge test --match-path \"test/**/*.sol\"",
"test:safe-email-recovery-command-handler": "ACCOUNT_TYPE=SAFE COMMAND_HANDLER_TYPE=0 forge test --match-path \"test/**/*.sol\" ",
"test:safe-address-hiding-command-handler": "ACCOUNT_TYPE=SAFE COMMAND_HANDLER_TYPE=1 forge test --match-path \"test/**/*.sol\"",
"test:safe-recovery-command-handler": "ACCOUNT_TYPE=SAFE COMMAND_HANDLER_TYPE=2 forge test --match-path \"test/**/*.sol\"",
"test:all": "pnpm test:email-recovery-command-handler && pnpm test:address-hiding-command-handler && pnpm test:safe-recovery-command-handler",
"test:all-safe": "pnpm test:safe-email-recovery-command-handler && pnpm test:safe-address-hiding-command-handler && pnpm test:safe-recovery-command-handler",
"test:script": "forge test --match-path script/test/**/*.sol --threads 1",
"test:lite": "FOUNDRY_PROFILE=lite forge test",
"test:optimized": "pnpm run build:optimized && FOUNDRY_PROFILE=test-optimized forge test"
},
"dependencies": {
"@matterlabs/era-contracts": "github:matter-labs/era-contracts",
"@openzeppelin/contracts-upgradeable": "5.0.1",
"@rhinestone/modulekit": "0.4.13",
"@zk-email/contracts": "6.3.2",
"@zk-email/ether-email-auth-contracts": "1.0.2",
"solidity-stringutils": "github:LayerZero-Labs/solidity-stringutils"
},
"pnpm": {
"overrides": {
"erc7579": "github:erc7579/erc7579-implementation#b3f8bcb2df3aae3217213ffa8b7a87c1eb42ec56"
}
},
"files": [
"src",
"test",
"script",
"package.json",
"foundry.toml",
"remappings.txt"
],
"repository": {
"type": "git",
"url": "git+https://github.com/zkemail/email-recovery.git"
},
"bugs": {
"url": "https://github.com/zkemail/email-recovery/issues"
},
"keywords": [
"zk email",
"recovery",
"account abstraction",
"smart account modules"
],
"publishConfig": {
"access": "public"
}
}