UNPKG

relative-import-fixer

Version:

CLI tool for TypeScript projects that removes unnecessary relative imports and replaces them with absolute imports based on the paths configured

44 lines (43 loc) 956 B
{ "name": "relative-import-fixer", "version": "1.1.8", "description": "CLI tool for TypeScript projects that removes unnecessary relative imports and replaces them with absolute imports based on the paths configured", "main": "./dist/index.js", "bin": { "run-relative-import-fixer": "./dist/index.js" }, "types": "dist/index.d.ts", "scripts": { "build": "tsup" }, "files": [ "dist" ], "prettier": { "printWidth": 200 }, "keywords": [ "typescript", "imports", "import-fixer", "relative-imports", "ts-morph", "code-transformation", "cli-tool", "nodejs", "typescript-transformer", "absolute-imports" ], "author": "Jhoan Hernández", "license": "MIT", "dependencies": { "commander": "^14.0.0", "simple-git": "^3.27.0", "ts-morph": "^22.0.0" }, "devDependencies": { "@types/node": "^22.15.21", "tsup": "^8.5.0", "typescript": "^5.8.3" } }