-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
61 lines (61 loc) · 2.93 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
{
"name": "@defi-wonderland/prophet-modules",
"version": "1.0.0",
"description": "Prophet presents a versatile and fully adaptable optimistic oracle solution, transcending the boundaries of conventional dispute resolution modules.",
"homepage": "https://github.com/defi-wonderland/prophet-modules",
"repository": {
"type": "git",
"url": "git+https://github.com/defi-wonderland/prophet-modules.git"
},
"license": "MIT",
"author": "Wonderland",
"scripts": {
"build": "yarn compile",
"build:optimized": "FOUNDRY_PROFILE=optimized forge build",
"compile": "forge build",
"coverage": "forge coverage --match-contract Unit",
"deploy": "dotenv -- bash -c 'forge script Deploy -vv --slow --broadcast --rpc-url $OPTIMISM_RPC'",
"deploy:local": "dotenv -- bash -c 'forge script Deploy -vv --slow --broadcast --rpc-url $LOCAL_RPC'",
"docs:build": "./build-docs.sh",
"docs:run": "mdbook serve docs",
"postinstall": "husky install",
"lint:check": "yarn lint:sol-tests && yarn lint:sol-logic && forge fmt --check",
"lint:fix": "sort-package-json && forge fmt && yarn lint:sol-tests --fix && yarn lint:sol-logic --fix",
"lint:sol-logic": "solhint 'solidity/contracts/**/*.sol' 'solidity/interfaces/**/*.sol'",
"lint:sol-tests": "solhint -c .solhint.tests.json 'solidity/test/**/*.sol'",
"prepare": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"release": "standard-version",
"test": "yarn test:unit && yarn test:integration",
"test:gas": "forge test --match-contract Integration -vvv --gas-report",
"test:integration": "forge test --match-contract Integration -vvv",
"test:unit": "forge test --match-contract Unit -vvv"
},
"lint-staged": {
"*.{js,css,md,ts,sol}": "forge fmt",
"*.sol": "solhint --fix 'solidity/contracts/**/*.sol' 'solidity/interfaces/**/*.sol' && solhint --fix -c .solhint.tests.json 'solidity/test/**/*.sol'",
"package.json": "sort-package-json"
},
"dependencies": {
"@defi-wonderland/prophet-core": "0.0.0-819e5fe9",
"@openzeppelin/contracts": "4.9.5",
"solmate": "https://github.com/transmissions11/solmate.git#bfc9c25865a274a7827fea5abf6e4fb64fc64e6c"
},
"devDependencies": {
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@defi-wonderland/solidity-utils": "0.0.0-3e9c8e8b",
"dotenv-cli": "7.2.1",
"ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0",
"forge-std": "https://[email protected]/foundry-rs/forge-std.git#1.9.1",
"husky": "8.0.3",
"lint-staged": "13.2.2",
"pinst": "3.0.0",
"solhint": "3.5.1",
"solhint-plugin-defi-wonderland": "1.1.2",
"sort-package-json": "2.4.1",
"standard-version": "9.5.0"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}