ethers.js/package.json

75 lines
2.6 KiB
JSON
Raw Normal View History

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.",
"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": {
"build": "npm run dist-version && tsc -p ./tsconfig.json",
"auto-build": "npm run build -- -w",
"dist": "npm run dist-version && npm run build && gulp default minified && npm run dist-types",
"dist-bip39": "gulp bip39-it bip39-ja bip39-ko bip39-zh",
"dist-types": "gulp temp-types && dts-bundle --name ethers --main .tmp/index.d.ts --out ../dist/ethers.d.ts",
"dist-version": "node -e \"let v = require('./package.json').version; require('fs').writeFileSync('./src.ts/_version.ts', 'export const version = \\\"' + v +'\\\";\\n')\"",
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",
"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",
"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",
"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": {
"browserify": "^16.2.2",
"browserify-zlib": "^0.2.0",
"dts-bundle": "^0.7.3",
"ethereumjs-tx": "^1.3.5",
"ethereumjs-util": "^5.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",
2017-10-23 00:47:17 +03:00
"mocha": "^3.2.0",
"mocha-phantomjs-core": "2.1.2",
"solc": "0.4.20",
"tsify": "^4.0.0",
2018-06-13 22:39:39 +03:00
"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",
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",
"./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"
}