From c4538cada7017a838c268ba1f01824a4e1e25928 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Mon, 4 Jun 2018 13:36:34 -0700 Subject: Don't automatically rebuild when running yarn test --- packages/base-contract/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/base-contract') diff --git a/packages/base-contract/package.json b/packages/base-contract/package.json index c01a133e4..62e37d80b 100644 --- a/packages/base-contract/package.json +++ b/packages/base-contract/package.json @@ -11,7 +11,8 @@ "watch": "tsc -w", "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts", "clean": "shx rm -rf lib scripts", - "test": "run-s clean build run_mocha", + "test": "yarn run_mocha", + "rebuild-and-test": "run-s clean build test", "test:circleci": "yarn test:coverage", "run_mocha": "mocha lib/test/**/*_test.js --bail --exit", "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", -- cgit From 86a6a5b826158fbf3b16081a2ecdbb020140adda Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 5 Jun 2018 12:20:23 +0200 Subject: Replace `-` with `_` in yarn script name so that we are consistent across yarn script names --- packages/base-contract/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/base-contract') diff --git a/packages/base-contract/package.json b/packages/base-contract/package.json index 62e37d80b..81d8442e1 100644 --- a/packages/base-contract/package.json +++ b/packages/base-contract/package.json @@ -12,7 +12,7 @@ "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts", "clean": "shx rm -rf lib scripts", "test": "yarn run_mocha", - "rebuild-and-test": "run-s clean build test", + "rebuild_and_test": "run-s clean build test", "test:circleci": "yarn test:coverage", "run_mocha": "mocha lib/test/**/*_test.js --bail --exit", "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", -- cgit