-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
43 lines (43 loc) · 1.64 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
{
"name": "sx-deploy",
"version": "1.0.0",
"description": "CLI for Snapshot X",
"repository": "https://github.com/snapshot-labs/sx-deploy.git",
"license": "MIT",
"dependencies": {
"@orland0x/sx-core": "0.1.0-beta.1",
"@snapshot-labs/sx": "^0.1.0-beta.13",
"@types/yargs": "^17.0.13",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"dotenv": "^16.0.3",
"eslint": "^8.26.0",
"eslint-plugin-prettier": "^4.2.1",
"ethers": "^5.7.2",
"json-bigint": "^1.0.0",
"json-format-cli": "^1.1.1",
"patch-package": "^6.5.0",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.7.1",
"starknet": "^4.9.0",
"ts-node": "^10.9.1",
"tsc": "^2.0.4",
"typescript": "^4.8.4",
"yargs": "^17.6.1"
},
"scripts": {
"chain:l2": "starknet-devnet -p 8000 --seed 1",
"declare-space": "starknet declare --contract ./node_modules/@orland0x/sx-core/starknet-artifacts/contracts/starknet/SpaceAccount.cairo/SpaceAccount.json",
"deploy-modules": "ts-node src/deploy/modules.ts",
"deploy-space": "ts-node src/deploy/space.ts",
"create-proposal": "ts-node src/interact/createProposal.ts",
"create-example-proposal": "ts-node src/interact/createProposal.ts -s ./deployments/local-space.json -a vanilla -v 0 -e vanilla -p 1 -m test",
"cast-example-vote": "ts-node src/interact/castVote.ts -s ./deployments/local-space.json -a vanilla -v 0 -p 1 -c FOR",
"format-json": "json-format ./deployments/*.json",
"format-ts": "eslint . --ext .ts --fix",
"format": "yarn format-json && yarn format-ts"
},
"yargs": {
"parse-numbers": false
}
}