Cryptographic javascript-functions for ethereum and tutorials to use them with web3js and solidity
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.
eth-crypto/package.json

107 lines
3.9 KiB

{
"name": "eth-crypto",
3 years ago
"version": "2.1.0",
"description": "Cryptographic functions for ethereum and how to use them with web3 and solidity",
7 years ago
"keywords": [
"ethereum",
7 years ago
"eth",
7 years ago
"web3",
"solidity",
7 years ago
"encryption",
"secp256k1",
7 years ago
"dapp",
"blockchain",
"ecies",
7 years ago
"smart-contract",
"identity",
"signature"
7 years ago
],
"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",
6 years ago
"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",
"license": "MIT",
"bugs": {
"url": "https://github.com/pubkey/eth-crypto/issues"
},
"homepage": "https://github.com/pubkey/eth-crypto#readme",
"devDependencies": {
"@babel/cli": "7.15.7",
"@babel/core": "7.15.8",
"@babel/plugin-transform-runtime": "7.15.8",
"@babel/preset-env": "7.15.8",
"assert": "2.0.0",
"async-test-util": "1.7.3",
"babel-loader": "8.2.3",
"bn.js": "5.2.0",
"browserify": "17.0.0",
"concurrently": "6.3.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",
6 years ago
"js-sha3": "0.8.0",
"karma": "6.3.5",
"karma-babel-preprocessor": "8.0.1",
"karma-browserify": "8.1.0",
"karma-chrome-launcher": "3.1.0",
"karma-coverage": "2.0.3",
6 years ago
"karma-detect-browsers": "2.3.3",
"karma-edge-launcher": "0.4.2",
"karma-firefox-launcher": "2.1.1",
"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.1.3",
"rimraf": "3.0.2",
"solhint": "3.3.6",
6 years ago
"solidity-cli": "1.0.3",
"terser-webpack-plugin": "4.2.3",
"ts-node": "10.4.0",
"typescript": "4.4.4",
"uglify-es": "3.3.9",
"web3": "1.6.0",
5 years ago
"webpack": "4.41.5",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.1"
},
"dependencies": {
3 years ago
"@babel/runtime": "7.15.4",
"@ethereumjs/tx": "3.3.1",
"@types/bn.js": "5.1.0",
"eccrypto": "1.1.6",
7 years ago
"eth-lib": "0.2.8",
"ethereumjs-util": "7.1.1",
"ethers": "5.5.1",
"secp256k1": "4.0.2"
}
}