-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
87 lines (87 loc) · 3.3 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
{
"name": "@ape.swap/governance-sdk",
"version": "0.2.1",
"description": "A collection of solidity smart contracts to help manage the ApeSwap DAO.",
"author": "ApeSwap",
"main": "dist/index.js",
"files": [
"dist"
],
"resolutions": {
"**/ua-parser-js": "^0.7.30"
},
"scripts": {
"build": "tsc",
"prepublish": "yarn gen:types && yarn build",
"ganache": "npx ganache-cli",
"pretest": "yarn compile",
"test": "mocha --exit --recursive --timeout 10000",
"test:ci": "yarn gen:types && yarn test",
"test:ts": "mocha --exit --recursive --require ts-node/register --timeout 10000 test/**/*.test.{js,ts}",
"posttest": "yarn coverage && rm -rf ./coverage && rm -rf ./coverage.json",
"coverage": "node ./coverage.js",
"size": "truffle run contract-size",
"compile": "truffle compile",
"compile:all": "truffle compile --all",
"gen:types": "yarn compile && typechain --target=ethers-v5 '{build,build-apeswap}/contracts/*.json'",
"migrate:bsc": "truffle migrate --network bsc",
"migrate:bsc-testnet": "truffle migrate --network bsc-testnet",
"migrate:dev": "truffle migrate --network development",
"verify:bsc": "truffle run verify Timelock --network bsc",
"verify:bsc:aux": "truffle run verify MessageBoard --network bsc",
"verify:bsc-testnet": "truffle run verify Timelock --network bsc-testnet",
"encode:transfer-masterape-owner": "ts-node ./scripts/encodeTransferMasterApeOwnershipTx.ts",
"flatten": "truffle-flattener ./contracts/MockToken.sol > ./MockToken_flat.sol",
"typecheck": "tsc --noEmit",
"lint": "solhint './contracts/**/*.sol'",
"lint:fix": "solhint './contracts/**/*.sol' --fix",
"gen:docs": "solidity-docgen --solc-module solc",
"prettier:fix": "prettier --write 'contracts/**/*.sol'",
"scripts:master-ape-v2:set": "ts-node ./scripts/encodeMasterApeAdminV2SetTxs.ts",
"scripts:master-ape-v2:add": "ts-node ./scripts/encodeMasterApeAdminV2AddTxs.ts"
},
"husky": {
"hooks": {
"pre-commit": "yarn prettier:fix && yarn lint:fix",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"repository": "https://github.com/ApeSwapFinance/apeswap-governance.git",
"license": "MIT",
"devDependencies": {
"@ape.swap/test-helpers": "^1.1.0",
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@defifofum/etherscan-sdk": "^0.0.10",
"@defifofum/files": "^0.0.2",
"@openzeppelin/test-environment": "^0.1.9",
"@openzeppelin/test-helpers": "^0.5.12",
"@truffle/hdwallet-provider": "^1.4.1",
"@typechain/truffle-v5": "^4.0.1",
"@types/mocha": "^9.0.0",
"chai": "^4.3.4",
"dotenv": "^8.2.0",
"ganache-cli": "^6.12.2",
"husky": "^6.0.0",
"mocha": "^9.1.1",
"prettier": "^2.2.1",
"prettier-plugin-solidity": "^1.0.0-beta.8",
"solc": "^0.8.17",
"solhint": "^3.3.4",
"solidity-coverage": "^0.7.16",
"solidity-docgen": "^0.5.13",
"truffle": "^5.3.1",
"truffle-contract-size": "^2.0.1",
"truffle-flattener": "^1.5.0",
"truffle-plugin-verify": "^0.5.9",
"ts-node": "^10.2.1",
"typechain": "^5.1.2",
"typescript": "^4.2.4"
},
"dependencies": {
"@ethersproject/contracts": "^5.4.1",
"@openzeppelin/contracts": "^4.8.0",
"@typechain/ethers-v5": "^7.1.0",
"ethers": "^5.4.7"
}
}