-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
92 lines (92 loc) · 3.59 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
90
91
92
{
"name": "witnet-solidity-bridge",
"version": "2.0.17",
"description": "Witnet Solidity Bridge contracts for EVM-compatible chains",
"author": "Witnet Foundation <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/witnet/witnet-solidity-bridge/tree/2.0.x"
},
"type": "commonjs",
"keywords": [
"bridge",
"witnet",
"ethereum"
],
"exports": {
".": "./src/index.js",
"./assets": "./src/index.js",
"./utils": "./src/utils.js"
},
"files": [
"artifacts",
"build/contracts",
"contracts",
"migrations/*.json",
"settings",
"src"
],
"scripts": {
"addresses": "node ./scripts/addresses.js 2>&1",
"clean": "pnpm run clean:artifacts && pnpm run clean:build && pnpm run clean:flattened",
"clean:artifacts": "node ./scripts/clean.js artifacts",
"clean:build": "node ./scripts/clean.js build",
"clean:flattened": "node ./scripts/clean.js flattened",
"compile": "npx truffle compile --all",
"console": "npx truffle console",
"coverage": "solidity-coverage",
"flatten": "node ./scripts/flatten.js 2>&1",
"flatten:all": "pnpm run clean && pnpm run flatten:core && pnpm run flatten:apps && pnpm run flatten:libs && pnpm run flatten:proxy",
"flatten:apps": "pnpm run flatten contracts/apps/",
"flatten:core": "pnpm run flatten contracts/core/",
"flatten:libs": "pnpm run flatten contracts/libs/WitnetErrorsLib.sol && pnpm run flatten contracts/libs/WitnetEncodingLib.sol && pnpm run flatten contracts/libs/WitnetPriceFeedsLib.sol",
"flatten:proxy": "pnpm run flatten contracts/core/WitnetProxy.sol",
"fmt:js": "eslint \"**/*.js\"",
"fmt:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\" && solhint \"test/**/*.sol\" && solhint \"flattened/**/*.sol\"",
"fmt!:js": "eslint \"**/*.js\" --fix",
"fmt!:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\" --fix && solhint \"test/**/*.sol\" --fix && solhint \"flattened/**/*.sol\"",
"fmt!": "pnpm run fmt!:js && pnpm run fmt!:sol",
"fmt": "pnpm run fmt:js && pnpm run fmt:sol",
"migrate": "npx truffle migrate --network",
"networks": "node ./scripts/networks.js 2>&1",
"ops:rng:sla": "npx truffle migrate --migrations_directory ./migrations/ops/rng/sla --network",
"prepare": "npx truffle compile --all && npx hardhat compile --force && node ./scripts/prepare.js",
"test": "pnpm run clean && npx truffle test",
"verify:apps": "node ./scripts/verify-apps.js 2>&1",
"verify:core": "node ./scripts/verify-core.js 2>&1",
"verify:libs": "node ./scripts/verify-libs.js 2>&1",
"verify:impls": "node ./scripts/verify-impls.js 2>&1"
},
"dependencies": {
"dotenv": "^16.4.4",
"lodash.merge": "^4.6.2",
"proper-lockfile": "^4.1.2"
},
"devDependencies": {
"@nomicfoundation/hardhat-verify": "^2.0.4",
"@openzeppelin/contracts": "^5.0.1",
"@openzeppelin/contracts-upgradeable": "^5.0.1",
"@openzeppelin/test-helpers": "~0.5.16",
"ado-contracts": "1.0.0",
"bn.js": "^4.11.0",
"chai": "^5.1.0",
"custom-error-test-helper": "^1.0.6",
"eslint": "^8.56.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"eth-gas-reporter": "^0.2.27",
"eth-helpers": "^1.3.0",
"hardhat": "^2.22.2",
"nanoassert": "^2.0.0",
"sha3-wasm": "^1.0.0",
"solhint": "^4.1.1",
"truffle": "^5.11.5",
"truffle-assertions": "^0.9.2",
"truffle-flattener": "^1.6.0",
"witnet-toolkit": "^2.0.1",
"truffle-plugin-verify": "^0.6.7"
}
}