-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
89 lines (89 loc) · 3.15 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
{
"name": "@cruna/protocol",
"version": "0.9.0",
"description": "The Cruna protocol",
"publishConfig": {
"access": "public"
},
"files": [
"/contracts/**/*.sol"
],
"scripts": {
"clean": "rimraf artifacts cache",
"test": "scripts/verify-package-json-in-sync.js && NODE_ENV=test scripts/set-canonical.js && NODE_ENV=test npx hardhat test",
"test:gas": "NODE_ENV=test scripts/set-canonical.js && NODE_ENV=test GAS_REPORT=yes npx hardhat test",
"compile": "NODE_ENV=test npx hardhat compile",
"compile:one": "NODE_ENV=test npx hardhat compile --file contracts/$1.sol",
"lint": "npm run lint:sol && npm run lint:js",
"lint:sol": "prettier --write 'contracts/**/*.sol' && solhint 'contracts/**/*.sol' && node scripts/find-unused-custom-errors.js",
"lint:js": "npx prettier --write ./test/**/*.js ./**/*.js",
"coverage": "rimraf coverage coverage.json && NODE_ENV=test IS_COVERAGE=1 scripts/set-canonical.js && IS_COVERAGE=1 NODE_ENV=test npx hardhat coverage",
"prepare": "husky install",
"size": "NODE_ENV=test npx hardhat size-contracts",
"prepublishOnly": "echo 'Error: Please use 'npm run publish-package' to publish.' && exit 1",
"publish-package": "bin/publish.sh",
"postinstall": "./post-install.sh",
"docs": "npm run prepare-docs && oz-docs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/crunaprotocol/cruna-protocol.git"
},
"author": {
"name": "Francesco Sullo",
"email": "francesco@sullo.co"
},
"bugs": {
"url": "https://github.com/crunaprotocol/cruna-protocol/issues"
},
"homepage": "https://github.com/crunaprotocol/cruna-protocol#readme",
"license": "GPL3",
"dependencies": {
"@openzeppelin/contracts": "5.0.2",
"erc6551": "0.3.1",
"erc7656": "0.3.0"
},
"devDependencies": {
"@ethersproject/contracts": "^5.7.0",
"@metamask/eth-sig-util": "^7.0.3",
"@nomicfoundation/hardhat-verify": "^2.0.9",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@nomiclabs/hardhat-etherscan": "^3.1.8",
"@nomiclabs/hardhat-waffle": "^2.0.6",
"@openzeppelin/contracts-upgradeable": "5.0.2",
"@openzeppelin/docs-utils": "^0.1.5",
"@openzeppelin/hardhat-upgrades": "^1.28.0",
"@openzeppelin/test-helpers": "^0.5.16",
"@secrez/cryptoenv": "^0.2.4",
"@xyrusworx/hardhat-solidity-json": "^1.0.2",
"bn.js": "^5.2.1",
"case": "^1.6.3",
"chai": "^4.5.0",
"dotenv": "^16.4.5",
"eth-deploy-utils": "^2.0.1",
"eth-sig-util": "^3.0.1",
"ethereum-waffle": "^4.0.10",
"ethereumjs-abi": "^0.6.8",
"ethereumjs-util": "^7.1.5",
"ethers": "^5.7.2",
"fs-extra": "^11.2.0",
"hardhat": "^2.22.9",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-gas-reporter": "^2.2.1",
"husky": "^9.1.5",
"keccak256": "^1.0.6",
"prettier": "^3.3.3",
"prettier-plugin-solidity": "^1.4.1",
"pretty-quick": "^4.0.0",
"require-or-mock": "^0.2.1",
"rimraf": "^5.0.10",
"solhint": "^5.0.3",
"solidity-coverage": "^0.8.12",
"solidity-docgen": "0.6.0-beta.36",
"typescript": "^5.5.4"
},
"lint-staged": {
"*.js": "prettier --write",
"*.{js,css,md}": "prettier --write"
}
}