This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 106
/
package.json
78 lines (78 loc) · 2.9 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
{
"name": "system-contracts",
"version": "0.1.0",
"repository": "git@github.com:matter-labs/system-contracts.git",
"license": "MIT",
"dependencies": {
"@matterlabs/hardhat-zksync-deploy": "^0.6.5",
"@nomiclabs/hardhat-solpp": "^2.0.1",
"commander": "^9.4.1",
"ethers": "^5.7.0",
"hardhat": "=2.16.0",
"preprocess": "^3.2.0",
"zksync-web3": "^0.14.3"
},
"devDependencies": {
"@matterlabs/eslint-config-typescript": "^1.1.2",
"@matterlabs/hardhat-zksync-chai-matchers": "^0.1.4",
"@matterlabs/hardhat-zksync-solc": "^0.4.2",
"@matterlabs/prettier-config": "^1.0.3",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.3",
"@nomiclabs/hardhat-ethers": "^2.0.6",
"@typechain/ethers-v5": "^10.0.0",
"@typechain/hardhat": "^7.0.0",
"@types/chai": "^4.3.1",
"@types/lodash": "^4.14.199",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.34",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"chai": "^4.3.6",
"eslint": "^8.51.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"lodash": "^4.17.21",
"markdownlint-cli": "^0.33.0",
"mocha": "^10.0.0",
"prettier": "^3.0.3",
"prettier-plugin-solidity": "^1.1.3",
"solhint": "^3.6.2",
"template-file": "^6.0.1",
"ts-generator": "^0.1.1",
"ts-node": "^10.7.0",
"typechain": "^8.1.1",
"typescript": "^4.6.4"
},
"mocha": {
"timeout": 240000,
"exit": true,
"color": false,
"slow": 0,
"require": [
"ts-node/register"
]
},
"scripts": {
"build": "yarn build:sol && yarn build:yul",
"build:sol": "hardhat compile",
"build:yul": "yarn preprocess:yul && yarn compile-yul",
"calculate-hashes:check": "ts-node scripts/calculate-hashes.ts --check-only",
"calculate-hashes:fix": "ts-node scripts/calculate-hashes.ts",
"clean": "yarn clean:sol && yarn clean:yul",
"clean:sol": "hardhat clean",
"clean:yul": "rm -rf ./bootloader/build ./bootloader/tests/artifacts ./contracts/artifacts ./contracts/precompiles/artifacts",
"compile-yul": "ts-node scripts/compile-yul.ts",
"deploy-preimages": "ts-node scripts/deploy-preimages.ts",
"lint:check": "yarn lint:md && yarn lint:sol && yarn lint:ts && yarn prettier:check",
"lint:fix": "yarn lint:md --fix && yarn lint:sol --fix && yarn lint:ts --fix && yarn prettier:fix",
"lint:md": "markdownlint \"**/*.md\"",
"lint:sol": "solhint \"contracts/**/*.sol\"",
"lint:ts": "eslint .",
"preprocess:yul": "rm -rf ./bootloader/build && yarn ts-node scripts/process.ts",
"prettier:check": "prettier --check \"**/*.{js,json,md,sol,ts,yaml}\"",
"prettier:fix": "prettier --write \"**/*.{js,json,md,sol,ts,yaml}\"",
"test": "hardhat test --network zkSyncTestNode",
"test:bootloader": "cd bootloader/test_infra && cargo run"
}
}