78 lines
2.8 KiB
JSON
78 lines
2.8 KiB
JSON
{
|
|
"name": "ethers",
|
|
"version": "4.0.0-beta.1",
|
|
"description": "Ethereum wallet library.",
|
|
"main": "./index.js",
|
|
"types": "./dist/ethers.d.ts",
|
|
"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')\"",
|
|
"eslint": "eslint index.js contracts/*.js providers/*.js utils/*.js wallet/*.js wordlists/*.js",
|
|
"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",
|
|
"dts-bundle": "^0.7.3",
|
|
"eslint": "^5.0.1",
|
|
"eslint-plugin-promise": "^3.8.0",
|
|
"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",
|
|
"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.6"
|
|
},
|
|
"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"
|
|
}
|