mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 01:07:01 +08:00
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>
59 lines
3.9 KiB
JSON
59 lines
3.9 KiB
JSON
{
|
|
"author": "The Chromium Authors",
|
|
"bugs": {
|
|
"url": "https://bugs.chromium.org/p/chromium/issues/list?can=2&q=component:Platform%3EDevTools%20&sort=-opened&colspec=ID%20Stars%20Owner%20Summary%20Modified%20Opened"
|
|
},
|
|
"description": "Chrome DevTools UI",
|
|
"homepage": "https://devtools.chrome.com",
|
|
"keywords": [
|
|
"devtools",
|
|
"chrome",
|
|
"chromium",
|
|
"blink",
|
|
"debugger"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"name": "chrome-devtools-frontend",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ChromeDevTools/devtools-frontend.git"
|
|
},
|
|
"scripts": {
|
|
"auto-debug-e2etest": "autoninja -C out/Default && npm run debug-e2etest --",
|
|
"auto-debug-unittest": "DEBUG=1 npm run auto-unittest --",
|
|
"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",
|
|
"check-json": "third_party/node/node.py --output scripts/json_validator/validate_module_json.js",
|
|
"check-lint": "third_party/node/node.py --output scripts/test/run_lint_check_js.js && third_party/node/node.py --output scripts/test/run_lint_check_css.js && npm run check-lint-components-css",
|
|
"check-lint-components-css": "third_party/node/node.py --output scripts/test/run_lint_check_css.js --glob 'front_end/**/*.ts' --syntax html",
|
|
"check-lint-css": "third_party/node/node.py --output scripts/test/run_lint_check_css.js && npm run check-lint-components-css",
|
|
"collect-strings": "third_party/node/node.py --output third_party/i18n/collect-strings.js",
|
|
"components-server": "third_party/node/node.py --output scripts/component_server/server.js",
|
|
"debug-e2etest": "DEBUG=1 npm run e2etest",
|
|
"debug-test": "third_party/node/node.py --output scripts/npm_test.js --debug-devtools",
|
|
"debug-unittest": "DEBUG=1 npm run unittest",
|
|
"e2etest": "third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/e2e/test-runner-config.json",
|
|
"eslint-test": "third_party/node/node.py --output node_modules/mocha/bin/mocha \"./scripts/eslint_rules/tests/*_test.js\"",
|
|
"generate-dark-mode-styles": "third_party/node/node.py --output scripts/dark_mode/generate_dark_theme_sheet.js",
|
|
"generate-protocol-resources": "scripts/deps/generate_protocol_resources.py && git cl format --js",
|
|
"install-deps": "scripts/deps/manage_node_deps.py",
|
|
"interactionstest": "third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/interactions/test-runner-config.json",
|
|
"optimize-svg-images": "scripts/optimize_svg_images.py",
|
|
"perf": "third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/perf/test-runner-config.json",
|
|
"setup-dtrun": "cd scripts/devtools_run && npm link",
|
|
"start": "node -e 'console.log(`This script has been removed in favor of --custom-devtools-frontend. For more information, see https://docs.google.com/document/d/1COgCBWWuTh2o-Zbp6h_z0h0LtlJaimaEDsION4RZPxc/edit?usp=sharing`);'",
|
|
"stylelint-test": "third_party/node/node.py --output ./node_modules/.bin/mocha \"./scripts/stylelint_rules/tests/*_test.js\"",
|
|
"test": "third_party/node/node.py --output scripts/npm_test.js",
|
|
"test-local": "third_party/node/node.py --output scripts/npm_test.js --layout-tests-directory=test/webtests/",
|
|
"ts_library-test": "./third_party/typescript/tests/verify_ts_libary.sh",
|
|
"unittest": "scripts/test/run_unittests.py --no-text-coverage",
|
|
"watch": "third_party/node/node.py --output scripts/watch_build.js"
|
|
}
|
|
}
|