UNPKG

dry-ts

Version:

Find candidate duplicate TypeScript code by comparing normalized AST structure.

70 lines (69 loc) 1.84 kB
{ "name": "dry-ts", "version": "0.14.2", "description": "Find candidate duplicate TypeScript code by comparing normalized AST structure.", "type": "module", "repository": { "type": "git", "url": "git+https://github.com/Dominik-O22/dry-ts.git" }, "homepage": "https://github.com/Dominik-O22/dry-ts#readme", "bugs": { "url": "https://github.com/Dominik-O22/dry-ts/issues" }, "author": "Dominik-O22", "packageManager": "bun@1.3.6", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "bin": { "dry-ts": "./dist/bin/dry-ts.js" }, "files": [ "dist", "README.md", "skills", "!skills/_artifacts" ], "scripts": { "build": "rm -rf dist && tsc -p tsconfig.json && bun scripts/prepare-bin.mjs", "test": "bun test", "lint": "biome check src test scripts", "format": "biome check --write src test scripts", "check": "bun run lint && bun run build && bun test && bun ./dist/bin/dry-ts.js --fail-on-duplicates src test", "ci": "bun run check", "bench": "bun run build && bun scripts/benchmark.mjs", "bench:corpus": "bun scripts/bench-corpus.mjs", "bench:setup": "bun scripts/bench-setup.mjs", "pack:dry-run": "bun run build && bun pm pack --dry-run", "prepublishOnly": "bun run ci" }, "keywords": [ "duplicate-code", "dry", "static-analysis", "typescript", "javascript", "cli", "tanstack-intent" ], "sideEffects": false, "dependencies": { "ignore": "^7.0.5", "typescript": ">=5.0.0-0 <7.0.0-0" }, "devDependencies": { "@biomejs/biome": "2.5.0", "@tanstack/intent": "^0.0.42", "@types/node": "^22.0.0" }, "engines": { "node": ">=20" }, "license": "MIT" }