-
Notifications
You must be signed in to change notification settings - Fork 374
/
Copy pathpackage.json
151 lines (151 loc) · 6.77 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"name": "@celo/protocol",
"version": "1.0.2",
"private": true,
"main": "index.ts",
"author": "Celo",
"license": "LGPL-3.0",
"scripts": {
"lint:ts": "yarn run --top-level eslint .",
"lint:sol": "solhint --version && solhint './contracts/**/*.sol' && solhint './contracts-0.8/**/*.sol'",
"lint": "yarn run lint:ts && yarn run lint:sol",
"clean": "rm -rf ./types/typechain && rm -rf build/* && rm -rf .0x-artifacts/* && rm -rf migrations/*.js* && rm -rf migrations_ts/*.js* && rm -rf test/**/*.js* && rm -f lib/*.js* && rm -f lib/**/*.js* && rm -f scripts/*.js* && yarn clean:foundry",
"clean:foundry": "rm -rf cache out",
"test": "rm test/**/*.js ; node runTests.js",
"test:scripts": "yarn ts-node scripts/run-scripts-tests.ts --testPathPattern=scripts/",
"quicktest": "./scripts/bash/quicktest.sh",
"test:coverage": "yarn run test --coverage",
"ci:test-make-release": "./scripts/bash/release-on-devchain.sh",
"test:release-snapshots": "./scripts/bash/release-snapshots.sh",
"test:generate-old-devchain-and-build": "./scripts/bash/generate-old-devchain-and-build.sh",
"build:ts": "rm -f migrations/*.js* && yarn ts-node --preferTsExts ./scripts/build.ts --truffleTypes ./types/typechain && tsc -b && mv migrations_ts/*.js* migrations",
"gas": "yarn run test --gas",
"pull-submodules": "git submodule update --init --recursive",
"delete-submodules": "rm -rf $(git submodule | awk '{ print $2 }')",
"build:sol": "yarn pull-submodules && mkdir -p migrations && yarn ts-node --preferTsExts ./scripts/build.ts --solidity ${BUILD_DIR:-./build}",
"build": "yarn build:sol && yarn build:ts",
"prebuild": "rm -rf ./build",
"determine-release-version": "yarn --silent ts-node --preferTsExts ./scripts/determine-release-version.ts",
"prepare_contracts_and_abis_publishing": "yarn ts-node --preferTsExts ./scripts/prepare-contracts-and-abis-publishing.ts",
"prepare_devchain_anvil_publishing": "yarn ts-node --preferTsExts ./scripts/change-anvil-devchain-package-version.ts",
"validate_abis_exports": "yarn ts-node --preferTsExts ./scripts/validate-abis-package.ts",
"sourcify-publish": "yarn ts-node ./scripts/sourcify-publish.ts",
"migrate": "./scripts/bash/migrate.sh",
"set_block_gas_limit": "./scripts/bash/set_block_gas_limit.sh",
"download-artifacts": "./scripts/bash/download_artifacts.sh",
"init-network": "./scripts/bash/init_network.sh",
"upload-artifacts": "./scripts/bash/upload_artifacts.sh",
"upgrade": "./scripts/bash/upgrade.sh",
"revoke": "./scripts/bash/revoke.sh",
"govern": "./scripts/bash/govern.sh",
"console": "./scripts/bash/console.sh",
"check-versions": "./scripts/bash/check-versions.sh",
"check-opcodes": "yarn ts-node scripts/check-opcodes.ts",
"make-release": "./scripts/bash/make-release.sh",
"verify-deployed": "./scripts/bash/verify-deployed.sh",
"verify-release": "./scripts/bash/verify-release.sh",
"size:onchain": "./scripts/bash/get_smart_contract_size_from_onchain_address.sh",
"size:artifacts": "./scripts/bash/get_smart_contract_size_from_build_artifacts.sh",
"ganache-dev": "./scripts/bash/ganache.sh",
"ganache-devchain": "./scripts/bash/ganache_devchain.sh",
"truffle:migrate": "truffle migrate",
"devchain": "yarn ts-node scripts/devchain.ts",
"devchain:reset": "yarn devchain generate-tar .tmp/devchain.tar.gz --upto 29",
"anvil-devchain:start": "./scripts/foundry/create_and_migrate_anvil_devchain.sh",
"anvil-devchain:stop": "./scripts/foundry/stop_anvil.sh",
"view-tags": "git for-each-ref 'refs/tags/core-contracts.*' --sort=-committerdate --format='%(color:magenta)%(committerdate:short) %(color:blue)%(tree) %(color:green)github.com/celo-org/celo-monorepo/releases/tag/%(color:yellow)%(refname:short)'",
"generate-stabletoken-files": "yarn ts-node ./scripts/generate-stabletoken-files.ts",
"truffle-verify": "yarn truffle run verify",
"compare-git-tags": "./scripts/bash/compare-git-tags.sh"
},
"dependencies": {
"@0x/sol-compiler": "^4.8.3",
"@0x/sol-coverage": "^4.0.47",
"@0x/sol-profiler": "^4.1.37",
"@0x/sol-trace": "^3.0.47",
"@0x/subproviders": "^7.0.1",
"@celo/base": "^6.0.0",
"@celo/bls12377js": "0.1.1",
"@celo/connect": "^5.1.2",
"@celo/cryptographic-utils": "^5.0.7",
"@celo/utils": "^5.0.6",
"@celo/wallet-local": "^5.1.2",
"@ethereumjs/util": "8.0.5",
"@ethereumjs/vm": "npm:@celo/[email protected]",
"@ganache/console.log": "0.3.0",
"@openzeppelin/contracts8": "npm:@openzeppelin/contracts@^4.4.2",
"@openzeppelin/upgrades": "^2.8.0",
"@summa-tx/memview.sol": "^1.1.0",
"@truffle/artifactor": "4.0.180",
"@truffle/contract": "4.6.10",
"@truffle/resolver": "9.0.53",
"bignumber.js": "9.1.0",
"bip39": "https://github.com/bitcoinjs/bip39#d8ea080a18b40f301d4e2219a2991cd2417e83c2",
"bn.js": "^5.1.0",
"chai": "^4.3.6",
"chai-subset": "^1.6.0",
"chalk": "^2.4.2",
"csv-parser": "^2.0.0",
"csv-stringify": "^4.3.1",
"elliptic": "^6.5.4",
"ethereum-cryptography": "1.2.0",
"ethereumjs-abi": "^0.6.8",
"ethereumjs-wallet": "^0.6.3",
"form-data": "^3.0.0",
"fs-extra": "^5.0.0",
"ganache": "npm:@celo/[email protected]",
"glob-fs": "^0.1.7",
"graphql": "^14.1.1",
"j6": "^1.0.2",
"lodash": "^4.17.21",
"mathjs": "^5.0.4",
"minimist": "^1.2.0",
"node-fetch": "^2.6.9",
"openzeppelin-solidity": "^2.5.0",
"prompts": "^2.0.1",
"solhint": "^4.5.4",
"semver": "^7.5.4",
"solidity-bytes-utils": "0.0.7",
"truffle": "5.9.0",
"truffle-security": "^1.7.3",
"weak-map": "^1.0.5",
"web3": "1.10.0",
"web3-core": "1.10.0",
"web3-core-helpers": "1.10.0",
"web3-provider-engine": "^16.0.5",
"web3-utils": "1.10.0",
"truffle-plugin-verify": "^0.6.5"
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.3",
"@celo/dev-utils":"^0.0.3",
"@celo/typechain-target-web3-v1-celo": "^1.0.0",
"@celo/typescript": "0.0.2",
"@jest/globals": "^29.5.0",
"@types/bn.js": "^5.1.0",
"@types/chai": "^4.1.3",
"@types/chai-subset": "1.3.5",
"@types/jest": "^29.1.1",
"@types/lodash": "^4.14.199",
"@types/mathjs": "^4.4.1",
"@types/mocha": "^7.0.2",
"@types/targz": "^1.0.0",
"@types/tmp": "^0.1.0",
"@types/yargs": "^13.0.2",
"@wagmi/cli": "^1.0.1",
"cross-env": "^5.1.6",
"eth-gas-reporter": "^0.2.16",
"jest": "^29.0.2",
"merkle-patricia-tree": "4.0.0",
"rimraf": "^5.0.5",
"targz": "^1.0.1",
"tmp": "^0.1.0",
"truffle-typings": "^1.0.6",
"ts-node": "^10.9.2",
"ts-generator": "^0.0.8",
"typechain": "^4.0.3",
"typechain-target-truffle": "^1.0.2",
"typechain-target-ethers-v5": "^5.0.1",
"yargs": "^14.0.0"
}
}