forked from snapshot-labs/sx-starknet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 3.25 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
{
"name": "snapshot-x",
"version": "1.0.0",
"repository": "snapshot-labs/snapshot-x",
"license": "MIT",
"scripts": {
"compile:l1": "hardhat compile",
"compile:l2": "hardhat starknet-compile ./contracts/starknet/SpaceAccount.cairo --account-contract && hardhat starknet-compile ./contracts/starknet/SpaceFactory.cairo && hardhat starknet-compile ./contracts/starknet/**/",
"compile": "yarn compile:l1 && yarn compile:l2",
"deploy": "sh deploy.sh",
"test:l1": "yarn hardhat test test/ethereum/*.ts",
"test:l2": "yarn hardhat test test/starknet/*.ts --starknet-network 'starknetLocal'",
"test:l2:ci": "concurrently './scripts/chain-l2.sh' './scripts/test-l2.sh'",
"test:crosschain": "'./scripts/test-crosschain.sh'",
"test:crosschain:ci": "concurrently './scripts/chain.sh' './scripts/test-crosschain.sh'",
"deploy:goerli": "yarn hardhat run ./scripts/deployTestSpace.ts",
"chain:l1": "hardhat node",
"chain:l2": "starknet-devnet -p 8000 --lite-mode",
"chain": "concurrently 'yarn chain:l1' 'yarn chain:l2'",
"format:l1": "prettier --write 'contracts/**/*.sol'",
"check-format:l1": "prettier -c 'contracts/**/*.sol'",
"format:l2": "cairo-format -i --one_item_per_line contracts/starknet/**/*.cairo && cairo-format -i --one_item_per_line contracts/starknet/*.cairo",
"check-format:l2": "cairo-format -c --one_item_per_line contracts/starknet/**/*.cairo && cairo-format -c --one_item_per_line contracts/starknet/*.cairo",
"format:ts": "eslint . --ext .ts --fix",
"check-format:ts": "eslint . --ext .ts",
"format:json": "json-format ./deployments/*.json",
"format": "yarn format:l1 && yarn format:l2 && yarn format:ts && yarn format:json",
"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.1.5",
"@openzeppelin/contracts": "^4.7.3",
"@shardlabs/starknet-hardhat-plugin": "0.6.8",
"@snapshot-labs/sx": "0.1.0-beta.12",
"concurrently": "^7.4.0",
"starknet": "^4.4.2",
"wait-on": "^6.0.1"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.1.1",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@nomiclabs/hardhat-solhint": "^2.0.1",
"@nomiclabs/hardhat-waffle": "^2.0.2",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/hardhat": "^6.1.3",
"@types/chai": "^4.3.3",
"@types/mocha": "^9.1.0",
"@types/node": "^18.7.21",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"chai": "^4.3.5",
"dotenv": "^16.0.2",
"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": "^4.2.1",
"eslint-plugin-promise": "^6.0.1",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.7.1",
"hardhat": "^2.11.2",
"hardhat-gas-reporter": "^1.0.9",
"json-format-cli": "^1.1.1",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-dev.23",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.8.2",
"ts-node": "^10.9.1",
"typechain": "^8.1.0",
"typescript": "^4.8.3"
}
}