mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
The package was CJS-only, now adding basic ESM package exports to make sure it works there as well.
39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
{
|
|
"name": "react-devtools-cdt-mcp",
|
|
"version": "0.0.0",
|
|
"description": "Integration of React tools with chrome-devtools-mcp",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./register": "./dist/register.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"sideEffects": [
|
|
"./src/register.js",
|
|
"./dist/register.js"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/react.git",
|
|
"directory": "packages/react-devtools-cdt-mcp"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"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"
|
|
}
|
|
}
|