-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
76 lines (76 loc) · 2.78 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
{
"name": "@quest-chains/contracts",
"version": "0.1.0",
"license": "AGPL-3.0-only",
"scripts": {
"clean": "hardhat clean",
"compile": "hardhat compile",
"test": "hardhat test",
"coverage": "hardhat coverage",
"coverage:report": "python3 -m http.server --directory ./coverage",
"build": "hardhat clean && hardhat compile",
"typecheck": "tsc",
"deploy": "hardhat run scripts/deploy.ts",
"lint": "yarn lint:sol && yarn lint:ts",
"lint:ts": "eslint --ignore-path .gitignore \"./**/*.{ts,js}\" --fix",
"lint:sol": "solhint -f table \"contracts/{*,**/*}.sol\"",
"format": "prettier --ignore-path .gitignore --write \"{*,**/*}.{ts,js,json,md,sol}\"",
"generate:qc": "yarn sol2uml storage ./contracts/,./node_modules/@openzeppelin/contracts/ -c QuestChain -o storage_diagrams/questChain.svg",
"generate:qcf": "yarn sol2uml storage ./contracts/,./node_modules/@openzeppelin/contracts/ -c QuestChainFactory -o storage_diagrams/questChainFactory.svg",
"generate:qct": "yarn sol2uml storage ./contracts/,./node_modules/@openzeppelin/contracts/ -c QuestChainToken -o storage_diagrams/questChainToken.svg",
"generate": "yarn generate:qcf && yarn generate:qct && yarn generate:qc",
"prepare": "husky install"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@nomiclabs/hardhat-etherscan": "^3.1.8",
"@nomiclabs/hardhat-waffle": "^2.0.6",
"@openzeppelin/contracts": "^4.8.1",
"@typechain/ethers-v5": "^10.2.0",
"@typechain/hardhat": "^6.1.5",
"@types/chai": "^4.3.14",
"@types/graceful-fs": "^4.1.9",
"@types/mocha": "^10.0.6",
"@types/node": "^18.11.18",
"@types/prompt-sync": "^4.2.3",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"axios": "^1.2.6",
"chai": "^4.3.7",
"concurrently": "^7.6.0",
"delay": "^5.0.0",
"dotenv": "^16.0.3",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"ethereum-waffle": "^4.0.10",
"ethers": "^5.7.2",
"hardhat": "^2.12.6",
"hardhat-gas-reporter": "^1.0.9",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"prettier": "^2.8.3",
"prettier-plugin-solidity": "^1.1.1",
"prompt-sync": "^4.2.0",
"querystring": "^0.2.1",
"sol2uml": "^2.4.3",
"solhint": "^3.3.8",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.8.2",
"ts-node": "^10.9.2",
"typechain": "^8.1.1",
"typescript": "^4.9.5"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,yml,yaml,md,sol}": [
"prettier --write"
]
}
}