-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
executable file
·84 lines (84 loc) · 3.54 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
{
"name": "staked-celo",
"version": "1.0.0",
"description": "A liquid staking derivative for CELO",
"repository": {
"url": "https://github.com/celo-org/staked-celo"
},
"devDependencies": {
"@anders-t/ethers-ledger": "^1.0.4",
"@celo/celo-devchain": "^7.0.0",
"@celo/connect": "^1.5.2",
"@celo/contractkit": "^4.1.0",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.13",
"@nomiclabs/hardhat-etherscan": "^3.1.6",
"@nomiclabs/hardhat-waffle": "^2.0.2",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/contracts": "^4.4.2",
"@openzeppelin/contracts-upgradeable": "^4.5.2",
"@typechain/ethers-v5": "^9.0.0",
"@typechain/hardhat": "^4.0.0",
"@typechain/truffle-v5": "^3.0.0",
"@types/chai": "^4.3.0",
"@types/fs-extra": "^9.0.13",
"@types/minimist": "^1.2.2",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.17",
"@types/yargs": "^17.0.10",
"chai": "^4.3.6",
"chalk": "4.1.2",
"dotenv": "^16.0.1",
"ethereum-waffle": "^3.4.0",
"ethereumjs-util": "^7.1.4",
"ethers": "^5.5.4",
"hardhat": "npm:@celo/[email protected]",
"husky": ">=6",
"lint-staged": ">=10",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "1.0.0-beta.19",
"solhint": "git+https://github.com/celo-org/solhint.git",
"solidity-bytes-utils": "0.0.7",
"ts-node": "^10.5.0",
"typechain": "^7.0.0",
"typescript": "^4.5.5",
"@celo/staked-celo-hardhat-deploy": "git+https://github.com/celo-org/staked-celo-hardhat-deploy.git",
"@celo/contract-compatibility-check": "git+https://github.com/celo-org/contract-compatibility-check.git#5b282d5274002db24c3251272ffca1bd38551632",
"web3": "1.3.6",
"web3-utils": "^1.3.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.28.0",
"prettier-plugin-organize-imports": "^3.2.1"
},
"scripts": {
"compile": "yarn run hardhat compile",
"clean": "yarn hardhat clean",
"test": "yarn run hardhat test",
"test:ci": "./scripts/run-tests.ci.sh",
"deploy:devchain": "yarn run hardhat deploy --network devchain && ts-node --files ./scripts/mineBlocks.ts",
"devchain": "yarn run celo-devchain --port 7545",
"devchain:stCeloV1": "yarn run celo-devchain --port 7545 --file ./devChain/stCeloV1.tar.gz",
"lint": "yarn run lint:sol && yarn run lint:ts",
"eslint:ts": "yarn run eslint ./",
"lint:sol": "prettier --write contracts/*.sol contracts/**/*.sol && solhint **/*.sol --fix --max-warnings 0",
"lint:ts": "prettier --write ./**/*.ts && yarn eslint:ts",
"lint:ci": "yarn run lint:sol:ci && yarn run lint:ts:ci",
"lint:sol:ci": "prettier --check contracts/*.sol contracts/**/*.sol && solhint **/*.sol --max-warnings 0",
"lint:ts:ci": "prettier --check ./**/*.ts",
"prepare": "husky install",
"keys:decrypt": "bash scripts/key_placer.sh decrypt",
"keys:encrypt": "bash scripts/key_placer.sh encrypt",
"deploy": "hardhat stakedCelo:deploy --show-stack-traces --tags core",
"verify:deploy": "hardhat sourcify",
"tarchain": "ts-node scripts/tarchain.ts",
"generate:standard:artifacts": "ts-node scripts/standardize-artifacts.ts run",
"compare:artifacts": "./node_modules/@celo/contract-compatibility-check/bin/run check -e \".*Test|Mock.*|I[A-Z].*|.*Proxy|ReleaseGold|SlasherUtil|UsingPrecompiles|^UsingRegistry|ERC20.*\""
},
"author": "Celo Labs Inc.",
"license": "LGPL-3.0-only",
"lint-staged": {
"*.sol": "yarn lint:sol",
"*.ts": "yarn lint:ts",
"*.js": "prettier --write"
}
}