-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
52 lines (52 loc) · 2.38 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
{
"name": "@defi-wonderland/prophet-core",
"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-core",
"repository": {
"type": "git",
"url": "git+https://github.com/defi-wonderland/prophet-core.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'",
"postinstall": "husky",
"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",
"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"
},
"devDependencies": {
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"dotenv-cli": "7.2.1",
"ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0",
"forge-std": "https://github.com/foundry-rs/forge-std.git#v1.7.3",
"husky": "9.1.6",
"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"
}
}