UNPKG

refakts

Version:

TypeScript refactoring tool built for AI coding agents to perform precise refactoring operations via command line instead of requiring complete code regeneration.

76 lines (75 loc) 2.75 kB
{ "name": "refakts", "version": "1.0.0", "main": "dist/index.js", "bin": { "refakts": "dist/cli.js" }, "scripts": { "build": "tsc", "test": "jest && touch /tmp/refakts-last-test", "test:watch": "jest --watch", "test:coverage": "jest --coverage && touch /tmp/refakts-last-test", "dev": "ts-node src/cli.ts", "lint": "eslint src --ext .ts", "lint:fix": "eslint src --ext .ts --fix", "quality": "ts-node src/quality-tools/quality-runner.ts", "quality:watch": "src/quality-tools/quality-watcher.sh start", "quality:watch:stop": "src/quality-tools/quality-watcher.sh stop", "quality:watch:status": "src/quality-tools/quality-watcher.sh status", "check-duplication": "jscpd src --threshold 10 --reporters console", "check-comments": "ts-node src/quality-tools/comment-detector.ts src", "update-docs": "ts-node src/update-docs.ts", "snooze": "ts-node src/snooze-cli.ts", "roadmap:vote": "ts-node src/roadmap/index.ts vote", "roadmap:add": "ts-node src/roadmap/index.ts add", "roadmap:remove": "ts-node src/roadmap/index.ts remove", "roadmap:status": "ts-node src/roadmap/index.ts status", "usage-report": "ts-node scripts/usage-report.ts", "usage-consolidate": "ts-node scripts/consolidate-usage.ts", "check-junk-files": "ts-node scripts/check-junk-files.ts", "prepack": "npm run build", "prepublishOnly": "npm run lint && npm run test" }, "keywords": ["typescript", "refactoring", "ast", "code-transformation", "cli", "ts-morph", "developer-tools"], "author": "Ivett Ördög. (http://ivettordog.com)", "license": "ISC", "repository": { "type": "git", "url": "https://github.com/devill/refakts.git" }, "bugs": { "url": "https://github.com/devill/refakts/issues" }, "homepage": "https://github.com/devill/refakts#readme", "engines": { "node": ">=18.0.0" }, "files": [ "dist/**/*", "README.md", "LICENSE.md" ], "description": "TypeScript refactoring tool built for AI coding agents to perform precise refactoring operations via command line instead of requiring complete code regeneration.", "devDependencies": { "@types/jest": "^30.0.0", "@types/js-yaml": "^4.0.9", "@types/node": "^24.0.7", "@typescript-eslint/eslint-plugin": "^8.35.1", "@typescript-eslint/parser": "^8.35.1", "complexity-report": "^2.0.0-alpha", "eslint": "^9.30.1", "eslint-config-prettier": "^10.1.5", "jest": "^30.0.3", "jscpd": "^4.0.5", "ts-jest": "^29.4.0", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "dependencies": { "@phenomnomnominal/tsquery": "^6.1.3", "commander": "^14.0.0", "js-yaml": "^4.1.0", "ts-morph": "^26.0.0" } }