forked from pubkey/eth-crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 4.03 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
107
108
{
"name": "eth-crypto",
"version": "2.6.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.23.0",
"@babel/core": "7.23.2",
"@babel/plugin-transform-runtime": "7.23.2",
"@babel/preset-env": "7.23.2",
"assert": "2.1.0",
"async-test-util": "2.2.0",
"babel-loader": "9.1.3",
"bn.js": "5.2.1",
"browserify": "17.0.0",
"concurrently": "8.2.2",
"convert-hrtime": "5.0.0",
"cross-env": "7.0.3",
"dependency-check": "4.1.0",
"disc": "1.3.3",
"eslint": "8.52.0",
"ganache-cli": "6.12.2",
"gzip-size-cli": "5.1.0",
"is-node": "1.0.2",
"js-sha3": "0.9.2",
"karma": "6.4.2",
"karma-babel-preprocessor": "8.0.2",
"karma-browserify": "8.1.0",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.1",
"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": "10.2.0",
"rimraf": "4.4.1",
"solhint": "3.6.2",
"solidity-cli": "1.0.3",
"terser-webpack-plugin": "5.3.9",
"ts-node": "10.9.1",
"typescript": "5.2.2",
"uglify-es": "3.3.9",
"web3": "1.10.3",
"webpack": "5.75.0",
"webpack-bundle-analyzer": "4.9.1",
"webpack-cli": "5.1.4",
"stream-browserify": "3.0.0",
"crypto-browserify": "3.12.0"
},
"dependencies": {
"@babel/runtime": "7.23.2",
"@ethereumjs/tx": "3.5.2",
"@types/bn.js": "5.1.3",
"eccrypto": "1.1.6",
"ethereumjs-util": "7.1.5",
"ethers": "5.7.2",
"secp256k1": "5.0.0"
}
}