six-caver-js
Version:
caver-js is a JavaScript API library that allows developers to interact with a Klaytn node
131 lines (130 loc) • 10.4 kB
JSON
{
"name": "six-caver-js",
"version": "1.6.1",
"description": "caver-js is a JavaScript API library that allows developers to interact with a Klaytn node",
"main": "index.js",
"scripts": {
"test": "npm run build && npm run transactionTest && ./node_modules/mocha/bin/mocha test/packages/caver.utils.js && ./node_modules/mocha/bin/mocha test/packages/caver.klay.net.js && npm run accountTest && npm run serTest && npm run walletTest && ./node_modules/mocha/bin/mocha test/contractError.js && ./node_modules/mocha/bin/mocha test/contractOverloading.js",
"build-all": "gulp all",
"build": "./node_modules/.bin/webpack --mode production",
"lint": "./node_modules/.bin/eslint './**/*.js'",
"lintFix": "./node_modules/.bin/eslint './**/*.js' --fix",
"serTest": "./node_modules/mocha/bin/mocha test/transactionType/serializationTest.js && ./node_modules/mocha/bin/mocha test/compressionPublicKey.js && ./node_modules/mocha/bin/mocha test/encodeContractDeploy.js && ./node_modules/mocha/bin/mocha test/parseAccountKey.js && ./node_modules/mocha/bin/mocha test/decodeTransaction.js && ./node_modules/mocha/bin/mocha ./test/abi.encodeParameter.js && ./node_modules/mocha/bin/mocha ./test/abi.decodeParameter.js && ./node_modules/mocha/bin/mocha ./test/abi.decodeLog.js",
"accountTest": "./node_modules/mocha/bin/mocha test/packages/caver.account.js && ./node_modules/mocha/bin/mocha test/packages/caver.account.accountKey.js",
"walletTest": "./node_modules/mocha/bin/mocha test/packages/caver.wallet.js && ./node_modules/mocha/bin/mocha test/packages/caver.wallet.keyring.js && ./node_modules/mocha/bin/mocha test/accountLib.js && ./node_modules/mocha/bin/mocha test/accounts.privateKeyToPublicKey.js && ./node_modules/mocha/bin/mocha test/accounts.recover.js && ./node_modules/mocha/bin/mocha test/packages/caver.klay.accounts.js && ./node_modules/mocha/bin/mocha test/isValidPrivateKey.js && ./node_modules/mocha/bin/mocha test/privateKeyToAccount.js",
"rpcTest": "./node_modules/mocha/bin/mocha test/packages/caver.rpc.js",
"transactionTest": "./node_modules/mocha/bin/mocha test/packages/caver.transaction/*.js && ./node_modules/mocha/bin/mocha test/createTest.js",
"txTest": "./node_modules/mocha/bin/mocha test/methodErrorHandling.js && ./node_modules/mocha/bin/mocha test/sendSignedTransaction.js && ./node_modules/mocha/bin/mocha test/estimateComputationCost.js && ./node_modules/mocha/bin/mocha test/getTransactionReceipt.js && ./node_modules/mocha/bin/mocha test/setNonceWithPendingTag.js && ./node_modules/mocha/bin/mocha test/getTransaction.js && ./node_modules/mocha/bin/mocha test/setContractOptions.js && ./node_modules/mocha/bin/mocha test/encodeContractDeploy.js && ./node_modules/mocha/bin/mocha test/accounts.signTransaction.js && ./node_modules/mocha/bin/mocha test/sendTransactionCallback.js && ./node_modules/mocha/bin/mocha test/signWithMultiSig.js && ./node_modules/mocha/bin/mocha test/transactionType/legacyTransaction.js && ./node_modules/mocha/bin/mocha test/transactionType/valueTransfer* && ./node_modules/mocha/bin/mocha test/transactionType/accountUpdate.js && ./node_modules/mocha/bin/mocha test/transactionType/contract* && ./node_modules/mocha/bin/mocha test/transactionType/cancelTransaction.js && ./node_modules/mocha/bin/mocha test/transactionType/feeDelegated*",
"etcTest": "./node_modules/mocha/bin/mocha ./test/packages/caver.contract.js && ./node_modules/mocha/bin/mocha ./test/tupleTest.js && ./node_modules/mocha/bin/mocha ./test/contract.setWallet.js && ./node_modules/mocha/bin/mocha ./test/setRequestManager.js && ./node_modules/mocha/bin/mocha test/contractError.js && ./node_modules/mocha/bin/mocha test/reconnectTest.js && ./node_modules/mocha/bin/mocha test/packages/caver.utils.js && ./node_modules/mocha/bin/mocha test/confirmationListener.js && ./node_modules/mocha/bin/mocha test/hashMessage.js && ./node_modules/mocha/bin/mocha test/iban.* && ./node_modules/mocha/bin/mocha test/randomHex.js && ./node_modules/mocha/bin/mocha test/sha3.js && ./node_modules/mocha/bin/mocha test/toChecksumAddress.js && ./node_modules/mocha/bin/mocha test/unitMap.js && ./node_modules/mocha/bin/mocha test/default* && ./node_modules/mocha/bin/mocha test/getNodeInfo.js && ./node_modules/mocha/bin/mocha test/eventEmitter.js && ./node_modules/mocha/bin/mocha test/packages/caver.klay.net.js && ./node_modules/mocha/bin/mocha test/getNetworkType.js && ./node_modules/mocha/bin/mocha test/invalidResponse.js && ./node_modules/mocha/bin/mocha test/isContractDeployment.js && ./node_modules/mocha/bin/mocha test/personal.js && ./node_modules/mocha/bin/mocha test/multiProviderTest.js && ./node_modules/mocha/bin/mocha test/subscription.js && ./node_modules/mocha/bin/mocha test/supportsSubscriptions.js && ./node_modules/mocha/bin/mocha test/contract.once.js && ./node_modules/mocha/bin/mocha test/setProvider.js && ./node_modules/mocha/bin/mocha test/contractOverloading.js && ./node_modules/mocha/bin/mocha test/ipfsTest.js && ./node_modules/mocha/bin/mocha test/createTest.js",
"accountKeyTest": "./node_modules/mocha/bin/mocha test/scenarioTest/accountKeyPublic.js && ./node_modules/mocha/bin/mocha test/scenarioTest/accountKeyMultiSig.js && ./node_modules/mocha/bin/mocha test/scenarioTest/accountKeyRoleBased.js",
"kctTest": "./node_modules/mocha/bin/mocha test/packages/caver.klay.KIP7.js && ./node_modules/mocha/bin/mocha test/packages/caver.klay.KIP17.js && ./node_modules/mocha/bin/mocha test/packages/caver.kct.kip37.js && ./node_modules/mocha/bin/mocha test/createTest.js",
"intTxTest": "npm run intLEGACYTest && npm run intVTTest && npm run intVTMTest && npm run intACCUPTest && npm run intDEPLTest && npm run intEXETest && npm run intCANCELTest && npm run intFDTest && npm run intFDRTest",
"intLEGACYTest": "./node_modules/mocha/bin/mocha --grep INT-LEGACY/ test/intTest.js",
"intVTTest": "./node_modules/mocha/bin/mocha --grep INT-VT/ test/intTest.js",
"intVTMTest": "./node_modules/mocha/bin/mocha --grep INT-VTM/ test/intTest.js",
"intACCUPTest": "./node_modules/mocha/bin/mocha --grep INT-ACCUP/ test/intTest.js",
"intDEPLTest": "./node_modules/mocha/bin/mocha --grep INT-DEPL/ test/intTest.js",
"intEXETest": "./node_modules/mocha/bin/mocha --grep INT-EXE/ test/intTest.js",
"intCANCELTest": "./node_modules/mocha/bin/mocha --grep INT-CANCEL/ test/intTest.js",
"intFDTest": "./node_modules/mocha/bin/mocha --grep INT-FD/ test/intTest.js",
"intFDRTest": "./node_modules/mocha/bin/mocha --grep INT-FDR/ test/intTest.js",
"intSIGVALITest": "./node_modules/mocha/bin/mocha --grep INT-SIGVALI/ test/intTest.js",
"intAPITest": "./node_modules/mocha/bin/mocha --grep INT-API/ test/intTest.js",
"intSOLTest": "./node_modules/mocha/bin/mocha --grep INT-SOL/00 test/intTest.js && ./node_modules/mocha/bin/mocha --grep INT-SOL/01 test/intTest.js && ./node_modules/mocha/bin/mocha --grep INT-SOL/02 test/intTest.js && ./node_modules/mocha/bin/mocha --grep INT-SOL/03 test/intTest.js && ./node_modules/mocha/bin/mocha --grep INT-SOL/04 test/intTest.js && ./node_modules/mocha/bin/mocha --grep INT-SOL/05 test/intTest.js && ./node_modules/mocha/bin/mocha --grep INT-SOL/06 test/intTest.js && ./node_modules/mocha/bin/mocha --grep INT-SOL/07 test/intTest.js && ./node_modules/mocha/bin/mocha --grep INT-SOL/08 test/intTest.js && ./node_modules/mocha/bin/mocha --grep INT-SOL/09 test/intTest.js && ./node_modules/mocha/bin/mocha --grep INT-SOL/1 test/intTest.js",
"cover": "npm run build && nyc --silent ./node_modules/mocha/bin/mocha test/packages/caver.utils.js && nyc --silent --no-clean ./node_modules/mocha/bin/mocha test/packages/caver.klay.net.js && npm run cover:serialization && npm run cover:wallet && npm run cover:report",
"cover:serialization": "nyc --silent --no-clean npm run serTest",
"cover:wallet": "nyc --silent --no-clean npm run walletTest",
"cover:report": "nyc report --reporter=html --reporter=text"
},
"keywords": [
"caver",
"caverjs",
"caver-js",
"caver.js",
"klaytn",
"klaytn sdk",
"klaytn api"
],
"repository": {
"type": "git",
"url": "https://github.com/klaytn/caver-js.git"
},
"bugs": {
"url": "https://github.com/klaytn/caver-js/issues"
},
"homepage": "https://github.com/klaytn/caver-js",
"author": "Klaytn Team",
"license": "LGPL",
"dependencies": {
"@babel/runtime": "7.3.1",
"@ethersproject/abi": "5.0.7",
"@web3-js/scrypt-shim": "0.1.0",
"any-promise": "1.3.0",
"bignumber.js": "8.0.2",
"bn.js": "4.11.6",
"chai": "4.1.2",
"crypto-browserify": "3.12.0",
"dotenv": "8.2.0",
"elliptic": "6.5.4",
"eth-lib": "0.2.8",
"ethers": "5.0.32",
"ethjs-unit": "0.1.6",
"eventemitter3": "4.0.0",
"ipfs-http-client-lite": "0.3.0",
"it-each": "0.4.0",
"lodash": "4.17.21",
"mocha": "8.3.2",
"multihashes": "4.0.2",
"node-fetch": "2.6.1",
"number-to-bn": "1.7.0",
"oboe": "2.1.3",
"request": "2.87.0",
"requestretry": "2.0.2",
"scrypt-js": "3.0.1",
"semver": "6.2.0",
"utf8": "2.1.1",
"uuid": "3.0.0",
"webpack": "4.44.2",
"webpack-cli": "3.3.12",
"websocket": "1.0.31",
"xhr2-cookies": "1.1.0"
},
"devDependencies": {
"@babel/core": "7.1.2",
"@babel/plugin-external-helpers": "7.0.0",
"@babel/plugin-transform-runtime": "7.1.0",
"@babel/preset-env": "7.3.1",
"babel-eslint": "10.1.0",
"babel-plugin-external-helpers": "6.22.0",
"babelrc-rollup": "3.0.0",
"browserify": "16.2.2",
"chai-as-promised": "7.1.1",
"del": "3.0.0",
"eslint": "7.11.0",
"eslint-config-airbnb": "17.0.0",
"eslint-config-google": "0.14.0",
"eslint-config-prettier": "6.4.0",
"eslint-plugin-import": "2.13.0",
"eslint-plugin-jsx-a11y": "6.1.1",
"eslint-plugin-prettier": "3.1.1",
"eslint-plugin-react": "7.10.0",
"exorcist": "2.0.0",
"gulp": "4.0.0",
"gulp-babel": "8.0.0",
"gulp-jshint": "2.1.0",
"gulp-newer": "1.4.0",
"gulp-plumber": "1.2.0",
"gulp-rename": "1.4.0",
"gulp-replace": "1.0.0",
"gulp-streamify": "1.0.2",
"gulp-uglify": "3.0.1",
"jshint": "2.9.7",
"nock": "10.0.6",
"nyc": "14.1.1",
"path": "0.12.7",
"prettier": "1.18.2",
"sinon": "9.0.0",
"sinon-chai": "3.5.0",
"vinyl-source-stream": "2.0.0"
}
}