mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-03 02:21:05 +08:00
Also update the doc to add tests before the migration And sort the commands in `package.json`. This was originally authored by nancyly@ but I added some tweaks to the doc changes as she is OOO atm. Bug: none Change-Id: I56fc409a115e648b53d10a6f5c3d83f65f145b1f Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4388618 Commit-Queue: Andres Olivares <andoli@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
64 lines
4.5 KiB
JSON
64 lines
4.5 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": "npm run build && npm run debug-e2etest --",
|
|
"auto-debug-interactionstest": "npm run build && npm run debug-interactionstest --",
|
|
"auto-debug-unittest": "DEBUG_TEST=1 npm run auto-unittest --",
|
|
"auto-e2etest": "npm run build && npm run e2etest --",
|
|
"auto-e2etest-parallel": "npm run build && npm run e2etest -- --jobs=8",
|
|
"auto-interactionstest": "npm run build && npm run interactionstest --",
|
|
"auto-screenshotstest": "npm run build && third_party/node/node.py --output scripts/test/run_test_suite.js --config test/interactions/test-runner-config.json --mocha-fgrep '[screenshot]'",
|
|
"auto-unittest": "vpython scripts/test/run_auto_unittests.py --no-text-coverage",
|
|
"auto-unittest-coverage": "vpython scripts/test/run_auto_unittests.py --no-text-coverage --coverage",
|
|
"bake-strings": "npm run collect-strings && vpython third_party/node/node.py --output third_party/i18n/bake-strings.js front_end/core/i18n/locales",
|
|
"build": "autoninja -C out/Default",
|
|
"build-release": "autoninja -C out/Release",
|
|
"check": "npm run check-lint && npm run check-loc",
|
|
"check-external-links": "vpython third_party/node/node.py --output scripts/check_external_links.js",
|
|
"check-lint": "vpython third_party/node/node.py --output scripts/test/run_lint_check_js.mjs && vpython third_party/node/node.py --output scripts/test/run_lint_check_css.js",
|
|
"check-lint-js": "vpython third_party/node/node.py --output scripts/test/run_lint_check_js.mjs",
|
|
"check-lint-css": "vpython third_party/node/node.py --output scripts/test/run_lint_check_css.js",
|
|
"collect-strings": "vpython third_party/node/node.py --output third_party/i18n/collect-strings.js front_end",
|
|
"components-server": "vpython third_party/node/node.py --output scripts/component_server/server.js",
|
|
"debug-e2etest": "DEBUG_TEST=1 npm run e2etest",
|
|
"debug-interactionstest": "DEBUG_TEST=1 npm run interactionstest",
|
|
"debug-test": "vpython third_party/node/node.py --output scripts/npm_test.js --debug-devtools",
|
|
"debug-unittest": "DEBUG_TEST=1 npm run unittest",
|
|
"e2etest": "vpython third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/e2e/test-runner-config.json",
|
|
"eslint-test": "vpython third_party/node/node.py --output node_modules/mocha/bin/mocha \"./scripts/eslint_rules/tests/*_test.js\"",
|
|
"build-test": "vpython third_party/node/node.py --output node_modules/mocha/bin/mocha \"./scripts/build/tests/*_test.js\"",
|
|
"generate-dark-mode-styles": "vpython 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": "vpython third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/interactions/test-runner-config.json",
|
|
"perf": "vpython third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/perf/test-runner-config.json",
|
|
"prebuild": "gn gen out/Default",
|
|
"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": "vpython third_party/node/node.py --output ./node_modules/.bin/mocha \"./scripts/stylelint_rules/tests/*_test.js\"",
|
|
"test": "vpython third_party/node/node.py --output scripts/npm_test.js",
|
|
"test-local": "vpython 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": "vpython scripts/test/run_unittests.py --no-text-coverage",
|
|
"watch": "vpython third_party/node/node.py --output scripts/watch_build.js"
|
|
}
|
|
}
|