Files
react-native-devtools-frontend/package.json
T
Changhao Han 1100a6c15f Fix generate-bridge-file script path
It seems like the old "cli.js" lives inside a folder called "gen", but
this folder has been removed recently. The npm script has not been
updated. This CL updates the npm script for this.

Change-Id: If1c7e5128a0d1f14d784982e2c801b661f6e232e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2470622
Commit-Queue: Changhao Han <changhaohan@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Auto-Submit: Changhao Han <changhaohan@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
2020-10-14 09:01:10 +00:00

60 lines
4.0 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": "autoninja -C out/Default && DEBUG=1 npm run unittest --",
"auto-e2etest": "autoninja -C out/Default && npm run e2etest --",
"auto-unittest": "python scripts/test/run_auto_unittests.py --no-text-coverage",
"check": "npm run check-json && npm run check-gn && npm run check-lint && npm run check-loc && npm run check-type-closure",
"check-gn": "third_party/node/node.py --output scripts/check_gn.js",
"check-grdp": "third_party/node/node.py --output scripts/localization/check_localizable_resources.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 && python scripts/test/run_lint_check_css.py",
"check-loc": "python scripts/test/run_localization_check.py",
"check-type": "echo \"If you want to typecheck with TypeScript, run \\\"autoninja -C out/X\\\". If you want to typecheck with Closure, run \\\"npm run check-type-closure\\\"\"",
"check-type-closure": "python scripts/test/run_type_check.py",
"components-server": "third_party/node/node.py --output scripts/component_server/server.js",
"debug-e2etest": "DEBUG=1 python scripts/test/run_test_suite.py --test-suite=e2e",
"debug-test": "third_party/node/node.py --output scripts/npm_test.js --debug-devtools",
"debug-unittest": "DEBUG=1 npm run unittest",
"e2etest": "python scripts/test/run_test_suite.py --test-suite=e2e",
"eslint-test": "mocha \"./scripts/eslint_rules/tests/*_test.js\"",
"generate-bridge-file": "tsc -p scripts/component_bridges/tsconfig.json && third_party/node/node.py --output scripts/component_bridges/cli.js",
"generate-bridges-test": "tsc -b test/unittests/scripts/component_bridges/tsconfig.json && mocha test/unittests/scripts/component_bridges/**/*_test.js",
"generate-protocol-resources": "python scripts/deps/generate_protocol_resources.py && git cl format --js",
"grdp-utils-test": "mocha \"./scripts/localization/utils/tests/*_test.js\"",
"install-deps": "python scripts/deps/manage_node_deps.py",
"interactive-screenshottest": "INTERACTIVE=1 python scripts/test/run_test_suite.py --test-suite=screenshots",
"optimize-svg-images": "python scripts/optimize_svg_images.py",
"perf": "python scripts/test/run_test_suite.py --test-suite=perf",
"regenerate-all-component-bridges": "tsc -p scripts/component_bridges/tsconfig.json && third_party/node/node.py --output scripts/component_bridges/gen/regenerate-all-bridges.js",
"screenshottest": "python scripts/test/run_test_suite.py --test-suite=screenshots",
"server": "third_party/node/node.py --output scripts/hosted_mode/server.js",
"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`);'",
"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": "python scripts/test/run_unittests.py --no-text-coverage",
"watch": "third_party/node/node.py --output scripts/watch_build.js"
}
}