exonum-client-cis
Version:
Light Client for Exonum CIS Blockchain
115 lines (114 loc) • 4.1 kB
JSON
{
"name": "exonum-client-cis",
"version": "0.17.4",
"description": "Light Client for Exonum CIS Blockchain",
"main": "./lib/index.js",
"engines": {
"node": ">=4"
},
"directories": {
"lib": "lib",
"test": "test"
},
"files": [
"dist",
"lib",
"proto/**/*.js"
],
"dependencies": {
"@babel/runtime": "^7.8.4",
"axios": "^0.19.1",
"big-integer": "^1.6.48",
"binary-search": "^1.3.6",
"long": "^4.0.0",
"protobufjs": "6.8.8",
"sha.js": "^2.4.11",
"sodium-native": "^2.4.8",
"tweetnacl": "^0.14.5"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/plugin-syntax-bigint": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/register": "^7.0.0",
"axios-mock-adapter": "^1.17.0",
"babel-eslint": "^10.0.3",
"babel-plugin-istanbul": "^5.2.0",
"babelify": "^10.0.0",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.0.9",
"cross-env": "^5.2.1",
"deep-eql": "^4.0.0",
"dirty-chai": "^2.0.1",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
"grunt": "^1.0.4",
"grunt-babel": "^8.0.0",
"grunt-browserify": "^5.3.0",
"grunt-cli": "^1.3.1",
"grunt-contrib-clean": "^1.1.0",
"grunt-contrib-uglify": "^4.0.1",
"grunt-eslint": "^20.2.0",
"grunt-mocha-test": "^0.13.3",
"grunt-string-replace": "^1.3.1",
"istanbul": "^0.4.5",
"jsdom": "16.0.1",
"jsdom-global": "3.0.2",
"json-loader": "^0.5.7",
"load-grunt-tasks": "^3.5.2",
"mocha": "^5.2.0",
"mocha-jsdom": "^2.0.0",
"mocha-lcov-reporter": "^1.3.0",
"node-fetch": "^2.6.0",
"nyc": "^15.0.0",
"uuid": "^3.4.0"
},
"scripts": {
"test": "cross-env BABEL_ENV=test grunt test",
"proto": "pbjs --keep-case -t static-module ./proto/**/*.proto -o ./proto/protocol.js",
"proto:test": "pbjs --keep-case -t static-module ./proto/**/*.proto ./test/sources/proto/**/*.proto -o ./test/sources/proto/stubs.js",
"proto:integration-tests": "pbjs --keep-case -t static-module ./proto/**/*.proto ./integration-tests/src/proto/**/*.proto -o ./integration-tests/src/proto/stubs.js",
"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",
"lint:fix": "npm run lint -- --fix",
"integration:killserver": "npm run proto:integration-tests && lsof -iTCP -sTCP:LISTEN -n -P 2>/dev/null | awk '{ if ($9 ~ /:8000$/) { print $2 } }' | xargs kill -KILL",
"integration:startserver": "npm run integration:killserver && cargo +nightly run --manifest-path integration-tests/Cargo.toml & sleep 5 && while ! nc -z localhost 8000; do sleep 0.1; done",
"integration:startserver:gost": "npm run integration:killserver && source .mac-env && cargo +nightly run --manifest-path integration-tests/Cargo.toml --no-default-features --features 'gost' & sleep 5 && while ! nc -z localhost 8000; do sleep 0.1; done",
"integration:nist": "npm run integration:startserver && cross-env BABEL_ENV=test mocha -r @babel/register integration-tests/test.js",
"integration:gost": "npm run integration:startserver:gost && TEST_GOST=true cross-env BABEL_ENV=test mocha -r @babel/register integration-tests/test.js",
"integration:all": "npm run integration:nist && npm run integration:gost"
},
"author": "Exonum Team <russia@bitfury.com>",
"license": "Apache-2.0",
"nyc": {
"require": [
"@babel/register"
],
"reporter": [
"lcov"
],
"sourceMap": false,
"instrument": false,
"exclude": [
"proto/*.js",
"test/sources/proto/*.js"
]
},
"keywords": [
"exonum",
"blockchain",
"transactions",
"cryptography",
"ed25519",
"nacl",
"sha256",
"merkle tree"
]
}