mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
A node runner that bootstraps `fixtures/app`, and then uses `chrome-devtools` CLI to test third-party tools. ``` $ node e2e/run.js Starting fixture at http://127.0.0.1:60033/ Starting chrome-devtools daemon... Checking third-party tool discovery... Checking tree, details, search, and DOM lookup... Checking source, owners, and error payloads... Checking profiling through a real CLI click... react-devtools-cdt-mcp E2E passed. ✨ Done in 11.66s. ```
31 lines
885 B
JSON
31 lines
885 B
JSON
{
|
|
"name": "react-devtools-cdt-mcp",
|
|
"version": "0.0.0",
|
|
"description": "Integration of React tools with chrome-devtools-mcp",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/react.git",
|
|
"directory": "packages/react-devtools-cdt-mcp"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"index.js"
|
|
],
|
|
"scripts": {
|
|
"build": "cross-env NODE_ENV=production rollup -c rollup.config.cjs",
|
|
"prepublish": "yarn run build",
|
|
"start": "cross-env NODE_ENV=development rollup -c rollup.config.cjs --watch",
|
|
"test:e2e": "node e2e/run.js",
|
|
"test:e2e:ci": "cross-env E2E_CI=true node e2e/run.js"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.11.1",
|
|
"@babel/plugin-transform-flow-strip-types": "^7.10.4",
|
|
"@babel/register": "^7.14.5",
|
|
"chrome-devtools-mcp": "1.3.0",
|
|
"cross-env": "^7.0.3"
|
|
}
|
|
}
|