71 lines
2.2 KiB
JSON
71 lines
2.2 KiB
JSON
{
|
|
"name": "ethers",
|
|
"version": "4.0.0",
|
|
"description": "Ethereum wallet library.",
|
|
"main": "./index.js",
|
|
"types": "./dist/ethers.d.ts",
|
|
"scripts": {
|
|
"build": "tsc -p ./tsconfig.json",
|
|
"auto-build": "npm run build -- -w",
|
|
"dist": "npm run build && gulp default minified types",
|
|
"dist-bip39": "gulp bip39-it bip39-ja bip39-ko bip39-zh",
|
|
"test": "if [ \"$RUN_PHANTOMJS\" = \"1\" ]; then npm run-script test-phantomjs; else npm run-script test-node; fi",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@types/node": "^10.3.2",
|
|
"aes-js": "3.0.0",
|
|
"bn.js": "^4.4.0",
|
|
"elliptic": "6.3.3",
|
|
"hash.js": "1.1.3",
|
|
"js-sha3": "0.5.7",
|
|
"scrypt-js": "2.0.3",
|
|
"setimmediate": "1.0.4",
|
|
"uuid": "2.0.1",
|
|
"xmlhttprequest": "1.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"browserify": "^16.2.2",
|
|
"browserify-zlib": "^0.2.0",
|
|
"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",
|
|
"mocha": "^3.2.0",
|
|
"mocha-phantomjs-core": "2.1.2",
|
|
"solc": "0.4.20",
|
|
"tsify": "^4.0.0",
|
|
"tslint": "^5.10.0",
|
|
"typescript": "^2.9.1",
|
|
"vinyl-buffer": "^1.0.1",
|
|
"vinyl-source-stream": "^2.0.0",
|
|
"web3": "0.20.2"
|
|
},
|
|
"browser": {
|
|
"fs": "./tests/browser-fs.js",
|
|
"zlib": "browserify-zlib",
|
|
|
|
"./src.ts/providers/ipc-provider.ts": "./src.browser/empty.ts",
|
|
"./src.ts/utils/base64.ts": "./src.browser/base64.ts",
|
|
"./src.ts/utils/hmac.ts": "./src.browser/hmac.ts",
|
|
"./src.ts/utils/pbkdf2.ts": "./src.browser/pbkdf2.ts",
|
|
"./src.ts/utils/random-bytes.ts": "./src.browser/random-bytes.ts",
|
|
"./src.ts/utils/shims.ts": "./src.browser/shims.ts",
|
|
"xmlhttprequest": "./src.browser/xmlhttprequest.ts"
|
|
},
|
|
"keywords": [
|
|
"ethereum",
|
|
"library",
|
|
"wallet"
|
|
],
|
|
"author": "Richard Moore <me@ricmoo.com>",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/ethers-io/ethers.js.git"
|
|
},
|
|
"license": "MIT"
|
|
}
|