-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
87 lines (87 loc) · 2.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
{
"name": "smart-contract-templates",
"version": "1.0.0",
"description": "This is templates being used and created by starton.",
"main": "hardhat.config.ts",
"scripts": {
"test": "hardhat compile && hardhat test",
"compile": "hardhat compile",
"clean": "hardhat clean",
"coverage": "hardhat compile && hardhat coverage",
"flatten": "ts-node scripts/flatten-contracts-folder.ts",
"single-line": "ts-node scripts/single-line-contract.ts",
"doc": "yarn compile && ts-node scripts/generate-doc.ts",
"lint": "yarn prettier && yarn eslint && yarn solhint",
"lint:fix": "yarn prettier:fix && yarn eslint:fix && yarn solhint:fix",
"prettier": "prettier '**/*.{json,sol,md}' --check",
"prettier:fix": "prettier '**/*.{json,sol,md}' --write",
"solhint": "solhint 'contracts/**/*.sol'",
"solhint:fix": "solhint 'contracts/**/*.sol' --fix",
"eslint": "eslint '**/*.{js,ts}'",
"eslint:fix": "eslint '**/*.{js,ts}' --fix",
"prepare": "husky install"
},
"keywords": [],
"author": "starton",
"license": "Apache-2.0",
"devDependencies": {
"@ethersproject/abi": "^5.6.4",
"@ethersproject/contracts": "^5.6.2",
"@ethersproject/providers": "^5.6.8",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.2",
"@nomicfoundation/hardhat-network-helpers": "^1.0.3",
"@nomicfoundation/hardhat-toolbox": "^1.0.2",
"@nomiclabs/hardhat-ethers": "^2.1.0",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/hardhat": "^6.1.2",
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.1",
"@types/node": "^18.6.1",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"chai": "^4.3.6",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"ethers": "^5.6.9",
"fs": "^0.0.1-security",
"hardhat": "^2.9.4",
"hardhat-gas-reporter": "^1.0.8",
"husky": "^8.0.3",
"merkletreejs": "^0.2.32",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-dev.23",
"solhint": "^3.3.7",
"solidity-coverage": "^0.7.21",
"ts-node": "^10.9.1",
"typechain": "^8.1.0",
"typescript": "^4.7.4"
},
"dependencies": {
"@openzeppelin/contracts": "^4.9.2",
"operator-filter-registry": "^1.4.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix"
],
"contracts/**/*.sol": [
"solhint --fix",
"yarn flatten --git"
],
"*.json|*.md|*.sol": [
"prettier --write"
]
}
}