Files
react-native-devtools-frontend/package.json
T
Tim van der Lippe 35cca41271 Allow manage_node_deps to run custom npm commands
This allows us to execute the following:

npm run install-deps -- outdated

Which is equivalent to `npm outdated`, although it will run on the
actual node_modules output (that we can verify is unchanged).

Most of the npm commands require the private information to exist.
Therefore, if we run a custom command we first have to install with
`npm ci` to get the private information. Then we have to execute
the command, perform the cleanup and only after that finisht the
script. If we would bail out right after executing the custom command,
the private information would remain in the repository.

R=jacktfranklin@chromium.org

Fixed: 1068132
Change-Id: I50d3538a7115783dea19e1899faf17b1622f22ff
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2137381
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2020-04-06 13:01:08 +00:00

53 lines
3.1 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\"",
"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",
"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/",
"ts_library-test": "./third_party/typescript/tests/verify_ts_libary.sh",
"unittest": "NO_TEXT_COVERAGE=1 python scripts/test/run_unittests.py"
}
}