UNPKG

tronweb

Version:

JavaScript SDK that encapsulates the TRON HTTP API

91 lines (90 loc) 3.29 kB
{ "name": "tronweb", "version": "2.6.6", "description": "JavaScript SDK that encapsulates the TRON HTTP API", "main": "dist/TronWeb.node.js", "scripts": { "prepare": "npm run build", "build": "npm run clean && webpack --config webpack.config.js --progress --colors", "build:dev": "NODE_ENV=development npm run build", "clean": "rimraf dist", "newaccount": "node scripts/test-node.js && node test/helpers/newAccounts 50", "test": "node scripts/test-node.js && node test/helpers/newAccounts 50 npm run-script newaccount && npx mocha 'test/**/*.test.js'", "test:browser": "npm run-script newaccount && node scripts/test-browser.js && npx karma start --single-run --browsers ChromeHeadless", "coverage": "npm run-script test:browser && npm run-script test", "btest": "npm run build:dev && npm run test" }, "husky": { "hooks": { "pre-commit": "node ./scripts/pre-commit.js" } }, "dependencies": { "@babel/runtime": "^7.0.0", "axios": "^0.19.0", "babel-runtime": "^6.26.0", "bignumber.js": "^7.2.1", "elliptic": "^6.4.1", "ethers": "^4.0.7", "eventemitter3": "^3.1.0", "semver": "^5.6.0", "validator": "^10.7.1" }, "devDependencies": { "@babel/core": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-numeric-separator": "^7.0.0", "@babel/plugin-proposal-object-rest-spread": "^7.0.0", "@babel/plugin-transform-runtime": "^7.0.0", "@babel/preset-env": "^7.0.0", "babel-loader": "^8.0.2", "babel-minify-webpack-plugin": "^0.3.1", "babel-plugin-istanbul": "^5.0.1", "babel-plugin-source-map-support": "^2.0.1", "chai": "^4.1.2", "chalk": "^2.4.1", "eth-sig-util": "^2.1.0", "globby": "^8.0.1", "grunt": "^1.0.4", "grunt-cli": "^1.3.1", "grunt-karma": "^3.0.0", "husky": "^1.0.0-rc.14", "istanbul": "^0.4.5", "istanbul-instrumenter-loader": "^3.0.1", "karma": "^4.0.1", "karma-chrome-launcher": "^2.2.0", "karma-coverage": "^1.1.2", "karma-coverage-istanbul-reporter": "^2.0.4", "karma-edge-launcher": "^0.4.2", "karma-firefox-launcher": "^1.1.0", "karma-mocha": "^1.3.0", "karma-sourcemap-loader": "^0.3.7", "karma-spec-reporter": "^0.0.32", "karma-webpack": "4.0.0-rc.2", "matchdep": "^2.0.0", "mocha": "^5.2.0", "puppeteer": "^1.8.0", "rimraf": "^2.6.2", "source-map-support": "^0.5.9", "webpack": "^4.17.2", "webpack-cli": "^3.1.0", "webpack-node-externals": "^1.7.2" }, "author": { "name": "Kondax", "url": "https://github.com/Kondax" }, "contributors": [ { "name": "Francesco Sullo", "url": "https://github.com/sullof" }, { "name": "TRON-US", "url": "https://github.com/tron-us" } ], "homepage": "https://github.com/tron-us/tronweb", "license": "MIT", "repository": "https://github.com/tron-us/tronweb.git" }