blockchainethereumsmart-contractssoliditytutorialdappweb3ethtruffleweb3jstransactionsigntransactionsignaturesign-datasignpublickeyprivatekeyethereum-identityencryptioncipher
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
4.0 KiB
108 lines
4.0 KiB
{
|
|
"name": "eth-crypto",
|
|
"version": "2.5.0",
|
|
"description": "Cryptographic functions for ethereum and how to use them with web3 and solidity",
|
|
"keywords": [
|
|
"ethereum",
|
|
"eth",
|
|
"web3",
|
|
"solidity",
|
|
"encryption",
|
|
"secp256k1",
|
|
"dapp",
|
|
"blockchain",
|
|
"ecies",
|
|
"smart-contract",
|
|
"identity",
|
|
"signature"
|
|
],
|
|
"main": "./dist/lib/index.js",
|
|
"jsnext:main": "./dist/es/index.js",
|
|
"module": "./dist/es/index.js",
|
|
"types": "./typings/index.d.ts",
|
|
"scripts": {
|
|
"test": "npm run test:node && npm run test:browser",
|
|
"test:node": "npm run build && mocha ./test/index.test.js -b --timeout 6000 --exit",
|
|
"test:browser": "npm run build && karma start ./config/karma.conf.js --single-run",
|
|
"test:size": "npm run build && rimraf test_tmp/browserify.js && browserify --no-builtins dist/lib/browserify.index.js > test_tmp/browserify.js && uglifyjs --compress --mangle --output test_tmp/browserify.min.js -- test_tmp/browserify.js && echo \"Build-Size (minified+gzip):\" && gzip-size --raw test_tmp/browserify.min.js",
|
|
"test:typings": "npm run build && mocha ./test/typings.test.js -b --timeout 12000 --exit",
|
|
"test:deps": "dependency-check ./package.json --no-dev --unused --ignore-module @types/bn.js",
|
|
"lint": "eslint --ignore-path .eslintignore src test config && solhint \"contracts/**/*.sol\"",
|
|
"clear": "rimraf -rf ./dist && rimraf -rf ./gen && rimraf -rf ./test_tmp",
|
|
"build:sol": "solidity-cli -i './contracts/*.sol' -o ./gen",
|
|
"build:es6": "rimraf -rf dist/es && cross-env NODE_ENV=es6 babel src --out-dir dist/es",
|
|
"build:es5": "babel src --out-dir dist/lib",
|
|
"build:test": "babel test --out-dir test_tmp",
|
|
"build": "npm run clear && concurrently \"npm run build:es6\" \"npm run build:es5\" \"npm run build:test\" \"npm run build:sol\"",
|
|
"build:webpack": "npm run build && cross-env NODE_ENV=build webpack --config ./config/webpack.config.js",
|
|
"build:size": "npm run build:webpack && echo \"Build-Size (minified+gzip):\" && gzip-size --raw ./test_tmp/webpack.bundle.js",
|
|
"disc": "npm run build && cross-env NODE_ENV=disc webpack --config ./config/webpack.config.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/pubkey/eth-crypto.git"
|
|
},
|
|
"author": "pubkey",
|
|
"funding": "https://github.com/sponsors/pubkey",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/pubkey/eth-crypto/issues"
|
|
},
|
|
"homepage": "https://github.com/pubkey/eth-crypto#readme",
|
|
"devDependencies": {
|
|
"@babel/cli": "7.20.7",
|
|
"@babel/core": "7.20.12",
|
|
"@babel/plugin-transform-runtime": "7.19.6",
|
|
"@babel/preset-env": "7.20.2",
|
|
"assert": "2.0.0",
|
|
"async-test-util": "2.0.0",
|
|
"babel-loader": "9.1.2",
|
|
"bn.js": "5.2.1",
|
|
"browserify": "17.0.0",
|
|
"concurrently": "7.6.0",
|
|
"convert-hrtime": "5.0.0",
|
|
"cross-env": "7.0.3",
|
|
"dependency-check": "4.1.0",
|
|
"disc": "1.3.3",
|
|
"eslint": "7.32.0",
|
|
"ganache-cli": "6.12.2",
|
|
"gzip-size-cli": "4.1.0",
|
|
"is-node": "1.0.2",
|
|
"js-sha3": "0.8.0",
|
|
"karma": "6.4.1",
|
|
"karma-babel-preprocessor": "8.0.2",
|
|
"karma-browserify": "8.1.0",
|
|
"karma-chrome-launcher": "3.1.1",
|
|
"karma-coverage": "2.2.0",
|
|
"karma-detect-browsers": "2.3.3",
|
|
"karma-edge-launcher": "0.4.2",
|
|
"karma-firefox-launcher": "2.1.2",
|
|
"karma-ie-launcher": "1.0.0",
|
|
"karma-mocha": "2.0.1",
|
|
"karma-opera-launcher": "1.0.0",
|
|
"karma-safari-launcher": "1.0.0",
|
|
"mocha": "9.2.2",
|
|
"rimraf": "3.0.2",
|
|
"solhint": "3.4.0",
|
|
"solidity-cli": "1.0.3",
|
|
"terser-webpack-plugin": "5.3.6",
|
|
"ts-node": "10.9.1",
|
|
"typescript": "4.9.5",
|
|
"uglify-es": "3.3.9",
|
|
"web3": "1.8.2",
|
|
"webpack": "5.75.0",
|
|
"webpack-bundle-analyzer": "4.8.0",
|
|
"webpack-cli": "5.0.1",
|
|
"stream-browserify": "3.0.0",
|
|
"crypto-browserify": "3.12.0"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "7.20.13",
|
|
"@ethereumjs/tx": "3.5.2",
|
|
"@types/bn.js": "5.1.1",
|
|
"eccrypto": "1.1.6",
|
|
"ethereumjs-util": "7.1.5",
|
|
"ethers": "5.7.2",
|
|
"secp256k1": "5.0.0"
|
|
}
|
|
}
|
|
|