Files
react-native-devtools-frontend/package.json
T
Jack Franklin c6577bae1c Add support for Platform.UIString calls in GRDP parsing
Now UIString is defined in Platform [1] we need to update the GRDP
parsing code to look for calls to it rather than `Common.UIString`.

We still support `Common.UIString` so this CL extends the script to look
for:

1) Usage outside of Platform:

```
import * as Platform from '../platform/platform.js';

Platform.UIString.UIString('foobarbaz');
```

2) Usage inside of Platform:
```
import {UIString} from './UIString.js';

UIString('foobarbaz');
```

[1]: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2165793

Change-Id: I8c0f97817709e936bdddce8f0b60d759e80fd1ba
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2170067
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
2020-04-28 14:13:33 +00:00

55 lines
3.2 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": "SEE LICENSE IN https://chromium.googlesource.com/chromium/src/+/master/LICENSE",
"name": "chrome-devtools-frontend",
"repository": {
"type": "git",
"url": "git+https://github.com/ChromeDevTools/devtools-frontend.git"
},
"scripts": {
"check": "npm run check-json && npm run check-gn && npm run check-lint && npm run check-loc && npm run check-type-closure",
"check-gn": "node scripts/check_gn.js",
"check-grdp": "node scripts/localization/check_localizable_resources.js",
"check-json": "node scripts/json_validator/validate_module_json.js",
"check-lint": "python scripts/test/run_lint_check.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",
"chrome": "node scripts/hosted_mode/launch_chrome.js",
"debug-e2etest": "DEBUG=1 python scripts/test/run_test_suite.py --test-suite=e2e",
"debug-test": "node 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\"",
"grdp-utils-test": "mocha \"./scripts/localization/utils/tests/*_test.js\"",
"generate-bridge-file": "tsc -p scripts/component_bridges/tsconfig.json && node scripts/component_bridges/gen/cli.js",
"generate-bridges-test": "tsc -p 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",
"install-deps": "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true 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",
"screenshottest": "python scripts/test/run_test_suite.py --test-suite=screenshots",
"server": "node scripts/hosted_mode/server.js",
"setup-dtrun": "cd scripts/devtools_run && npm link",
"start": "node scripts/hosted_mode/start_chrome_and_server.js",
"test": "node scripts/npm_test.js",
"test-local": "node scripts/npm_test.js --layout-tests-directory=test/webtests/",
"ts_library-test": "./third_party/typescript/tests/verify_ts_libary.sh",
"auto-unittest": "python scripts/test/run_auto_unittests.py --no-text-coverage",
"unittest": "python scripts/test/run_unittests.py --no-text-coverage"
}
}