UNPKG

exonum-client

Version:

Light Client for Exonum Blockchain

116 lines (115 loc) 3.84 kB
{ "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 <contact@exonum.com>", "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" ] }