From 71bd1b7ddd9f755092b7e7315f7e9b532eb5d387 Mon Sep 17 00:00:00 2001 From: Cole Potrocky Date: Tue, 25 Jun 2019 17:16:27 -0400 Subject: [PATCH 1/2] Move dependencies around, only distribute items in lib. --- package.json | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 48ac671..482bfb9 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "wyvern-js", "version": "3.0.3", "description": "Javascript SDK for the Wyvern Protocol", + "files": ["lib", "webpack.config.js"], "main": "lib/index.js", "scripts": { "test": "scripts/test.sh", @@ -30,34 +31,34 @@ "@0xproject/abi-gen": "^0.1.1", "@0xproject/assert": "^0.0.11", "@0xproject/json-schemas": "^0.7.3", - "@0xproject/types": "^0.1.3", "@0xproject/utils": "^0.1.3", "@0xproject/web3-wrapper": "^0.1.4", - "@types/lodash": "^4.14.92", - "@types/node": "^9.3.0", - "awesome-typescript-loader": "^3.4.1", "bn.js": "^4.11.8", "ethereumjs-abi": "https://github.com/ProjectWyvern/ethereumjs-abi.git", "ethereumjs-util": "^5.1.3", "json-loader": "^0.5.7", "jsonschema": "^1.2.2", "lodash": "^4.17.4", - "ts-node": "^6.1.0", - "tslint": "^5.9.1", - "tslint-eslint-rules": "^4.1.1", - "types-bn": "^0.0.1", - "types-ethereumjs-util": "^0.0.5", - "typescript": "^2.6.2", - "typescript-eslint-parser": "^16.0.0", - "web3": "^0.20.4", - "webpack": "^3.10.0" + "web3": "^0.20.4" }, "devDependencies": { + "@types/lodash": "^4.14.92", + "@types/node": "^9.3.0", "@0xproject/tslint-config": "^0.4.1", + "@0xproject/types": "^0.1.3", "@types/chai": "^4.1.3", + "awesome-typescript-loader": "^3.4.1", "chai": "^4.1.2", "mocha": "^5.2.0", "mocha-typescript": "^1.1.15", - "web3-typescript-typings": "^0.9.3" + "typescript": "^2.6.2", + "typescript-eslint-parser": "^16.0.0", + "ts-node": "^6.1.0", + "tslint": "^5.9.1", + "tslint-eslint-rules": "^4.1.1", + "types-bn": "^0.0.1", + "types-ethereumjs-util": "^0.0.5", + "web3-typescript-typings": "^0.9.3", + "webpack": "^3.10.0" } } From 1c1f586edbc7fd79bb0118db26326b0d948b47b7 Mon Sep 17 00:00:00 2001 From: Cole Potrocky Date: Tue, 25 Jun 2019 17:31:09 -0400 Subject: [PATCH 2/2] @0xproject/types used in declarations, so move to dependencies. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 482bfb9..b9b3044 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "@0xproject/assert": "^0.0.11", "@0xproject/json-schemas": "^0.7.3", "@0xproject/utils": "^0.1.3", + "@0xproject/types": "^0.1.3", "@0xproject/web3-wrapper": "^0.1.4", "bn.js": "^4.11.8", "ethereumjs-abi": "https://github.com/ProjectWyvern/ethereumjs-abi.git", @@ -45,7 +46,6 @@ "@types/lodash": "^4.14.92", "@types/node": "^9.3.0", "@0xproject/tslint-config": "^0.4.1", - "@0xproject/types": "^0.1.3", "@types/chai": "^4.1.3", "awesome-typescript-loader": "^3.4.1", "chai": "^4.1.2",