-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.74 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.74 KB
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
{
"name": "@nordicenergy/atomic-swap",
"version": "1.0.0",
"description": "Share&Charge Ethereum contracts and oracle for the ERC20 atomic swap facility",
"main": "oracle/dist/server.js",
"directories": {
"test": "test"
},
"dependencies": {
"@types/express": "^4.17.2",
"bignumber.js": "^8.0.2",
"body-parser": "^1.18.3",
"ethers": "^4.0.43",
"express": "^4.17.1",
"mongodb": "^3.5.2",
"node-fetch": "^2.6.0",
"nodemon": "^1.19.4",
"simple-node-logger": "^18.12.24",
"sql-template-strings": "^2.2.2",
"web3": "^1.2.5-rc.0"
},
"devDependencies": {
"@types/chai": "^4.2.7",
"@types/chai-http": "^4.2.0",
"@types/chai-string": "^1.4.2",
"@types/ganache-core": "^2.7.0",
"@types/mocha": "^5.2.7",
"@types/node": "^10.17.13",
"chai": "^4.2.0",
"chai-http": "^4.2.1",
"chai-string": "^1.5.0",
"eth-crypto": "^1.5.1",
"ganache-cli": "^6.8.2",
"ganache-core": "^2.9.2",
"mocha": "^5.2.0",
"openzeppelin-solidity": "^2.4.0",
"run-with-testrpc": "^0.3.0",
"solium": "^1.2.5",
"truffle": "^5.1.10",
"truffle-contract": "^4.0.31",
"truffle-flattener": "^1.4.2",
"truffle-hdwallet-provider": "^1.0.17",
"ts-node": "^8.6.2",
"tslint": "^5.20.1",
"typescript": "^3.7.5"
},
"scripts": {
"build": "rm -Rf oracle/dist && tsc -p .",
"build:test": "rm -Rf oracle/dist && tsc -p tsconfig.test.json",
"compile": "truffle compile",
"test": "npm run test:contracts && npm run test:integration",
"test:contracts": "rm -Rf build && run-with-testrpc -m \"candy maple cake sugar pudding cream honey rich smooth crumble sweet treat\" --port 8544 --accounts 20 --networkId=9 --gasLimit=10000000 \"truffle test\"",
"test:unit": "mocha -r ts-node/register 'oracle/test/**/*.unit.spec.ts'",
"test:integration": "mocha -r ts-node/register 'oracle/test/**/*.spec.ts'",
"lint": "solium -d contracts",
"cover": "solidity-coverage",
"migrate": "truffle migrate",
"ganache": "ganache-cli -m \"candy maple cake sugar pudding cream honey rich smooth crumble sweet treat\" --port 8544 --accounts 20 --networkId=9 --gasLimit=10000000",
"publish-poa": "truffle migrate --network=poa && node bin/publish.js poa",
"publish-kovan": "truffle migrate --network=kovan && node bin/publish.js kovan",
"publish-tobalaba": "truffle migrate --network=tobalaba && node bin/publish.js tobalaba",
"publish-mainnet": "node bin/publish.js mainnet",
"start": "node oracle/dist/server.js"
},
"repository": {
"type": "git",
"url": "git+ssh://git@bitbucket.org:nordicenergy/atomic-swap.git"
},
"author": "Share&Charge Foundation",
"license": "MIT",
"homepage": "https://bitbucket.org/nordicenergy/eth-main-contracts#readme"
}