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

110 lines
4.1 KiB

{
"name": "eth-crypto",
7 years ago
"version": "1.2.1",
"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",
"lint": "eslint --ignore-path ./config/.eslintignore src test config scripts && 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": "cross-env NODE_ENV=es5 node node_modules/babel-cli/bin/babel.js src --out-dir dist/lib",
"build:test": "cross-env NODE_ENV=es5 node node_modules/babel-cli/bin/babel.js 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\""
},
"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": {
"assert": "1.4.1",
"async-test-util": "1.6.1",
"babel-cli": "6.26.0",
7 years ago
"babel-core": "6.26.3",
"babel-eslint": "8.2.3",
7 years ago
"babel-loader": "7.1.4",
"babel-plugin-transform-async-to-generator": "6.24.1",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-es2015-block-scoping": "6.26.0",
"babel-plugin-transform-es2015-constants": "6.1.4",
"babel-plugin-transform-es3-member-expression-literals": "6.22.0",
"babel-plugin-transform-es3-property-literals": "6.22.0",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-plugin-transform-regenerator": "6.26.0",
"babel-plugin-transform-runtime": "6.23.0",
"babel-polyfill": "6.26.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-es2015-native-modules": "6.9.4",
"babel-preset-es2015-rollup": "3.0.0",
"babel-preset-es2016": "6.24.1",
"babel-preset-es2017": "6.24.1",
"babel-preset-latest": "6.24.1",
"browserify": "16.2.2",
"concurrently": "3.5.1",
"convert-hrtime": "2.0.0",
7 years ago
"cross-env": "5.1.6",
7 years ago
"eslint": "4.19.1",
7 years ago
"ganache-cli": "6.1.0",
"gzip-size-cli": "^2.1.0",
"is-node": "1.0.2",
7 years ago
"js-sha3": "0.7.0",
7 years ago
"karma": "2.0.2",
"karma-babel-preprocessor": "7.0.0",
"karma-browserify": "5.2.0",
"karma-chrome-launcher": "2.2.0",
7 years ago
"karma-coverage": "1.1.2",
"karma-detect-browsers": "2.3.2",
"karma-edge-launcher": "0.4.2",
"karma-firefox-launcher": "1.1.0",
"karma-ie-launcher": "1.0.0",
"karma-mocha": "1.3.0",
"karma-opera-launcher": "1.0.0",
"karma-safari-launcher": "1.0.0",
7 years ago
"mocha": "5.2.0",
"node": "10.3.0",
"rimraf": "2.6.2",
7 years ago
"solhint": "1.2.1",
"solidity-cli": "1.0.1",
"uglify-es": "3.3.9",
"web3": "1.0.0-beta.34"
},
"dependencies": {
"babel-runtime": "6.26.0",
"bn.js": "4.11.8",
"eccrypto": "1.0.3",
7 years ago
"eth-lib": "0.2.8",
"ethereumjs-tx": "1.3.4",
7 years ago
"ethereumjs-util": "5.2.0",
"secp256k1": "3.5.0",
"web3-eth-contract": "1.0.0-beta.34",
"web3-utils": "1.0.0-beta.34"
}
}