-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 6.41 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
{
"name": "lets-fucking-game-hardhat",
"description": "Let's Fucking Game - Hardhat Workspace",
"license": "MIT",
"version": "0.0.1",
"author": "@GuiDieudo",
"scripts": {
"chain": "hardhat node",
"chain:debug": "hardhat node --show-stack-traces",
"chain:stop": "lsof -ti tcp:8545 | xargs kill ",
"chain:force": "yarn clean && yarn chain:stop && yarn chain",
"start": "hardhat node",
"clean": "hardhat clean",
"compile": "hardhat compile",
"compile:force": "hardhat compile --force",
"console": "hardhat console",
"storage:layout": "hardhat storage-layout",
"size": "hardhat size-contracts",
"prepend-spdx": "hardhat prepend-spdx-license",
"deploy:one": "bin/deploy.sh",
"deploy": "npx hardhat deploy --tags dev --network hardhat",
"deploy:staging": "(yarn run 'deploy:staging:bsc' &) && (yarn run 'deploy:staging:fantom' &) && (yarn run 'deploy:staging:mumbai' &) && (yarn run 'deploy:staging:goerli' &)",
"deploy:staging:bsc": "npx hardhat deploy --tags staging --network bscTestnet",
"deploy:staging:fantom": "npx hardhat deploy --tags keeper --network ftmTestnet",
"deploy:staging:mumbai": "npx hardhat deploy --tags staging --network polygonMumbai",
"deploy:staging:goerli": "npx hardhat deploy --tags staging --network goerli",
"deploy:prod": "npx hardhat deploy --tags prod --network custom",
"verify": "hardhat verify --network",
"test": "hardhat test",
"test:force": "yarn test:clean && yarn test",
"test:clean": "rm -rf ./artifacts && rm -rf ./cache && yarn clean && yarn compile && yarn typechain",
"test:trace": "hardhat test --trace",
"test:coverage": "yarn chain:stop && (ganache-cli &) && hardhat coverage",
"task:trigger": "npx hardhat trigger-daily-checkpoint --network bscTestnet --contract",
"task:upkeep": "npx hardhat perform-upkeep --network bscTestnet --upkeep",
"build": "bin/build.sh",
"analyze:static": "docker run -v \"$(pwd):/labs\" analyze:latest slither",
"analyze:security": "docker run -v \"$(pwd):/labs\" analyze:latest myth analyze --solc-json mythril.config.json",
"analyze:all": "bin/analyze.sh",
"generate:flatten": "docker run -v \"$(pwd):/labs\" analyze:latest slither-flat --solc-args '--base-path node_modules' --dir soldata/flatten/",
"generate:abi": "docker run -v $(pwd):/labs analyze:latest solc --abi --base-path /labs/node_modules --allow-paths . ./=../ -o soldata/abi/ --overwrite",
"generate:all-abi": "docker run -v $(pwd):/labs analyze:latest solc --abi --base-path /labs/node_modules --allow-paths . ./=../ -o soldata/abi/ --overwrite ./contracts/**/*.sol",
"generate:bin": "docker run -v $(pwd):/labs analyze:latest solc --bin --base-path /labs/node_modules --allow-paths . ./=../ -o soldata/bin/ --overwrite",
"generate:all-bin": "docker run -v $(pwd):/labs analyze:latest solc --bin --base-path /labs/node_modules --allow-paths . ./=../ -o soldata/bin/ --overwrite ./contracts/**/*.sol",
"generate:metadata": "docker run -v $(pwd):/labs analyze:latest solc --metadata --base-path /labs/node_modules --allow-paths . ./=../ -o soldata/metadata/ --overwrite",
"generate:all-metadata": "docker run -v $(pwd):/labs analyze:latest solc --metadata --base-path /labs/node_modules --allow-paths . ./=../ -o soldata/metadata/ --overwrite ./contracts/**/*.sol",
"generate:docs": "hardhat docgen",
"generate:badges": "istanbul-badges-readme",
"share": "remixd -s . --remix-ide https://remix.ethereum.org",
"format": "prettier '**/{*,''}.{json,js,ts,sol}' --write; eslint '**/{*,''}.{json,js,ts}' --fix; solhint 'contracts/*.sol' --fix;",
"format:json": "prettier '**/{*,''}.json' --write; eslint '**/{*,''}.json' --fix;",
"format:js": "prettier '**/{*,''}.js' --write; eslint '**/{*,''}.js' --fix;",
"format:ts": "prettier '**/{*,''}.ts' --write; eslint '**/{*,''}.ts' --fix;",
"format:sol": "prettier '**/*.sol' --write; solhint 'contracts/*.sol' --fix;",
"lint": "shellcheck bin/*; cspell lint --dot --gitignore '**/{*,''}{.,''}*'; prettier '**/{*,''}.{json,js,ts,sol}' --check; solhint 'contracts/*.sol'; eslint '**/{*,''}.{json,js,ts}';"
},
"engines": {
"node": ">=16.0.0"
},
"dependencies": {},
"devDependencies": {
"@appliedblockchain/chainlink-plugins-fund-link": "^0.0.3",
"@chainlink/contracts": "^0.5.1",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.4",
"@nomicfoundation/hardhat-network-helpers": "^1.0.6",
"@nomicfoundation/hardhat-toolbox": "^2.0.0",
"@nomiclabs/hardhat-ethers": "^2.2.1",
"@nomiclabs/hardhat-etherscan": "^3.1.2",
"@openzeppelin/contracts": "^4.7.3",
"@openzeppelin/test-helpers": "^0.5.16",
"@remix-project/remixd": "^0.6.7",
"@tenderly/hardhat-tenderly": "^1.3.0",
"@typechain/ethers-v5": "^10.1.1",
"@typechain/hardhat": "^6.1.4",
"@types/chai": "^4.3.3",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"cspell": "^6.14.0",
"dotenv": "^16.0.3",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-mocha-no-only": "^1.1.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-simple-import-sort": "^8.0.0",
"eslint-plugin-sonarjs": "^0.16.0",
"eslint-plugin-unused-imports": "^2.0.0",
"ethers": "^5.7.2",
"ganache-cli": "^6.12.2",
"hardhat": "^2.12.2",
"hardhat-contract-sizer": "^2.6.1",
"hardhat-deploy": "^0.11.20",
"hardhat-docgen": "^1.3.0",
"hardhat-gas-reporter": "^1.0.9",
"hardhat-spdx-license-identifier": "^2.0.3",
"hardhat-storage-layout": "^0.1.7",
"hardhat-tracer": "1.1.1",
"istanbul-badges-readme": "^1.8.2",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "1.0.0-rc.1",
"shellcheck": "^1.1.0",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.8.2",
"tenderly": "^0.0.2",
"ts-node": "^10.9.1",
"typechain": "^8.1.1",
"typescript": "^4.8.4"
}
}