-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
48 lines (48 loc) · 2.24 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
{
"name": "witnet-pricefeed-example",
"version": "0.2.1",
"description": "A totally decentralized BTC<>USD price feed example built with Solidity, Truffle and Witnet",
"main": "witnet/lib/index.js",
"repository": "https://github.com/witnet/witnet-pricefeed-example",
"author": "Witnet Devs <[email protected]>",
"license": "MIT",
"private": false,
"scripts": {
"clean": "npm run clean:build && npm rum clean:flattened",
"clean:build": "node ./scripts/clean.js build/",
"clean:flattened": "node ./scripts/clean.js flattened/",
"compile": "npm run compile:requests && npm run compile:contracts",
"compile:contracts": "npx truffle compile",
"compile:flattened": "npx truffle compile --all --config truffle-config-flattened",
"compile:requests": "npx rad2sol --disable-requests-lists",
"console": "npx truffle console",
"flatten": "npm run compile && node ./scripts/flatten.js contracts/ 2>&1",
"fmt!": "solhint --max-warnings 0 \"contracts/**/*.sol\" --fix && solhint \"test/**/*.sol\" --fix && eslint ./scripts/*.js --fix && eslint \"test/**/*.js\" --no-error-on-unmatched-pattern --fix",
"fmt": "solhint --max-warnings 0 \"contracts/**/*.sol\" && solhint \"test/**/*.sol\" && eslint ./scripts/*.js && eslint \"test/**/*.js\" --no-error-on-unmatched-pattern",
"migrate": "npm run clean && npx truffle migrate",
"migrate:flattened": "npm run clean:flattened && npm run flatten && npx truffle migrate --config truffle-config-flattened.js",
"test": "npx truffle test",
"toolkit": "npx witnet-toolkit",
"try": "npm run compile:requests && npx witnet-toolkit try-data-request --from-solidity ./contracts/requests/"
},
"dependencies": {
"witnet-ethereum-bridge": "~0.4.2",
"witnet-requests": "~0.7.0"
},
"devDependencies": {
"dotenv": "8.2.0",
"eslint": "7.24.0",
"eslint-config-standard": "16.0.2",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "5.1.0",
"eslint-plugin-standard": "5.0.0",
"ganache-cli": "6.12.2",
"lodash": "4.17.21",
"npx": "10.2.2",
"solhint": "3.3.4",
"truffle": "5.3.1",
"truffle-assertions": "0.9.2",
"truffle-flattener": "witnet/truffle-flattener.git#single-experimental"
}
}