forked from snapshot-labs/sx-starknet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 2.69 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
{
"name": "snapshot-x",
"version": "1.0.0",
"repository": "snapshot-labs/snapshot-x",
"license": "MIT",
"prettier": {
"semi": false
},
"scripts": {
"compile:l1": "hardhat compile",
"compile:l2": "hardhat starknet-compile",
"compile": "yarn compile:l1 && yarn compile:l2",
"deploy": "sh deploy.sh",
"test:l1": "yarn hardhat test test/ethereum/*.ts --network 'hardhat' --starknet-network 'starknetLocal'",
"test:l2": "yarn hardhat test test/starknet/*.ts --network 'hardhat' --starknet-network 'starknetLocal'",
"test:crosschain": "yarn hardhat test test/crosschain/*.ts --network 'ethereumLocal' --starknet-network 'starknetLocal'",
"test": "yarn test:l1 && yarn test:l2 && yarn test:crosschain",
"start:l1": "hardhat node",
"format:l1": "prettier --write 'contracts/**/*.sol'",
"check-format:l1": "prettier -c 'contracts/**/*.sol'",
"format:l2": "cairo-format -i contracts/starknet/**/*.cairo",
"check-format:l2": "cairo-format -c contracts/starknet/**/*.cairo",
"format:ts": "eslint . --ext .ts --fix",
"check-format:ts": "eslint . --ext .ts",
"format": "yarn format:l1 && yarn format:l2 && yarn format:ts",
"check-format": "yarn check-format:l1 && yarn check-format:l2 && yarn check-format:ts"
},
"dependencies": {
"@gnosis.pm/safe-contracts": "^1.3.0",
"@gnosis.pm/zodiac": "^1.0.3",
"ethereumjs-util": "^7.1.4",
"install": "^0.13.0",
"npm": "^8.6.0",
"starknet": "^2.5.1",
"sx-api": "snapshot-labs/sx-api",
"yargs": "^17.3.1"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.4",
"@nomiclabs/hardhat-etherscan": "^2.1.8",
"@nomiclabs/hardhat-solhint": "^2.0.0",
"@nomiclabs/hardhat-waffle": "^2.0.2",
"@shardlabs/starknet-hardhat-plugin": "^0.5.2",
"@typechain/ethers-v5": "^7.2.0",
"@typechain/hardhat": "^2.3.1",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"chai": "^4.3.5",
"dotenv": "^10.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-promise": "^5.2.0",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.6.0",
"hardhat": "^2.8.3",
"hardhat-gas-reporter": "^1.0.7",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.18",
"ts-node": "^10.7.0",
"typechain": "^5.2.0",
"typescript": "^4.5.5"
}
}