forked from pubkey/eth-crypto
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
106 lines (106 loc) · 3.93 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "eth-crypto",
"version": "2.1.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",
"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",
"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",
"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",
"solidity-cli": "1.0.3",
"terser-webpack-plugin": "4.2.3",
"ts-node": "10.3.1",
"typescript": "4.4.4",
"uglify-es": "3.3.9",
"web3": "1.6.0",
"webpack": "4.41.5",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.1"
},
"dependencies": {
"@babel/runtime": "7.15.4",
"@ethereumjs/tx": "3.3.1",
"@types/bn.js": "5.1.0",
"eccrypto": "1.1.6",
"eth-lib": "0.2.8",
"ethereumjs-util": "7.1.1",
"ethers": "5.5.1",
"secp256k1": "4.0.2"
}
}