From f411caefde3df4d7f36aa59b454d0d3af00f4814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20T=C3=A9treault-Pinard?= Date: Wed, 6 Apr 2016 18:03:38 -0400 Subject: [PATCH 1/2] add 'npm start' alias to start test dashboard --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c9df07745a0..7a50293806a 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,8 @@ "test-syntax": "node test/syntax_test.js", "test-bundle": "node tasks/test_bundle.js", "test": "npm run citest-jasmine && npm run test-image && npm run test-syntax && npm run test-bundle", - "start-test_dashboard": "node devtools/test_dashboard/server.js", + "start": "node devtools/test_dashboard/server.js", + "start-test_dashboard": "npm start", "start-image_viewer": "node devtools/image_viewer/server.js", "baseline": "./tasks/baseline.sh", "preversion": "npm-link-check && npm dedupe", From b2f9b1c41c79fe1795145250d59164b6090f3697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20T=C3=A9treault-Pinard?= Date: Wed, 6 Apr 2016 21:04:56 -0400 Subject: [PATCH 2/2] make `npm start` call `npm run start-test_dashboard` --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7a50293806a..4ac3d055a88 100644 --- a/package.json +++ b/package.json @@ -35,8 +35,8 @@ "test-syntax": "node test/syntax_test.js", "test-bundle": "node tasks/test_bundle.js", "test": "npm run citest-jasmine && npm run test-image && npm run test-syntax && npm run test-bundle", - "start": "node devtools/test_dashboard/server.js", - "start-test_dashboard": "npm start", + "start": "npm run start-test_dashboard", + "start-test_dashboard": "node devtools/test_dashboard/server.js", "start-image_viewer": "node devtools/image_viewer/server.js", "baseline": "./tasks/baseline.sh", "preversion": "npm-link-check && npm dedupe",