From 05cf8ebb14aed1cbddaa3aea88e282790f973a2b Mon Sep 17 00:00:00 2001 From: Paul Lewis Date: Thu, 13 May 2021 09:34:44 +0100 Subject: [PATCH] Add build scripts to package.json I am rather fond of Cmd/Ctrl+Shift+B in VSCode to build my current project. However, that presupposes that there is a script in the package.json named "build" (or some variant, e.g., "build-release"). This CL adds those scripts to the package.json file. R=jacktfranklin@chromium.org Bug: None Change-Id: I8e685d098b1bf3c9b6b8b1c85d1a97d693a344f7 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2891843 Commit-Queue: Paul Lewis Commit-Queue: Jack Franklin Auto-Submit: Paul Lewis Reviewed-by: Jack Franklin --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index f525d1c8bb..b0b5274c5b 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,8 @@ "auto-e2etest": "autoninja -C out/Default && npm run e2etest --", "auto-interactionstest": "autoninja -C out/Default && npm run interactionstest", "auto-unittest": "scripts/test/run_auto_unittests.py --no-text-coverage", + "build": "autoninja -C out/Default", + "build-release": "autoninja -C out/Release", "check": "npm run check-json && npm run check-gn && npm run check-lint && npm run check-loc", "check-external-links": "third_party/node/node.py --output scripts/check_external_links.js", "check-gn": "third_party/node/node.py --output scripts/check_gn.js",