forked from OpenST/facilitator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
152 lines (152 loc) · 5.35 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "@openst/facilitator",
"version": "0.1.0-alpha.2",
"description": "Facilitator is an executable to facilitate asynchronous message passing between blockchains.",
"bin": {
"facilitator": "lib/src/bin/facilitator.js"
},
"main": "lib/index.js",
"files": [
"lib/**"
],
"scripts": {
"lint:ts": "eslint src -c .eslintrc.json --ext ts",
"package": "./package.sh",
"prepack": "npm run package",
"test:unit": "mocha --require ts-node/register --require source-map-support/register --recursive test/**/**/**/*.test.ts test/**/**/*.test.ts test/**/*.test.ts test/*.test.ts",
"test:facilitator": "./test/facilitator.sh",
"test:integration:baseToken": "npm run devchain:start && npm run devchain:deploySubgraph:baseToken && TEST_MODE=baseToken mocha -t 180000 --require ts-node/register --require source-map-support/register --recursive test_integration/**/**/*.test.ts test_integration/**/*.test.ts test_integration/*.test.ts && npm run devchain:stop",
"test:integration:eip20Token": "npm run devchain:start && npm run devchain:deploySubgraph:eip20Token && TEST_MODE=eip20Token mocha -t 180000 --require ts-node/register --require source-map-support/register --recursive test_integration/**/**/*.test.ts test_integration/**/*.test.ts test_integration/*.test.ts && npm run devchain:stop",
"test:integration": "npm run test:integration:baseToken && npm run test:integration:eip20Token",
"test:package": "./test/package.sh",
"test": "npm run test:unit && npm run test:package && npm run test:integration",
"coverage:report": "nyc report",
"coverage:unit": "nyc --silent npm run test:unit",
"coverage:facilitator": "nyc --silent --no-clean npm run test:facilitator",
"coverage": "tsc && npm run coverage:unit && npm run coverage:facilitator && npm run coverage:report",
"devchain:start": "bash ./test_integration/devchains.sh start",
"devchain:stop": "bash ./test_integration/devchains.sh stop",
"devchain:deploySubgraph:baseToken": "bash ./test_integration/scripts/base_token/deploy_subgraph.sh",
"devchain:deploySubgraph:eip20Token": "bash ./test_integration/scripts/eip20_token/deploy_subgraph.sh",
"create_keys:testnet": "TS_NODE_FILES=true; TS_NODE_TRANSPILE_ONLY=true; node -r ts-node/register ./demo/bin/create_staker_redeemer.ts",
"request_stake:testnet": "TS_NODE_FILES=true; TS_NODE_TRANSPILE_ONLY=true; node -r ts-node/register ./demo/bin/request_stake_testnet.ts",
"request_redeem:testnet": "TS_NODE_FILES=true; TS_NODE_TRANSPILE_ONLY=true; node -r ts-node/register ./demo/bin/request_redeem_testnet.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/OpenST/facilitator.git"
},
"keywords": [
"Facilitator",
"OpenST",
"OST",
"Mosaic",
"Simple Token",
"Token Economy",
"web3",
"Ethereum",
"EIP20"
],
"author": "OpenST Ltd.",
"license": "Apache v2.0",
"bugs": {
"url": "https://github.com/OpenST/facilitator/issues"
},
"homepage": "https://github.com/OpenST/facilitator#readme",
"dependencies": {
"@openst/mosaic-chains": "^0.1.0-alpha.9",
"@openst/mosaic-contracts": "^0.12.0",
"@openst/mosaic-proof": "^0.1.0-alpha.1",
"apollo-cache-inmemory": "1.6.2",
"apollo-client": "2.6.0",
"apollo-link-http": "1.5.15",
"apollo-link-ws": "1.0.18",
"async": "^3.1.0",
"axios": "^0.19.0",
"bignumber.js": "4.1.0",
"commander": "2.20.0",
"fs-extra": "7.0.1",
"graphql": "14.3.1",
"graphql-tag": "2.10.1",
"inquirer": "^7.0.0",
"jq": "^1.7.2",
"jsonschema": "1.2.4",
"node-fetch": "2.6.0",
"sequelize": "6.0.0",
"sqlite3": "4.0.8",
"subscriptions-transport-ws": "0.9.16",
"typescript": "3.5.1",
"web3": "1.0.0-beta.55",
"web3-eth-accounts": "1.0.0-beta.55",
"web3-utils": "1.0.0-beta.55",
"winston": "3.2.1",
"ws": "7.0.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "0.1.3",
"@types/bluebird": "3.5.27",
"@types/chai": "4.1.7",
"@types/chai-as-promised": "7.1.0",
"@types/ethereumjs-util": "5.2.0",
"@types/fs-extra": "5.0.5",
"@types/graphql": "14.2.2",
"@types/mocha": "5.2.7",
"@types/node": "11.11.3",
"@types/node-fetch": "2.3.7",
"@types/sinon": "7.0.13",
"@types/sqlite3": "3.1.5",
"@types/validator": "10.11.1",
"@types/web3": "1.0.19",
"@types/ws": "6.0.1",
"@typescript-eslint/eslint-plugin": "1.10.2",
"@typescript-eslint/parser": "1.10.2",
"@typescript-eslint/typescript-estree": "1.10.2",
"chai": "4.2.0",
"chai-as-promised": "7.1.1",
"crypto": "1.0.1",
"eslint": "5.16.0",
"eslint-config-airbnb-base": "13.1.0",
"eslint-plugin-import": "2.17.3",
"eslint-plugin-json": "1.4.0",
"ethereumjs-util": "6.1.0",
"mocha": "6.1.4",
"nyc": "14.1.1",
"sinon": "7.3.2",
"source-map-support": "0.5.12",
"ts-node": "8.0.3"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"include": [
"src"
],
"extension": [
"ts"
],
"excludeNodeModules": true,
"check-coverage": false,
"watermarks": {
"lines": [
80,
95
],
"functions": [
80,
95
],
"branches": [
80,
95
],
"statements": [
80,
95
]
},
"reporter": [
"html",
"text"
]
}
}