forked from witnet/witnet-pricefeed-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
54 lines (54 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
53
54
{
"name": "witnet-pricefeed-example",
"version": "0.1.0",
"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 <devs@witnet.io>",
"license": "MIT",
"private": false,
"scripts": {
"test": "npx truffle test",
"console": "npx truffle console",
"compile": "npm run compile-requests && npm run compile-contracts",
"compile-requests": "npx rad2sol",
"compile-contracts": "npx truffle compile",
"compile-flattened": "npx truffle compile --all --config flattened-config.js ",
"coverage": "solidity-coverage",
"flatten": " mkdir contracts/flattened/ 2>/dev/null; npx truffle-flattener contracts/*.sol > contracts/flattened/Flattened.sol",
"fmt": "solhint --max-warnings 0 \"contracts/**/*.sol\" && eslint ./requests",
"fmt!": "solhint --max-warnings 0 \"contracts/**/*.sol\" --fix && eslint ./requests --fix",
"postinstall": "mkdir -p build/contracts >/dev/null 2>&1; cp node_modules/witnet-ethereum-bridge/build/contracts/MockWitnetRequestsBoard.json build/contracts",
"migrate": "npx truffle migrate",
"migrate-flattened": "npm run flatten && npx truffle migrate --config flattened-config.js",
"verify-flattened": "npx truffle run verify"
},
"dependencies": {
"witnet-ethereum-bridge": "git+https://github.com/witnet/witnet-ethereum-bridge",
"witnet-requests": "git+https://github.com/witnet/witnet-requests-js"
},
"devDependencies": {
"@babel/core": "^7.10.2",
"@babel/plugin-transform-modules-commonjs": "^7.10.1",
"@babel/register": "^7.10.1",
"@babel/traverse": "^7.10.1",
"babel-plugin-inline-script-import": "^0.0.4",
"babylon": "^6.18.0",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"solhint": "^3.0.0",
"ganache-cli": "^6.9.1",
"node-eval": "^2.0.0",
"protocol-buffers": "^4.1.2",
"solidity-coverage": "^0.7.5",
"truffle": "^5.1.28",
"truffle-assertions": "^0.9.2",
"truffle-flattener": "git+https://github.com/witnet/truffle-flattener.git#single-experimental",
"truffle-plugin-verify": "^0.3.11"
}
}