UNPKG

@fishan/myers-core-diff

Version:

A high-performance core diff engine based on Myers' algorithm, with plugin support for custom strategies (e.g., Patience, Preserve Structure).

57 lines (56 loc) 1.72 kB
{ "name": "@fishan/myers-core-diff", "version": "1.0.2a", "description": "A high-performance core diff engine based on Myers' algorithm, with plugin support for custom strategies (e.g., Patience, Preserve Structure).", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "author": "Aleks Fishan a.fishan@gmail.com", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/fishan/myers-core-diff.git" }, "homepage": "https://github.com/fishan/myers-core-diff#readme", "bugs": { "url": "https://github.com/fishan/myers-core-diff/issues" }, "scripts": { "test": "npm run test:prod", "test:prod": "npm run build && mocha --bail --config .mocharc.cjs", "test:dev": "cross-env TS_NODE_PROJECT=tsconfig.test.json mocha --bail --config .mocharc.cjs", "clean": "rimraf dist", "build:js": "esbuild src/*.ts --outdir=dist --platform=node --format=esm --define:__DEV__=false --minify --drop:console", "build:types": "tsc -p tsconfig.build.json --emitDeclarationOnly", "build": "npm run clean && npm run build:types && npm run build:js", "prepublishOnly": "npm run build" }, "files": [ "dist" ], "keywords": [ "diff", "myers", "myers-diff", "preserve-structure-diff", "patience-diff", "diff-core", "diff-engine", "typescript" ], "devDependencies": { "@types/mocha": "^10.0.10", "cross-env": "^10.1.0", "esbuild": "^0.20.0", "mocha": "^11.7.2", "rimraf": "^5.0.10", "ts-node": "^10.9.2", "typescript": "^5.9.2" } }