-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 3.89 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 3.89 KB
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
{
"name": "project-name",
"version": "1.0.0",
"description": "Project description",
"files": [
"/contracts/**/*.sol",
"!/contracts/mocks/**/*"
],
"scripts": {
"compile": "npx hardhat compile",
"compile-all": "npx hardhat compile --force",
"test": "npx hardhat test",
"test:mainnet-fork": "npx hardhat test --network hardhat",
"node": "npx hardhat node",
"dev:size-contracts": "npm run compile-all && npx hardhat size-contracts",
"deploy:all": "npx hardhat run scripts/deployment/",
"deploy:test-tokens": "npm run compile-all && npx hardhat run scripts/deployment/deploy-test-tokens.js --network goerli",
"deploy:bridge": "npx hardhat deploy_fastbridge --network ",
"deploy:verify:bridge": "npx hardhat deploy_fastbridge --verification true --network ",
"upgrade:bridge": "npx hardhat upgrade_fastbridge --network ",
"dev:abi": "npx hardhat clear-abi && npx hardhat export-abi",
"dev:coverage": "npx hardhat coverage",
"docgen": "npx shx rm -rf docs && npx solidity-docgen --solc-module solc -t docgen -H docgen/helpers.js -o docs/",
"dev:lint": "npm run dev:eslint && npm run dev:solhint",
"dev:eslint": "npx eslint \"**/*.js\"",
"dev:eslint-fix": "npx eslint \"**/*.js\" --fix",
"dev:solhint": "npx solhint \"contracts/**/*.sol\"",
"dev:solhint-fix": "npx solhint \"contracts/**/*.sol\" --fix",
"dev:prettier": "npx prettier --check \"**/*.{json,sol,md,js,yaml,yml}\"",
"dev:prettier-fix": "npx prettier --write \"**/*.{json,sol,md,js,yaml,yml}\"",
"flatten": "npx hardhat flatten contracts/EthErc20FastBridge.sol > res/EthErc20FastBridge_flat.sol && npx hardhat flatten contracts/TestToken.sol > res/TestToken_flat.sol",
"storage-layout": "npx hardhat check 2>&1 | sed -r \"s/\\x1B\\[([0-9]{1,3}(;[0-9]{1,2};?)?)?[mGK]//g\" | tee res/storage_layout.txt",
"dev:slither": "npm run compile && slither .",
"postinstall": "npm run compile && npm run dev:abi",
"clean": "npx shx rm -rf artifacts cache coverage coverage.json .openzeppelin && npx shx echo Cleaned",
"sec:slither": "slither contracts/EthErc20FastBridge.sol --solc-remaps @openzeppelin=node_modules/@openzeppelin"
},
"keywords": [
"blockchain",
"ethereum",
"solidity",
"js",
"hardhat",
"contracts"
],
"author": "Author Name <author@email.com>",
"license": "MIT",
"dependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^1.0.5",
"@nomicfoundation/hardhat-network-helpers": "^1.0.7",
"@nomiclabs/hardhat-ethers": "^2.2.1",
"@openzeppelin/contracts": "4.8.3",
"@openzeppelin/contracts-upgradeable": "4.8.3",
"@openzeppelin/upgrades-core": "^1.20.6"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@nomicfoundation/hardhat-toolbox": "^2.0.0",
"@openzeppelin/hardhat-upgrades": "^1.22.0",
"@openzeppelin/test-helpers": "^0.5.16",
"chai": "^4.3.7",
"dotenv": "^16.0.3",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"ethers": "^5.7.2",
"hardhat": "^2.12.4",
"hardhat-abi-exporter": "^2.10.1",
"hardhat-contract-sizer": "^2.6.1",
"hardhat-storage-layout": "^0.1.7",
"mocha": "^10.2.0",
"prettier": "^2.8.1",
"prettier-plugin-solidity": "^1.1.0",
"prompt-sync": "^4.2.0",
"shx": "^0.3.4",
"solc": "0.8.17",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5",
"solidity-docgen": "0.5.17",
"web3": "^1.8.1"
},
"engines": {
"node": ">= 16.0.0",
"npm": ">= 7.0.0"
}
}