-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
97 lines (97 loc) · 4.01 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
{
"author": "evan GmbH",
"dependencies": {
"@evan.network/dbcp": "^1.11.1",
"@evan.network/smart-contracts-core": "^2.11.0",
"@types/node": "^12.6.8",
"ajv": "^6.10.2",
"async-mutex": "^0.1.3",
"babel-plugin-lodash": "^3.3.4",
"bignumber.js": "3.0.1",
"bitcore-lib": "^8.5.1",
"bs58": "^4.0.1",
"crypto-browserify": "^3.12.0",
"crypto-js": "^3.1.9-1",
"did-jwt": "^3.0.0",
"elliptic": "^6.4.1",
"eth-sig-util": "2.1.0",
"ethereumjs-tx": "1.3.4",
"ethereumjs-util": "^6.0.0",
"ipld-graph-builder": "^1.3.9",
"lockmap": "^0.1.0",
"lodash": "^4.17.15",
"node-fetch": "^2.6.0",
"promise-parallel-throttle": "^3.3.0",
"prottle": "^1.0.3",
"scrypt-async": "^2.0.1",
"secp256k1": "^3.6.2",
"small-request": "^2.1.0",
"tweetnacl": "^1.0.1",
"web3": "2.0.0-alpha",
"web3-eth-abi": "2.0.0-alpha.1",
"ws": "^7.3.1",
"xhr2": "^0.2.0"
},
"description": "blockchain interaction core library",
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/chai-as-promised": "^7.1.0",
"@types/mocha": "^5.2.7",
"@typescript-eslint/eslint-plugin": "2.16.0",
"@typescript-eslint/parser": "2.16.0",
"body-parser": "^1.19.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"common-shakeify": "^0.6.2",
"env-cmd": "^9.0.3",
"eslint": "6.8.0",
"eslint-config-airbnb-base": "14.0.0",
"eslint-config-airbnb-typescript": "6.3.1",
"eslint-plugin-chai-friendly": "0.5.0",
"eslint-plugin-import": "2.19.1",
"express": "^4.17.1",
"husky": "^3.0.2",
"mocha": "^6.2.0",
"nyc": "^15.0.1",
"ts-node": "^8.3.0",
"typescript": "^3.7.4"
},
"homepage": "https://evannetwork.github.io/",
"husky": {
"hooks": {
"pre-commit": "eslint --ext .js,.ts -c .eslintrc.js ./src && yarn build-test"
}
},
"keywords": [
"blockchain",
"ethereum",
"smart-contracts",
"javascript",
"typescript",
"API"
],
"license": "AGPL-3.0-only",
"main": "dist/index.js",
"name": "@evan.network/api-blockchain-core",
"repository": {
"type": "git",
"url": "[email protected]:evannetwork/api-blockchain-core.git"
},
"scripts": {
"build": "tsc",
"build-test": "tsc -p ./tsconfig-test.json",
"build-all": "env-cmd --fallback -f ./.env.local npm run build-contracts && env-cmd --fallback -f ./.env.local npm run build",
"build-contracts": "node ./scripts/buildContracts.js",
"installl": "npm install && ./scripts/link.sh",
"lint": "eslint --ext .js,.ts -c .eslintrc.js ./src",
"test:contracts": "env-cmd --fallback -f ./.env.local npm run build && env-cmd --fallback -f ./.env.local mocha --exit --inspect -r ts-node/register src/contracts/*.spec.ts src/contracts/base-contract/*.spec.ts src/contracts/business-center/*.spec.ts src/contracts/service-contract/*.spec.ts",
"test:datacontract": "env-cmd --fallback -f ./.env.local npm run build && env-cmd --fallback -f ./.env.local mocha --exit --inspect -r ts-node/register src/contracts/data-contract/*.spec.ts",
"test:services": "env-cmd --fallback -f ./.env.local npm run build && env-cmd --fallback -f ./.env.local mocha --exit --inspect -r ts-node/register src/claims/*.spec.ts src/dfs/*.spec.ts src/encryption/*.spec.ts src/profile/*.spec.ts src/*.spec.ts",
"testunit": "env-cmd --fallback -f ./.env.local npm run build && env-cmd --fallback -f ./.env.local mocha --exit --inspect -r ts-node/register $*",
"testunitbail": "env-cmd --fallback -f ./.env.local npm run build && env-cmd --fallback -f ./.env.local mocha --exit -b --inspect -r ts-node/register $*",
"testunitbrk": "env-cmd --fallback -f ./.env.local npm run build && env-cmd --fallback -f ./.env.local mocha --exit --inspect-brk -r ts-node/register $*",
"testunitcoverage": "env-cmd --fallback -f ./.env.local npm run build && nyc -r lcov -e .ts -x \"**/*.spec.ts\" -x \"lib\" mocha --exit -r ts-node/register $TESTSPECS && nyc report --reporter=json > coverage/coverage.json"
},
"types": "./dist/index.d.ts",
"version": "2.20.0"
}