aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-06-05 04:36:34 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-06-05 05:13:17 +0800
commitc4538cada7017a838c268ba1f01824a4e1e25928 (patch)
tree26e43726cff2fdf0d59381314daac056d2946db8
parent79472552aae4ef60ae20e26571c750cbeb02c552 (diff)
downloaddexon-0x-contracts-c4538cada7017a838c268ba1f01824a4e1e25928.tar.gz
dexon-0x-contracts-c4538cada7017a838c268ba1f01824a4e1e25928.tar.zst
dexon-0x-contracts-c4538cada7017a838c268ba1f01824a4e1e25928.zip
Don't automatically rebuild when running yarn test
-rw-r--r--packages/0x.js/package.json3
-rw-r--r--packages/assert/package.json3
-rw-r--r--packages/base-contract/package.json3
-rw-r--r--packages/connect/package.json3
-rw-r--r--packages/contract-wrappers/package.json3
-rw-r--r--packages/contracts/package.json3
-rw-r--r--packages/dev-utils/package.json3
-rw-r--r--packages/json-schemas/package.json3
-rw-r--r--packages/metacoin/package.json3
-rw-r--r--packages/order-utils/package.json3
-rw-r--r--packages/order-watcher/package.json3
-rw-r--r--packages/sol-compiler/package.json3
-rw-r--r--packages/sol-cov/package.json3
-rw-r--r--packages/sra-report/package.json3
-rw-r--r--packages/web3-wrapper/package.json3
15 files changed, 30 insertions, 15 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json
index 1324a73d1..0ee2efa34 100644
--- a/packages/0x.js/package.json
+++ b/packages/0x.js/package.json
@@ -21,7 +21,8 @@
"generate_contract_wrappers": "abi-gen --abis 'src/compact_artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken|TokenRegistry|DummyToken).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers && prettier --write 'src/contract_wrappers/generated/**.ts'",
"lint": "tslint --project .",
"test:circleci": "run-s test:coverage",
- "test": "run-s clean test:commonjs",
+ "test": "run-s test:commonjs",
+ "rebuild-and-test": "run-s clean test",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"clean": "shx rm -rf _bundles lib test_temp scripts src/contract_wrappers/generated",
diff --git a/packages/assert/package.json b/packages/assert/package.json
index e26c88fd7..bec4a9137 100644
--- a/packages/assert/package.json
+++ b/packages/assert/package.json
@@ -14,7 +14,8 @@
"lint": "tslint --project .",
"run_mocha": "mocha lib/test/**/*_test.js --exit",
"prepublishOnly": "run-p build",
- "test": "run-s clean build run_mocha",
+ "test": "yarn run_mocha",
+ "rebuild-and-test": "run-s clean build test",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"test:circleci": "yarn test:coverage",
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",
diff --git a/packages/connect/package.json b/packages/connect/package.json
index d1e392606..fa91bf632 100644
--- a/packages/connect/package.json
+++ b/packages/connect/package.json
@@ -21,7 +21,8 @@
"copy_test_fixtures": "copyfiles -u 2 './test/fixtures/**/*.json' ./lib/test/fixtures",
"lint": "tslint --project .",
"run_mocha": "mocha lib/test/**/*_test.js --exit",
- "test": "run-s clean build copy_test_fixtures run_mocha",
+ "test": "run-s copy_test_fixtures run_mocha",
+ "rebuild-and-test": "run-s clean build test",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"test:circleci": "yarn test:coverage",
diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json
index 61e92903f..66ad00cd6 100644
--- a/packages/contract-wrappers/package.json
+++ b/packages/contract-wrappers/package.json
@@ -16,7 +16,8 @@
"generate_contract_wrappers": "abi-gen --abis 'src/compact_artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken|TokenRegistry|DummyToken).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers && prettier --write 'src/contract_wrappers/generated/**.ts'",
"lint": "tslint --project .",
"test:circleci": "run-s test:coverage",
- "test": "run-s clean build run_mocha",
+ "test": "yarn run_mocha",
+ "rebuild-and-test": "run-s clean build test",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"update_artifacts": "for i in ${npm_package_config_contracts}; do copyfiles -u 4 ../migrations/artifacts/1.0.0/$i.json test/artifacts; done;",
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index eee2b04d3..8e37a7819 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -15,7 +15,8 @@
"prebuild": "run-s clean compile copy_artifacts generate_contract_wrappers",
"copy_artifacts": "copyfiles -u 4 '../migrations/artifacts/2.0.0/**/*' ./lib/src/artifacts;",
"build": "tsc",
- "test": "run-s build run_mocha",
+ "test": "yarn run_mocha",
+ "rebuild-and-test": "run-s build test",
"test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov",
"run_mocha": "mocha 'lib/test/**/*.js' --timeout 100000 --bail --exit",
"compile": "sol-compiler",
diff --git a/packages/dev-utils/package.json b/packages/dev-utils/package.json
index 47a13733b..997340010 100644
--- a/packages/dev-utils/package.json
+++ b/packages/dev-utils/package.json
@@ -10,7 +10,8 @@
"scripts": {
"watch": "tsc -w",
"build": "tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./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",
diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json
index 603e5ab73..75d01a1e9 100644
--- a/packages/json-schemas/package.json
+++ b/packages/json-schemas/package.json
@@ -10,7 +10,8 @@
"scripts": {
"watch": "tsc -w",
"lint": "tslint --project .",
- "test": "run-s clean build run_mocha",
+ "test": "yarn run_mocha",
+ "rebuild-and-test": "run-s clean build test",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"test:circleci": "yarn test:coverage",
diff --git a/packages/metacoin/package.json b/packages/metacoin/package.json
index a85bf8f77..ca6361eba 100644
--- a/packages/metacoin/package.json
+++ b/packages/metacoin/package.json
@@ -13,7 +13,8 @@
"prebuild": "run-s clean compile generate_contract_wrappers copy_artifacts",
"copy_artifacts": "copyfiles './artifacts/**/*' './contracts/**/*' ./lib",
"build": "tsc",
- "test": "run-s build run_mocha",
+ "test": "yarn run_mocha",
+ "rebuild-and-test": "run-s clean build test",
"test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov",
"run_mocha": "mocha lib/test/**/*_test.js lib/test/global_hooks.js --bail --exit",
"generate_contract_wrappers": "abi-gen --abis 'artifacts/Metacoin.json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers --backend ethers && prettier --write 'src/contract_wrappers/**.ts'",
diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json
index 2d7e7ba66..5a04c58f7 100644
--- a/packages/order-utils/package.json
+++ b/packages/order-utils/package.json
@@ -14,7 +14,8 @@
"copy_monorepo_scripts": "copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
"generate_contract_wrappers": "abi-gen --abis 'lib/src/artifacts/@(Exchange|IWallet|IValidator).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated_contract_wrappers --backend ethers && prettier --write 'src/generated_contract_wrappers/**.ts'",
"update_artifacts": "for i in ${npm_package_config_contracts}; do copyfiles -u 4 ../migrations/artifacts/2.0.0/$i.json lib/src/artifacts; done;",
- "test": "run-s build run_mocha",
+ "test": "yarn run_mocha",
+ "rebuild-and-test": "run-s 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",
diff --git a/packages/order-watcher/package.json b/packages/order-watcher/package.json
index fcc40d56d..3efb92ae5 100644
--- a/packages/order-watcher/package.json
+++ b/packages/order-watcher/package.json
@@ -17,7 +17,8 @@
"generate_contract_wrappers": "abi-gen --abis 'src/compact_artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated_contract_wrappers --backend ethers && prettier --write 'src/generated_contract_wrappers/**.ts'",
"lint": "tslint --project .",
"test:circleci": "run-s test:coverage",
- "test": "run-s clean build run_mocha",
+ "test": "yarn run_mocha",
+ "rebuild-and-test": "run-s clean build test",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"update_artifacts": "for i in ${npm_package_config_contracts}; do copyfiles -u 4 ../migrations/artifacts/1.0.0/$i.json test/artifacts; done;",
diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json
index 60ed3655f..8d26179b5 100644
--- a/packages/sol-compiler/package.json
+++ b/packages/sol-compiler/package.json
@@ -10,7 +10,8 @@
"scripts": {
"watch": "tsc -w",
"build": "yarn clean && copyfiles 'test/fixtures/contracts/**/*' ./lib && tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
- "test": "run-s build run_mocha",
+ "test": "yarn run_mocha",
+ "rebuild-and-test": "run-s build test",
"run_mocha": "mocha lib/test/*_test.js --bail --exit",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
diff --git a/packages/sol-cov/package.json b/packages/sol-cov/package.json
index 4d92a610b..d10d277b9 100644
--- a/packages/sol-cov/package.json
+++ b/packages/sol-cov/package.json
@@ -10,7 +10,8 @@
"scripts": {
"watch": "tsc -w",
"lint": "tslint --project .",
- "test": "run-s clean build compile_test run_mocha",
+ "test": "run-s compile_test run_mocha",
+ "rebuild-and-test": "run-s clean build test",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"test:circleci": "yarn test:coverage",
diff --git a/packages/sra-report/package.json b/packages/sra-report/package.json
index 8903f5c81..27bf715a8 100644
--- a/packages/sra-report/package.json
+++ b/packages/sra-report/package.json
@@ -12,7 +12,8 @@
"clean": "shx rm -rf lib scripts",
"build": "tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
"lint": "tslint --project .",
- "test": "run-s clean build copy_test_environments copy_test_fixtures run_mocha",
+ "test": "run-s copy_test_environments copy_test_fixtures run_mocha",
+ "rebuild-and-test": "run-s clean build test",
"copy_test_fixtures": "copyfiles -u 2 './test/fixtures/**/*.json' ./lib/test/fixtures",
"copy_test_environments": "copyfiles -u 2 './test/environments/**/*.json' ./lib/test/environments",
"run_mocha": "mocha lib/test/**/*_test.js --exit",
diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json
index 9baaba391..01f0f3a26 100644
--- a/packages/web3-wrapper/package.json
+++ b/packages/web3-wrapper/package.json
@@ -12,7 +12,8 @@
"build": "tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
"clean": "shx rm -rf lib scripts",
"lint": "tslint --project .",
- "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",