-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
124 lines (124 loc) · 3.72 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
{
"name": "delta-chain-connector",
"version": "0.8.3",
"description": "The centralized replacement of Blockchain to run Delta tasks faster and easier for demonstration purposes or in the environment where decentralized trust is not required..",
"main": "./lib/index.js",
"bin": {
"dcc": "./bin/dcc",
"delta-chain-connector": "./bin/delta-chain-connector"
},
"scripts": {
"build:proto": "$(npm bin)/proto-loader-gen-types --defaults --oneofs --grpcLib=@grpc/grpc-js -O src/proto src/proto/*.proto",
"build:ts": "rm -rf lib && tsc -p tsconfig-build.json && cp src/proto/*.proto lib/proto/ && mkdir -p lib/contract && cp src/contract/*.json lib/contract && cp src/verifier/*.json lib/verifier",
"serve": "ts-node --cwd-mode src run | bunyan",
"serve:debug": "node --inspect $(npm bin)/ts-node --cwd-mode src run | bunyan",
"test": "mocha -r ts-node/register --exit --timeout 10000 'src/**/*.test.ts'",
"test:debug": "mocha --inspect -r ts-node/register --exit --timout 10000 'src/**/*.test.ts'",
"format": "prettier -w 'src/**/*.ts'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/delta-mpc/delta-chain-connector.git"
},
"keywords": [
"blockchain"
],
"author": "miaohong",
"license": "MIT",
"bugs": {
"url": "https://github.com/delta-mpc/delta-chain-connector/issues"
},
"homepage": "https://github.com/delta-mpc/delta-chain-connector#readme",
"devDependencies": {
"@tsconfig/node16": "^1.0.2",
"@types/bunyan": "^1.8.8",
"@types/chai": "^4.2.22",
"@types/chai-as-promised": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/module-alias": "^2.0.1",
"@types/node": "^16.10.1",
"@types/sinon": "^10.0.13",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"ganache": "^7.4.1",
"mocha": "^9.1.3",
"prettier": "^2.4.1",
"sinon": "^14.0.1",
"ts-node": "^10.4.0",
"tsconfig-paths": "^4.1.0",
"typescript": "^4.4.3"
},
"dependencies": {
"@ethereumjs/common": "^2.6.0",
"@ethereumjs/tx": "^3.4.0",
"@grpc/grpc-js": "^1.4.1",
"@grpc/proto-loader": "^0.6.6",
"@mikro-orm/cli": "^4.5.9",
"@mikro-orm/core": "^4.5.9",
"@mikro-orm/sqlite": "^4.5.9",
"async-mutex": "^0.3.2",
"bunyan": "^1.8.15",
"commander": "^8.3.0",
"module-alias": "^2.2.2",
"reflect-metadata": "^0.1.13",
"snarkjs": "^0.5.0",
"web3": "^1.6.1",
"web3-core": "^1.6.1",
"web3-eth": "^1.6.1",
"web3-eth-contract": "^1.6.1",
"web3-utils": "^1.6.1"
},
"prettier": {
"tabWidth": 2,
"printWidth": 110,
"useTabs": false,
"semi": true
},
"eslintConfig": {
"ignorePatterns": [
"bin/**/*",
"**/*.js",
"src/service/chain/**.ts",
"src/service/chain.ts"
],
"parser": "@typescript-eslint/parser",
"env": {
"browser": false,
"es6": true,
"node": true
},
"extends": [
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"rules": {
"semi": [
"error",
"always"
],
"quotes": [
"error",
"double"
],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-inferrable-types": [
"warn",
{
"ignoreParameters": true
}
],
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-non-null-assertion": 0
}
}
}