/
package.json
140 lines (140 loc) · 7.62 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"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": "npm run build && npm run debug-e2etest --",
"auto-debug-interactionstest": "npm run build && npm run debug-interactionstest --",
"auto-debug-unittest": "DEBUG_TEST=1 npm run auto-unittest --",
"auto-e2etest": "vpython3 third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/e2e/test-runner-config.json --autoninja",
"auto-e2etest-rdb": "rdb stream -new -realm chromium:public -- npm run auto-e2etest --",
"auto-e2etest-parallel": "npm run build && npm run e2etest-parallel --",
"auto-e2etest-parallel-rdb": "rdb stream -new -realm chromium:public -- npm run auto-e2etest-parallel --",
"auto-interactionstest": "npm run build && npm run interactionstest --",
"auto-interactionstest-rdb": "rdb stream -new -realm chromium:public -- npm run auto-interactionstest --",
"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]'",
"auto-screenshotstest-rdb": "rdb stream -new -realm chromium:public -- npm run auto-screenshotstest --",
"auto-unittest": "vpython3 scripts/test/run_auto_unittests.py --no-text-coverage",
"auto-unittest-rdb": "rdb stream -new -realm chromium:public -- npm run auto-unittest --",
"auto-unittest-coverage": "vpython3 scripts/test/run_auto_unittests.py --no-text-coverage --coverage",
"bake-strings": "npm run collect-strings && vpython3 third_party/node/node.py --output third_party/i18n/bake-strings.js front_end/core/i18n/locales",
"build": "autoninja -C out/Default",
"build-release": "autoninja -C out/Release",
"check": "npm run check-lint && npm run check-loc",
"check-external-links": "vpython3 third_party/node/node.py --output scripts/check_external_links.js",
"check-lint": "vpython3 third_party/node/node.py --output scripts/test/run_lint_check_js.mjs && vpython3 third_party/node/node.py --output scripts/test/run_lint_check_css.js",
"check-lint-js": "vpython3 third_party/node/node.py --output scripts/test/run_lint_check_js.mjs",
"check-lint-css": "vpython3 third_party/node/node.py --output scripts/test/run_lint_check_css.js",
"collect-strings": "vpython3 third_party/node/node.py --output third_party/i18n/collect-strings.js front_end",
"components-server": "vpython3 third_party/node/node.py --output scripts/component_server/server.js",
"debug-e2etest": "DEBUG_TEST=1 npm run e2etest",
"debug-interactionstest": "DEBUG_TEST=1 npm run interactionstest",
"debug-webtest": "vpython3 third_party/node/node.py --output scripts/npm_test.js --debug-devtools",
"debug-unittest": "DEBUG_TEST=1 npm run unittest",
"e2etest": "vpython3 third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/e2e/test-runner-config.json",
"e2etest-parallel": "vpython3 scripts/test/run_test_suite_parallel.py",
"eslint-test": "vpython3 third_party/node/node.py --output node_modules/mocha/bin/mocha \"./scripts/eslint_rules/tests/*_test.js\"",
"build-test": "vpython3 third_party/node/node.py --output node_modules/mocha/bin/mocha \"./scripts/build/tests/*_test.js\"",
"generate-dark-mode-styles": "vpython3 third_party/node/node.py --output scripts/dark_mode/generate_dark_theme_sheet.js",
"generate-protocol-resources": "scripts/deps/generate_protocol_resources.py && git cl format --js",
"install-deps": "scripts/deps/manage_node_deps.py",
"interactionstest": "vpython3 third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/interactions/test-runner-config.json",
"perf": "vpython3 third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/perf/test-runner-config.json",
"prebuild": "gn gen out/Default",
"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`);'",
"stylelint-test": "vpython3 third_party/node/node.py --output ./node_modules/.bin/mocha \"./scripts/stylelint_rules/tests/*_test.js\"",
"webtest": "vpython3 third_party/node/node.py --output scripts/npm_test.js",
"webtest-local": "vpython3 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": "vpython3 scripts/test/run_unittests.py --no-text-coverage",
"watch": "vpython3 third_party/node/node.py --output scripts/watch_build.js",
"test": "vpython3 third_party/node/node.py --output scripts/run_on_target.mjs gen/test/run.js",
"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'"
},
"devDependencies": {
"@istanbuljs/schema": "0.1.3",
"@rollup/plugin-node-resolve": "10.0.0",
"@types/chai": "4.3.15",
"@types/codemirror": "5.60.7",
"@types/emscripten": "1.39.4",
"@types/estree": "0.0.50",
"@types/filesystem": "0.0.32",
"@types/istanbul-lib-coverage": "2.0.4",
"@types/istanbul-lib-instrument": "1.7.4",
"@types/istanbul-lib-report": "3.0.0",
"@types/istanbul-lib-source-maps": "4.0.1",
"@types/istanbul-reports": "3.0.1",
"@types/karma-chai-sinon": "0.1.16",
"@types/marked": "4.0.1",
"@types/mocha": "9.0.0",
"@types/node": "18.11.9",
"@types/rimraf": "3.0.2",
"@types/sinon": "10.0.6",
"@types/webidl2": "23.13.6",
"@typescript-eslint/eslint-plugin": "5.59.8",
"@typescript-eslint/parser": "5.59.8",
"@web/rollup-plugin-import-meta-assets": "1.0.7",
"@webref/idl": "3.12.0",
"chai": "4.3.4",
"chokidar": "3.5.2",
"convert-source-map": "1.8.0",
"cssnano": "5.1.14",
"cssnano-preset-lite": "2.1.3",
"esbuild": "0.14.13",
"escodegen": "2.0.0",
"eslint": "8.19.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsdoc": "39.6.4",
"eslint-plugin-lit-a11y": "2.1.0",
"eslint-plugin-mocha": "10.0.3",
"eslint-plugin-rulesdir": "0.2.1",
"glob": "7.1.7",
"istanbul-lib-instrument": "5.1.0",
"istanbul-lib-report": "3.0.0",
"karma": "6.4.0",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "3.1.0",
"karma-coverage": "2.1.0",
"karma-mocha": "2.0.1",
"karma-mocha-reporter": "2.2.5",
"karma-sinon": "1.0.5",
"karma-sourcemap-loader": "0.3.8",
"karma-spec-reporter": "0.0.32",
"license-checker": "25.0.1",
"mocha": "9.2.2",
"postcss": "8.4.5",
"puppeteer-core": "22.7.0",
"recast": "0.20.5",
"rimraf": "3.0.2",
"rollup": "2.63.0",
"rollup-plugin-sourcemaps": "0.6.2",
"rollup-plugin-terser": "7.0.2",
"sinon": "12.0.1",
"source-map-support": "0.5.21",
"stylelint": "14.2.0",
"stylelint-config-standard": "24.0.0",
"svgo": "2.8.0",
"terser": "5.19.1",
"typescript": "5.4.2",
"webidl2": "24.2.2",
"ws": "8.16.0",
"yargs": "17.3.1"
}
}