package.json•1.47 kB
{
"name": "edit-file-lines",
"version": "0.1.0",
"description": "Make line-based edits to a text file. Each edit replaces exact line sequences.",
"license": "MIT",
"author": "oakenai",
"type": "module",
"bin": {
"edit-file-lines": "./build/index.js"
},
"files": [
"build"
],
"scripts": {
"build": "tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"",
"prepare": "npm run build",
"watch": "tsc --watch",
"inspector": "npx @modelcontextprotocol/inspector build/index.js",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:tools": "tsx scripts/test-tools.ts",
"reset:fixtures": "tsx scripts/reset-fixtures.ts",
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch",
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
"format:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\""
},
"dependencies": {
"@modelcontextprotocol/sdk": "0.6.0",
"diff": "^5.1.0",
"glob": "^10.3.10",
"zod-to-json-schema": "^3.23.5"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
"@jest/globals": "^29.7.0",
"@jest/types": "^29.6.3",
"@types/diff": "^5.0.9",
"@types/jest": "^29.5.14",
"@types/node": "^20.11.0",
"jest": "^29.7.0",
"prettier": "^3.4.2",
"shx": "^0.3.4",
"ts-jest": "^29.2.5",
"tsx": "^4.19.2",
"typescript": "^5.3.3"
}
}