2016-07-14 20:43:15 +03:00
|
|
|
{
|
2017-03-08 09:50:12 +03:00
|
|
|
"name": "ethers",
|
2018-06-13 22:39:39 +03:00
|
|
|
"version": "4.0.0",
|
2016-07-14 20:43:15 +03:00
|
|
|
"description": "Ethereum wallet library.",
|
2018-06-22 03:24:30 +03:00
|
|
|
"main": "./index.js",
|
2018-06-22 00:57:33 +03:00
|
|
|
"types": "./dist/ethers.d.ts",
|
2016-07-14 20:43:15 +03:00
|
|
|
"scripts": {
|
2018-06-14 09:25:56 +03:00
|
|
|
"build": "tsc -p ./tsconfig.json",
|
|
|
|
"auto-build": "npm run build -- -w",
|
2018-06-24 11:03:21 +03:00
|
|
|
"dist": "npm run build && gulp default minified && npm run dist-types",
|
2018-06-21 03:29:54 +03:00
|
|
|
"dist-bip39": "gulp bip39-it bip39-ja bip39-ko bip39-zh",
|
2018-06-24 11:03:21 +03:00
|
|
|
"dist-types": "gulp temp-types && dts-bundle --name ethers --main .tmp/index.d.ts --out ../dist/ethers.d.ts",
|
2017-10-23 01:17:31 +03:00
|
|
|
"test": "if [ \"$RUN_PHANTOMJS\" = \"1\" ]; then npm run-script test-phantomjs; else npm run-script test-node; fi",
|
2018-06-14 09:25:56 +03:00
|
|
|
"test-node": "mocha tests/test-*.js",
|
|
|
|
"test-phantomjs": "gulp minified tests && phantomjs --web-security=false ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js ./tests/test.html",
|
|
|
|
"version": "npm dist"
|
2016-07-14 20:43:15 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-06-13 22:39:39 +03:00
|
|
|
"@types/node": "^10.3.2",
|
2018-03-05 03:31:09 +03:00
|
|
|
"aes-js": "3.0.0",
|
|
|
|
"bn.js": "^4.4.0",
|
|
|
|
"elliptic": "6.3.3",
|
2018-06-14 09:55:44 +03:00
|
|
|
"hash.js": "1.1.3",
|
2018-03-05 03:31:09 +03:00
|
|
|
"js-sha3": "0.5.7",
|
|
|
|
"scrypt-js": "2.0.3",
|
|
|
|
"setimmediate": "1.0.4",
|
|
|
|
"uuid": "2.0.1",
|
|
|
|
"xmlhttprequest": "1.8.0"
|
2016-07-27 00:57:11 +03:00
|
|
|
},
|
2016-07-14 20:43:15 +03:00
|
|
|
"devDependencies": {
|
2018-06-14 09:25:56 +03:00
|
|
|
"browserify": "^16.2.2",
|
2018-03-05 04:00:46 +03:00
|
|
|
"browserify-zlib": "^0.2.0",
|
2018-06-24 11:03:21 +03:00
|
|
|
"dts-bundle": "^0.7.3",
|
2018-06-14 09:25:56 +03:00
|
|
|
"gulp": "^3.9.1",
|
|
|
|
"gulp-cli": "^2.0.1",
|
|
|
|
"gulp-sourcemaps": "^2.6.4",
|
|
|
|
"gulp-typescript": "^5.0.0-alpha.1",
|
|
|
|
"gulp-uglify": "^3.0.0",
|
2017-10-23 00:47:17 +03:00
|
|
|
"mocha": "^3.2.0",
|
2018-03-05 03:31:09 +03:00
|
|
|
"mocha-phantomjs-core": "2.1.2",
|
|
|
|
"solc": "0.4.20",
|
2018-06-14 09:25:56 +03:00
|
|
|
"tsify": "^4.0.0",
|
2018-06-13 22:39:39 +03:00
|
|
|
"tslint": "^5.10.0",
|
|
|
|
"typescript": "^2.9.1",
|
2018-06-14 09:25:56 +03:00
|
|
|
"vinyl-buffer": "^1.0.1",
|
|
|
|
"vinyl-source-stream": "^2.0.0",
|
2018-03-05 03:31:09 +03:00
|
|
|
"web3": "0.20.2"
|
|
|
|
},
|
|
|
|
"browser": {
|
2018-03-05 04:00:46 +03:00
|
|
|
"fs": "./tests/browser-fs.js",
|
|
|
|
"zlib": "browserify-zlib",
|
2018-06-19 09:12:57 +03:00
|
|
|
"./src.ts/providers/ipc-provider.ts": "./src.browser/empty.ts",
|
2018-06-14 09:55:44 +03:00
|
|
|
"./src.ts/utils/base64.ts": "./src.browser/base64.ts",
|
2018-06-19 09:12:57 +03:00
|
|
|
"./src.ts/utils/hmac.ts": "./src.browser/hmac.ts",
|
|
|
|
"./src.ts/utils/pbkdf2.ts": "./src.browser/pbkdf2.ts",
|
2018-06-15 11:18:17 +03:00
|
|
|
"./src.ts/utils/random-bytes.ts": "./src.browser/random-bytes.ts",
|
2018-06-22 09:11:34 +03:00
|
|
|
"./src.ts/utils/shims.ts": "./src.browser/shims.ts",
|
2018-06-14 09:55:44 +03:00
|
|
|
"xmlhttprequest": "./src.browser/xmlhttprequest.ts"
|
2016-07-14 20:43:15 +03:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"ethereum",
|
2018-06-22 04:13:34 +03:00
|
|
|
"library",
|
2016-07-14 20:43:15 +03:00
|
|
|
"wallet"
|
|
|
|
],
|
|
|
|
"author": "Richard Moore <me@ricmoo.com>",
|
2016-08-10 21:30:33 +03:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2018-06-22 04:13:34 +03:00
|
|
|
"url": "git://github.com/ethers-io/ethers.js.git"
|
2016-08-10 21:30:33 +03:00
|
|
|
},
|
2016-07-14 20:43:15 +03:00
|
|
|
"license": "MIT"
|
|
|
|
}
|