aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/package.json
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-06 05:45:35 +0800
committerFabio Berger <me@fabioberger.com>2017-12-06 05:45:35 +0800
commit038668efdfdd2eac85c30206e17128b0af2b48ce (patch)
treedd89073024f6fc89ac6306629d4bd14cd1ac5e5e /packages/subproviders/package.json
parent47789d770d08c20f33dbd839fcbd7bfa23d252a3 (diff)
downloaddexon-0x-contracts-038668efdfdd2eac85c30206e17128b0af2b48ce.tar.gz
dexon-0x-contracts-038668efdfdd2eac85c30206e17128b0af2b48ce.tar.zst
dexon-0x-contracts-038668efdfdd2eac85c30206e17128b0af2b48ce.zip
Port subproviders over to mono repo, refactor LedgerSubprovider to no longer rely on hookedWalletSubprovider. Added unit and integration tests.
Diffstat (limited to 'packages/subproviders/package.json')
-rw-r--r--packages/subproviders/package.json60
1 files changed, 60 insertions, 0 deletions
diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json
new file mode 100644
index 000000000..2b1637286
--- /dev/null
+++ b/packages/subproviders/package.json
@@ -0,0 +1,60 @@
+{
+ "name": "@0xproject/subproviders",
+ "version": "0.0.0",
+ "main": "lib/src/index.js",
+ "types": "lib/src/index.d.ts",
+ "license": "Apache-2.0",
+ "scripts": {
+ "prebuild": "npm run clean",
+ "build": "run-p build:umd:dev build:commonjs; exit 0;",
+ "clean": "shx rm -rf lib",
+ "build:umd:dev": "webpack",
+ "build:umd:prod": "NODE_ENV=production webpack",
+ "build:commonjs": "tsc",
+ "lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'",
+ "pretest:umd": "run-s clean build:umd:dev build:commonjs",
+ "substitute_umd_bundle": "shx mv _bundles/* lib/src",
+ "run_mocha_all": "mocha lib/test/**/*_test.js --timeout 10000 --bail --exit",
+ "run_mocha_unit": "mocha lib/test/unit/**/*_test.js --timeout 10000 --bail --exit",
+ "run_mocha_integration": "mocha lib/test/integration/**/*_test.js --timeout 10000 --bail --exit",
+ "test": "run-s clean build:commonjs run_mocha_all",
+ "test:unit": "run-s clean build:commonjs run_mocha_unit",
+ "test:integration": "run-s clean build:commonjs run_mocha_integration"
+ },
+ "dependencies": {
+ "@0xproject/assert": "^0.0.6",
+ "bn.js": "^4.11.8",
+ "es6-promisify": "^5.0.0",
+ "ethereum-address": "^0.0.4",
+ "ethereumjs-tx": "^1.3.3",
+ "ethereumjs-util": "^5.1.1",
+ "ledgerco": "0xProject/ledger-node-js-api",
+ "lodash": "^4.17.4",
+ "semaphore-async-await": "^1.5.1",
+ "sinon": "^4.0.0",
+ "web3": "^0.20.0",
+ "web3-provider-engine": "^13.0.1"
+ },
+ "devDependencies": {
+ "@0xproject/tslint-config": "^0.2.0",
+ "@types/lodash": "^4.14.64",
+ "@types/mocha": "^2.2.44",
+ "@types/node": "^8.0.1",
+ "@types/sinon": "^2.2.2",
+ "awesome-typescript-loader": "^3.1.3",
+ "chai": "^4.0.1",
+ "chai-as-promised": "^7.1.0",
+ "chai-as-promised-typescript-typings": "^0.0.3",
+ "chai-typescript-typings": "^0.0.1",
+ "dirty-chai": "^2.0.1",
+ "mocha": "^4.0.0",
+ "npm-run-all": "^4.1.2",
+ "shx": "^0.2.2",
+ "tslint": "5.8.0",
+ "types-bn": "^0.0.1",
+ "types-ethereumjs-util": "0xproject/types-ethereumjs-util",
+ "typescript": "^2.6.1",
+ "web3-typescript-typings": "^0.7.2",
+ "webpack": "^3.1.0"
+ }
+}