Files
react-native-devtools-frontend/package.json
T
Tim van der Lippe 60bc8888bf Remove jsconfig configuration files
These files were used in the pre-ES module module era, to instruct
editors like VS Code to resolve symbols. However, since we are in ES
modules land we explicitly *don't* want this resolution. By removing
suport for jsconfig, the editor will now warn before hand on un-imported
symbols. This should reduce the risk of accidentally using the global
symbol rather than the import.

After this change, there will be numerous `jsconfig.json` in the
repository. You are recommended to `git add . && git reset --hard` to
remove these from your local checkout.

Most files will now see a lot of red squiggles with errors, which is to
be expected, as TypeScript does not understand many of the globals. I
have declared `ls` in the globals to at least suppress these, as well as
fix the definition of UIString. These seem to be the most prominent.

All other usages will still need fixing before the files in question can
be typescriptified. However, we do hope that with this change, it is
more difficult to check in new code that is not compliant with
TypeScript already.

Bug: 1006759
Change-Id: I6591e73d66c845a2160b843b627c1adcb1389c24
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2098602
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Reviewed-by: Robert Paveza <Rob.Paveza@microsoft.com>
2020-03-16 17:13:36 +00:00

50 lines
2.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": "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",
"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": "python scripts/test/run_type_check.py",
"chrome": "node scripts/hosted_mode/launch_chrome.js",
"debug-e2etest": "DEBUG=1 npm run e2etest",
"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\"",
"generate-protocol-resources": "python scripts/deps/generate_protocol_resources.py",
"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",
"preinstall": "if [ -z ${PUPPETEER_SKIP_CHROMIUM_DOWNLOAD+x} ]; then echo 'Run npm run install-deps instead' && exit 1; fi",
"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/",
"unittest": "NO_TEXT_COVERAGE=1 python scripts/test/run_unittests.py"
}
}