-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 3.16 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 3.16 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
{
"name": "@iexec/poco",
"version": "6.2.0",
"description": "iExec Proof of Contribution protocol smart contracts",
"author": "iExec",
"license": "Apache-2.0",
"homepage": "https://github.com/iExecBlockchainComputing/PoCo#readme",
"main": "",
"scripts": {
"prepare": "husky",
"build": "npx hardhat compile",
"deploy": "npx hardhat deploy",
"check-storage-layout": "npx hardhat run scripts/check-storage.ts",
"clean": "rm -rf deployments/hardhat",
"test": "npm run clean && REPORT_GAS=true npx hardhat test",
"test:arbitrumSepolia": "npm run clean && ARBITRUM_SEPOLIA_FORK=true npx hardhat test",
"test:native": "npm run clean && IS_NATIVE_CHAIN=true npx hardhat test test/byContract/IexecEscrow/IexecEscrowNative.test.ts",
"coverage": "npx hardhat coverage",
"verify": "npx hardhat verify",
"verify:all": "npx hardhat run scripts/verify.ts",
"format": "npx prettier --write .",
"format:check": "npx prettier --check .",
"uml": "npm run sol-to-uml && npm run puml-to-links && npm run storage-to-diagrams",
"sol-to-uml": "npx zx scripts/tools/sol-to-uml.mjs",
"puml-to-links": "npx zx scripts/tools/puml-to-links.mjs",
"storage-to-diagrams": "bash scripts/tools/storage-to-diagrams.sh",
"doc": "npx hardhat clean && npx hardhat docgen",
"doc:check": "npm run doc && git diff --exit-code docs/",
"prerelease": "npm version prerelease --preid=rc -m 'chore: v%s'"
},
"files": [
"/abis",
"/contracts",
"!/contracts/tools/testing/**/*",
"!/contracts/tools/diagrams/**/*",
"/deployments",
"/artifacts/contracts",
"!/artifacts/contracts/**/*.dbg.json"
],
"__filesComment": [
"!!! @dev Update `abiExporter` config if this is modified",
"TODO [Major] remove artifacts/ from NPM package when releasing a major version"
],
"lint-staged": {
"*.{js,ts,sol,json,yml}": [
"prettier --write"
]
},
"dependencies": {
"@openzeppelin/contracts": "^5.0.2"
},
"devDependencies": {
"@amxx/factory": "^1.0.0",
"@mudgen/diamond-1": "github:mudgen/diamond-1-hardhat#3da037b",
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@nomicfoundation/hardhat-verify": "^2.1.3",
"@openzeppelin/upgrades-core": "^1.37.1",
"createx": "github:pcaversaccio/createx#v1.0.0",
"dotenv": "^16.5.0",
"hardhat": "^2.26.5",
"hardhat-abi-exporter": "^2.11.0",
"hardhat-dependency-compiler": "^1.2.1",
"hardhat-deploy": "^0.11.43",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"mocha": "^10.7.3",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"prettier-plugin-solidity": "^1.4.1",
"puml-for-markdown": "^1.2.1",
"rlc-faucet-contract": "1.0.10",
"sol2uml": "^2.5.22",
"solidity-docgen": "^0.6.0-beta.36",
"zx": "^8.1.6"
},
"__devDependenciesComments": {
"mocha": "[Optional] Install Mocha Test Explorer in VSCode to see tests in VSCode UI",
"rlc-faucet-contract": "TODO Replace with rlc-token"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iExecBlockchainComputing/PoCo.git"
},
"bugs": {
"url": "https://github.com/iExecBlockchainComputing/PoCo/issues"
}
}