a117b35f9f
- Added sync-exports.ts script to enforce canonical package.json field ordering and auto-generate exports from filesystem structure. - Expanded subpath exports across 11 packages (ai, agent, coding-agent, natives, stats, utils, tui, swarm-extension) to enable flexible module imports. - Reorganized package.json field ordering to follow standard conventions with metadata before main/exports and files/exports at end. - Consolidated wildcard export patterns to simplify import paths while maintaining backward compatibility with explicit subpath exports.
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"type": "module",
|
|
"private": true,
|
|
"name": "@oh-my-pi/react-edit-benchmark",
|
|
"version": "0.0.1",
|
|
"description": "Edit benchmark suite using React source code mutations",
|
|
"author": "Can Bölük",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/can1357/oh-my-pi.git",
|
|
"directory": "packages/react-edit-benchmark"
|
|
},
|
|
"main": "./src/index.ts",
|
|
"bin": {
|
|
"react-edit-benchmark": "src/index.ts"
|
|
},
|
|
"scripts": {
|
|
"start": "bun run src/index.ts",
|
|
"generate": "bun run src/generate.ts --react-dir /tmp/react-source --count-per-type 4",
|
|
"check": "tsgo -p tsconfig.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@babel/generator": "7.29.1",
|
|
"@babel/parser": "7.29.0",
|
|
"@babel/traverse": "7.29.0",
|
|
"@babel/types": "7.29.0",
|
|
"@oh-my-pi/pi-agent-core": "workspace:*",
|
|
"@oh-my-pi/pi-coding-agent": "workspace:*",
|
|
"@oh-my-pi/pi-utils": "workspace:*",
|
|
"diff": "^8.0.3",
|
|
"prettier": "^3.8.1",
|
|
"regexp-tree": "0.1.27"
|
|
},
|
|
"devDependencies": {
|
|
"@types/babel__generator": "7.27.0",
|
|
"@types/babel__traverse": "7.28.0",
|
|
"@types/bun": "^1.3.9"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.3.7"
|
|
}
|
|
}
|