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 <aerotwist@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Auto-Submit: Paul Lewis <aerotwist@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
This commit is contained in:
Paul Lewis
2021-05-13 08:59:49 +00:00
committed by Commit Bot
parent dc7c24deae
commit 05cf8ebb14
+2
View File
@@ -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",