From 087ea1f06824491663df5dc7bc4a44a4b5352d24 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Mon, 13 Nov 2017 18:11:31 -0500 Subject: Standardize around a `test:circleci` command that any sub-package can implement in order to have their tests run on CircleCi --- packages/0x.js/package.json | 1 + packages/assert/package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 2866f1a9e..b98188cc4 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -19,6 +19,7 @@ "release": "publish-release --assets _bundles/index.js,_bundles/index.min.js --tag $(git describe --tags) --owner 0xProject --repo 0x.js", "upload_docs_json": "aws s3 cp docs/index.json s3://0xjs-docs-jsons/$(git describe --tags).json --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type aplication/json", "lint": "tslint src/**/*.ts test/**/*.ts", + "test:circleci": "run-s test:coverage report_test_coverage", "test": "run-s clean test:commonjs", "test:umd": "./scripts/test_umd.sh", "test:coverage": "nyc npm run test --all", diff --git a/packages/assert/package.json b/packages/assert/package.json index ab640b361..289bc5431 100644 --- a/packages/assert/package.json +++ b/packages/assert/package.json @@ -11,7 +11,8 @@ "lint": "tslint src/**/*.ts test/**/*.ts", "run_mocha": "mocha lib/test/**/*_test.js", "prepublishOnly": "run-p build", - "test": "run-s clean build run_mocha" + "test": "run-s clean build run_mocha", + "test:circleci": "yarn test" }, "license": "Apache-2.0", "repository": { -- cgit v1.2.3