From 538ac604a88c2f7ae2dbb1970d464425624a3cd9 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 14 Mar 2018 14:27:36 +0100 Subject: Add postpublish script to sol-cov --- packages/sol-cov/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/sol-cov/package.json') diff --git a/packages/sol-cov/package.json b/packages/sol-cov/package.json index af6be13f2..48d798fa3 100644 --- a/packages/sol-cov/package.json +++ b/packages/sol-cov/package.json @@ -7,7 +7,7 @@ "scripts": { "build:watch": "tsc -w", "lint": "tslint --project . 'src/**/*.ts'", - "clean": "shx rm -rf lib", + "clean": "shx rm -rf lib scripts", "build": "tsc" }, "repository": { @@ -33,6 +33,7 @@ "web3": "^0.20.0" }, "devDependencies": { + "@0xproject/monorepo-scripts": "^0.1.12", "@0xproject/tslint-config": "^0.4.9", "@types/istanbul": "^0.4.29", "@types/node": "^8.0.53", -- cgit v1.2.3 From 32d15d79f10470d764b2645574884573cd3beeaa Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 14 Mar 2018 14:30:15 +0100 Subject: Add script copying to build command --- packages/sol-cov/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/sol-cov/package.json') diff --git a/packages/sol-cov/package.json b/packages/sol-cov/package.json index 48d798fa3..84e58f8d8 100644 --- a/packages/sol-cov/package.json +++ b/packages/sol-cov/package.json @@ -8,7 +8,7 @@ "build:watch": "tsc -w", "lint": "tslint --project . 'src/**/*.ts'", "clean": "shx rm -rf lib scripts", - "build": "tsc" + "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts" }, "repository": { "type": "git", @@ -37,6 +37,7 @@ "@0xproject/tslint-config": "^0.4.9", "@types/istanbul": "^0.4.29", "@types/node": "^8.0.53", + "copyfiles": "^1.2.0", "npm-run-all": "^4.1.2", "shx": "^0.2.2", "tslint": "5.8.0", -- cgit v1.2.3