|
|
|
@ -12,7 +12,9 @@ |
|
|
|
|
"dapp", |
|
|
|
|
"blockchain", |
|
|
|
|
"ecies", |
|
|
|
|
"smart-contract" |
|
|
|
|
"smart-contract", |
|
|
|
|
"identity", |
|
|
|
|
"signature" |
|
|
|
|
], |
|
|
|
|
"main": "./dist/lib/index.js", |
|
|
|
|
"jsnext:main": "./dist/es/index.js", |
|
|
|
@ -23,7 +25,7 @@ |
|
|
|
|
"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", |
|
|
|
|
"lint": "eslint --ignore-path ./config/.eslintignore src test config scripts && solhint \"contracts/**/*.sol\"", |
|
|
|
|
"clear": "rimraf -rf ./dist", |
|
|
|
|
"clear": "rimraf -rf ./dist && rimraf -rf ./gen", |
|
|
|
|
"build:sol": "mkdir -p ./gen && node ./scripts/compile-contract.node.js", |
|
|
|
|
"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", |
|
|
|
@ -43,8 +45,8 @@ |
|
|
|
|
"assert": "1.4.1", |
|
|
|
|
"async-test-util": "1.5.1", |
|
|
|
|
"babel-cli": "6.26.0", |
|
|
|
|
"babel-core": "6.26.0", |
|
|
|
|
"babel-eslint": "8.2.2", |
|
|
|
|
"babel-core": "6.26.3", |
|
|
|
|
"babel-eslint": "8.2.3", |
|
|
|
|
"babel-loader": "7.1.4", |
|
|
|
|
"babel-plugin-transform-async-to-generator": "6.24.1", |
|
|
|
|
"babel-plugin-transform-class-properties": "6.24.1", |
|
|
|
@ -64,20 +66,20 @@ |
|
|
|
|
"babel-preset-latest": "6.24.1", |
|
|
|
|
"concurrently": "3.5.1", |
|
|
|
|
"convert-hrtime": "2.0.0", |
|
|
|
|
"cross-env": "5.1.4", |
|
|
|
|
"eslint": "4.18.2", |
|
|
|
|
"cross-env": "5.1.5", |
|
|
|
|
"eslint": "4.19.1", |
|
|
|
|
"ganache-cli": "6.1.0", |
|
|
|
|
"js-sha3": "0.7.0", |
|
|
|
|
"karma": "2.0.0", |
|
|
|
|
"karma": "2.0.2", |
|
|
|
|
"karma-babel-preprocessor": "7.0.0", |
|
|
|
|
"karma-browserify": "5.2.0", |
|
|
|
|
"karma-chrome-launcher": "2.2.0", |
|
|
|
|
"karma-coverage": "1.1.1", |
|
|
|
|
"karma-coverage": "1.1.2", |
|
|
|
|
"karma-mocha": "1.3.0", |
|
|
|
|
"mocha": "5.0.4", |
|
|
|
|
"node": "9.8.0", |
|
|
|
|
"mocha": "5.1.1", |
|
|
|
|
"node": "10.0.0", |
|
|
|
|
"rimraf": "2.6.2", |
|
|
|
|
"solc": "0.4.21", |
|
|
|
|
"solc": "0.4.23", |
|
|
|
|
"solhint": "1.1.10" |
|
|
|
|
}, |
|
|
|
|
"dependencies": { |
|
|
|
@ -86,7 +88,7 @@ |
|
|
|
|
"eccrypto": "1.0.3", |
|
|
|
|
"eth-lib": "0.2.8", |
|
|
|
|
"ethereumjs-tx": "1.3.4", |
|
|
|
|
"ethereumjs-util": "5.1.5", |
|
|
|
|
"ethereumjs-util": "5.2.0", |
|
|
|
|
"secp256k1": "3.5.0", |
|
|
|
|
"web3": "1.0.0-beta.34" |
|
|
|
|
} |
|
|
|
|