-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
115 lines (115 loc) · 3.75 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
{
"name": "exonum-client",
"version": "0.18.4",
"description": "Light Client for Exonum Blockchain",
"main": "./lib/index.js",
"engines": {
"node": ">=8"
},
"directories": {
"lib": "lib",
"test": "test"
},
"files": [
"dist",
"lib",
"proto"
],
"dependencies": {
"axios": "^0.21.1",
"big-integer": "^1.6.48",
"binary-search": "^1.3.6",
"long": "^4.0.0",
"protobufjs": "6.8.8",
"sha.js": "^2.4.11",
"tweetnacl": "^1.0.3"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/register": "^7.9.0",
"axios-mock-adapter": "^1.18.1",
"babel-eslint": "^10.1.0",
"babel-plugin-istanbul": "^6.0.0",
"babelify": "^10.0.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.1.0",
"cross-env": "^7.0.2",
"deep-eql": "^4.0.0",
"dirty-chai": "^2.0.1",
"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",
"grunt": "^1.1.0",
"grunt-babel": "^8.0.0",
"grunt-browserify": "^5.3.0",
"grunt-cli": "^1.3.2",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-uglify": "^4.0.1",
"grunt-eslint": "^22.0.0",
"grunt-mocha-test": "^0.13.3",
"grunt-string-replace": "^1.3.1",
"json-loader": "^0.5.7",
"load-grunt-tasks": "^5.1.0",
"mocha": "^7.1.2",
"mocha-lcov-reporter": "^1.3.0",
"node-fetch": "^2.6.1",
"nyc": "^15.0.1",
"regenerator-runtime": "^0.13.5",
"uuid": "^7.0.3"
},
"scripts": {
"test": "cross-env BABEL_ENV=test grunt test",
"proto": "pbjs --keep-case -t static-module -p proto proto/exonum/*.proto proto/exonum/**/*.proto -o ./proto/protocol.js",
"proto:test": "pbjs --keep-case -t static-module -r tests -p proto test/sources/proto/*.proto -o ./test/sources/proto/stubs.js",
"proto:integration-tests": "pbjs --keep-case -t static-module -r tests -p proto integration-tests/src/proto/*.proto -o ./integration-tests/src/proto/stubs.js",
"integration:build": "cargo build --manifest-path integration-tests/Cargo.toml",
"integration": "npm run proto:integration-tests && cross-env BABEL_ENV=test mocha -r @babel/register integration-tests/test.js",
"preintegration:unix": "npm run integration:build && npm run postintegration:unix && cargo run --manifest-path integration-tests/Cargo.toml & sleep 10",
"integration:unix": "npm run proto:integration-tests && cross-env BABEL_ENV=test mocha -r @babel/register integration-tests/test.js",
"postintegration:unix": "lsof -iTCP -sTCP:LISTEN -n -P 2>/dev/null | awk '{ if ($9 ~ /:8000$/) { print $2 } }' | xargs -r kill -KILL",
"coveralls": "cross-env NODE_ENV=test nyc mocha ./test/sources/*.js && cat ./coverage/lcov.info | coveralls",
"prepare": "npm run proto && npm run proto:test && grunt compile",
"lint": "eslint ./src ./test ./examples",
"lint:fix": "npm run lint -- --fix",
"git-publish": "npm run prepare && . ./git-publish.sh"
},
"repository": {
"type": "git",
"url": "https://github.com/exonum/exonum-client.git"
},
"author": "The Exonum Team <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/exonum/exonum-client/issues"
},
"nyc": {
"require": [
"@babel/register"
],
"reporter": [
"lcov"
],
"sourceMap": false,
"instrument": false,
"exclude": [
"proto/*.js",
"test/sources/proto/*.js"
]
},
"homepage": "https://github.com/exonum/exonum-client#readme",
"keywords": [
"exonum",
"blockchain",
"transactions",
"cryptography",
"ed25519",
"nacl",
"sha256",
"merkle tree"
]
}