|
19 | 19 | "url": "git+https://github.com/ChromeDevTools/devtools-frontend.git" |
20 | 20 | }, |
21 | 21 | "scripts": { |
22 | | - "auto-debug-e2etest": "npm run build && npm run debug-e2etest --", |
23 | | - "auto-debug-interactionstest": "npm run build && npm run debug-interactionstest --", |
24 | | - "auto-debug-unittest": "DEBUG_TEST=1 npm run auto-unittest --", |
25 | | - "auto-e2etest": "npm run test -- --warn auto-e2etest && vpython3 third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/e2e/test-runner-config.json --autoninja", |
26 | | - "auto-e2etest-rdb": "npm run test -- --warn auto-e2etest-rdb && rdb stream -new -realm chromium:public -- npm run auto-e2etest --", |
27 | | - "auto-e2etest-parallel": "npm run build && npm run e2etest-parallel --", |
28 | | - "auto-e2etest-parallel-rdb": "npm run test -- --warn auto-e2etest-parallel-rdb && rdb stream -new -realm chromium:public -- npm run auto-e2etest-parallel --", |
29 | | - "auto-interactionstest": "npm run build && npm run interactionstest --", |
30 | | - "auto-interactionstest-rdb": "npm run test -- --warn auto-interactionstest-rdb && rdb stream -new -realm chromium:public -- npm run auto-interactionstest --", |
31 | | - "auto-screenshotstest": "npm run test -- --warn 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]'", |
32 | | - "auto-screenshotstest-rdb": "npm run test -- --warn auto-screenshotstest-rdb && rdb stream -new -realm chromium:public -- npm run auto-screenshotstest --", |
33 | | - "auto-unittest": "npm run test -- --warn auto-unittest && vpython3 scripts/test/run_auto_unittests.py --no-text-coverage", |
34 | | - "auto-unittest-rdb": "npm run test -- --warn auto-unittest-rdb && rdb stream -new -realm chromium:public -- npm run auto-unittest --", |
35 | | - "auto-unittest-coverage": "npm run test -- --warn auto-unittest-coverage && vpython3 scripts/test/run_auto_unittests.py --no-text-coverage --coverage", |
36 | 22 | "bake-strings": "npm run collect-strings && vpython3 third_party/node/node.py --output third_party/i18n/bake-strings.js front_end/core/i18n/locales", |
37 | 23 | "build": "autoninja -C out/Default", |
38 | 24 | "build-release": "autoninja -C out/Release", |
|
43 | 29 | "check-lint-css": "vpython3 third_party/node/node.py --output scripts/test/run_lint_check_css.js", |
44 | 30 | "collect-strings": "vpython3 third_party/node/node.py --output third_party/i18n/collect-strings.js front_end", |
45 | 31 | "components-server": "vpython3 third_party/node/node.py --output scripts/component_server/server.js", |
46 | | - "debug-e2etest": "DEBUG_TEST=1 npm run e2etest", |
47 | | - "debug-interactionstest": "DEBUG_TEST=1 npm run interactionstest", |
48 | 32 | "debug-webtest": "vpython3 third_party/node/node.py --output scripts/npm_test.js --debug-devtools", |
49 | | - "debug-unittest": "DEBUG_TEST=1 npm run unittest", |
50 | | - "e2etest": "npm run test -- --warn e2etest && vpython3 third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/e2e/test-runner-config.json", |
51 | | - "e2etest-parallel": "npm run test -- --warn e2etest-parallel && vpython3 scripts/test/run_test_suite_parallel.py", |
52 | 33 | "eslint-test": "vpython3 third_party/node/node.py --output node_modules/mocha/bin/mocha \"./scripts/eslint_rules/tests/*_test.js\"", |
53 | 34 | "build-test": "vpython3 third_party/node/node.py --output node_modules/mocha/bin/mocha \"./scripts/build/tests/*_test.js\"", |
54 | 35 | "generate-dark-mode-styles": "vpython3 third_party/node/node.py --output scripts/dark_mode/generate_dark_theme_sheet.js", |
55 | 36 | "generate-protocol-resources": "scripts/deps/generate_protocol_resources.py && git cl format --js", |
56 | 37 | "install-deps": "scripts/deps/manage_node_deps.py", |
57 | | - "interactionstest": "npm run test -- --warn interactionstest && vpython3 third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/interactions/test-runner-config.json", |
58 | | - "perf": "npm run test -- --warn perf && vpython3 third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/perf/test-runner-config.json", |
59 | 38 | "prebuild": "gn gen out/Default", |
60 | 39 | "rdb": "rdb stream -new -realm chrome:public --", |
61 | 40 | "setup-dtrun": "cd scripts/devtools_run && npm link", |
|
64 | 43 | "webtest": "vpython3 third_party/node/node.py --output scripts/npm_test.js", |
65 | 44 | "webtest-local": "vpython3 third_party/node/node.py --output scripts/npm_test.js --layout-tests-directory=test/webtests/", |
66 | 45 | "ts_library-test": "./third_party/typescript/tests/verify_ts_libary.sh", |
67 | | - "unittest": "npm run test -- --warn unittest && vpython3 scripts/test/run_unittests.py --no-text-coverage", |
68 | 46 | "watch": "vpython3 third_party/node/node.py --output scripts/watch_build.js", |
69 | | - "test": "vpython3 third_party/node/node.py --output scripts/run_on_target.mjs gen/test/run.js", |
70 | | - "watch-unittest": "npm run test -- --warn watch-unittest && vpython3 scripts/test/run_unittests.py --no-text-coverage --karma-args='--auto-watch --no-single-run --restart-on-file-change --auto-watch-batch-delay 250'" |
| 47 | + "test": "vpython3 third_party/node/node.py --output scripts/run_on_target.mjs gen/test/run.js" |
71 | 48 | }, |
72 | 49 | "devDependencies": { |
73 | 50 | "@istanbuljs/schema": "0.1.3", |
|
0 commit comments