UNPKG

jcc-ethereum-utils

Version:

Toolkit of crossing chain from Ethereum to SWTC chain

122 lines (121 loc) 3.5 kB
{ "name": "jcc-ethereum-utils", "version": "0.3.2", "description": "Toolkit of crossing chain from Ethereum to SWTC chain", "main": "lib/index.js", "types": "lib/index.d.ts", "unpkg": "dist/jcc-ethereum-utils.min.js", "scripts": { "build": "tsc -p tsconfig.json", "deploy": "./publish.sh", "test": "npm run test:node && npm run test:browser", "test:node": "tsc && nyc --extension=.ts --reporter=lcov --reporter=html --reporter=text mocha --timeout=3000 test/*.spec.js --ignore test/ropsten.spec.js", "test:browser": "tsc && karma start karma.conf.js", "test:ropsten": "tsc && mocha --timeout=3000 test/ropsten.spec.js", "tslint": "tslint --project tsconfig.json --config tslint.json", "compile": "./compile.sh", "pretty": "prettier --write {src,test}/**/*.{js,ts}" }, "author": "JCCDex", "license": "Apache-2.0", "dependencies": { "@ethersproject/abi": "^5.0.9", "@types/node": "^14.0.13", "bignumber.js": "^9.0.0", "jcc_wallet": "4.0.9", "web3": "~4.16.0" }, "devDependencies": { "@babel/cli": "^7.8.4", "@babel/core": "^7.8.6", "@babel/preset-env": "^7.8.6", "babel-loader": "^8.0.6", "babelify": "^10.0.0", "browserify": "^16.5.0", "buffer": "^6.0.3", "chai": "^4.2.0", "cross-env": "^7.0.0", "duplicate-package-checker-webpack-plugin": "^3.0.0", "eth-ens-namehash": "^2.0.8", "husky": "^4.2.3", "karma": "^6.4.4", "karma-browserify": "^7.0.0", "karma-chrome-launcher": "^3.1.0", "karma-detect-browsers": "^2.3.3", "karma-env-preprocessor": "^0.1.1", "karma-firefox-launcher": "^1.3.0", "karma-mocha": "^2.0.1", "karma-webpack": "^5.0.1", "mocha": "^10.0.0", "nyc": "^18.0.0", "prettier": "^2.0.5", "pretty-quick": "^2.0.1", "sinon": "^9.2.4", "terser-webpack-plugin": "^5.3.10", "ts-loader": "^7.0.5", "tslint": "^6.0.0", "typescript": "^5.5.4", "webpack": "^5.106.2", "webpack-bundle-analyzer": "^5.3.0", "webpack-cli": "^7.0.2" }, "resolutions": { "node-forge": ">=1.3.1", "@babel/traverse": ">=7.23.2", "json5": ">=2.2.3", "braces": ">=3.0.3", "serialize-javascript": ">=6.0.2", "semver": ">=7.5.4", "word-wrap": ">=1.2.4", "minimist": ">=1.2.8", "elliptic": ">=6.6.1" }, "overrides": { "node-forge": ">=1.3.1", "@babel/traverse": ">=7.23.2", "json5": ">=2.2.3", "braces": ">=3.0.3", "serialize-javascript": ">=6.0.2", "semver": ">=7.5.4", "word-wrap": ">=1.2.4", "minimist": ">=1.2.8", "elliptic": ">=6.6.1" }, "directories": { "test": "test" }, "repository": { "type": "git", "url": "git+https://github.com/JCCDex/jcc-ethereum-utils.git" }, "keywords": [ "cross-chain", "jccdex", "ethereum", "swtc-chain", "blockchain" ], "bugs": { "url": "https://github.com/JCCDex/jcc-ethereum-utils/issues" }, "homepage": "https://github.com/JCCDex/jcc-ethereum-utils#readme", "nyc": { "check-coverage": true, "per-file": false, "lines": 80, "statements": 80, "functions": 80, "branches": 80 }, "husky": { "hooks": { "pre-commit": "npm run tslint && pretty-quick --staged" } }, "files": [ "lib", "dist" ], "sideEffects": false, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" }