diff --git a/.gitignore b/.gitignore index 299ea7f..35ad619 100644 --- a/.gitignore +++ b/.gitignore @@ -5,5 +5,3 @@ coverage/ doc/ test/**/*.js src/**/*.js - -\.tmp/ diff --git a/package-lock.json b/package-lock.json index d78b09f..c815cb0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6845,6 +6845,25 @@ "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", "dev": true }, + "truffle-hdwallet-provider": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/truffle-hdwallet-provider/-/truffle-hdwallet-provider-1.0.2.tgz", + "integrity": "sha512-skxwZDG541Qf077aA7VDWn9qhgr9/DjmbFJWLVR/oRrlmOYcIiNXviuBIZ5tZkE7JuFxMzHagkLPOreeko9G+g==", + "dev": true, + "requires": { + "any-promise": "^1.3.0", + "bindings": "^1.3.1", + "websocket": "^1.0.28" + }, + "dependencies": { + "bindings": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.3.1.tgz", + "integrity": "sha512-i47mqjF9UbjxJhxGf+pZ6kSxrnI3wBLlnGI2ArWJ4r0VrvDS7ZYXkprq/pLaBWYq4GM0r4zdHY+NNRqEMU7uew==", + "dev": true + } + } + }, "ts-node": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-7.0.1.tgz", @@ -7269,6 +7288,15 @@ "resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz", "integrity": "sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k=" }, + "ursa-optional": { + "version": "0.9.10", + "resolved": "https://registry.npmjs.org/ursa-optional/-/ursa-optional-0.9.10.tgz", + "integrity": "sha512-RvEbhnxlggX4MXon7KQulTFiJQtLJZpSb9ZSa7ZTkOW0AzqiVTaLjI4vxaSzJBDH9dwZ3ltZadFiBaZslp6haA==", + "requires": { + "bindings": "^1.3.0", + "nan": "^2.11.1" + } + }, "use": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", diff --git a/package.json b/package.json index 28ed5c0..6a73461 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,7 @@ "release": "./node_modules/release-it/bin/release-it.js --src.tagName='v%s' --github.release --npm.publish --non-interactive", "release-minor": "./node_modules/release-it/bin/release-it.js minor --src.tagName='v%s' --github.release --npm.publish --non-interactive", "release-major": "./node_modules/release-it/bin/release-it.js major --src.tagName='v%s' --github.release --npm.publish --non-interactive", - "prepublishOnly": "npm run build", - "preinstall": "rm -rf node_modules/truffle-hdwallet-provider && mkdir -p .tmp && cd .tmp && (git clone https://github.com/Pedro-vk/truffle.git || true) && cd truffle/packages/truffle-hdwallet-provider && npm install && cd ../../../../ && npm install --save-dev .tmp/truffle/packages/truffle-hdwallet-provider" + "prepublishOnly": "npm run build" }, "nyc": { "include": [ @@ -80,6 +79,7 @@ "nyc": "^13.1.0", "rollup": "^1.1.0", "source-map-support": "^0.5.9", + "truffle-hdwallet-provider": "^1.0.2", "ts-node": "^7.0.1", "tslint": "^5.12.0", "typedoc": "^0.14.0",