UNPKG

diff-match-patch-es

Version:

ESM and TypeScript rewrite of Google's diff-match-patch

77 lines (76 loc) 1.82 kB
{ "name": "diff-match-patch-es", "type": "module", "version": "1.0.1", "packageManager": "pnpm@9.15.3", "description": "ESM and TypeScript rewrite of Google's diff-match-patch", "license": "Apache-2.0", "funding": "https://github.com/sponsors/antfu", "homepage": "https://github.com/antfu/diff-match-patch-es#readme", "repository": { "type": "git", "url": "git+https://github.com/antfu/diff-match-patch-es.git" }, "bugs": "https://github.com/antfu/diff-match-patch-es/issues", "keywords": [ "diff-match-patch", "diff", "esm" ], "sideEffects": false, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "main": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "typesVersions": { "*": { "*": [ "./dist/*", "./dist/index.d.ts" ] } }, "files": [ "dist" ], "scripts": { "build": "unbuild", "dev": "unbuild --stub", "lint": "eslint .", "prepublishOnly": "nr build", "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest", "typecheck": "tsc --noEmit", "prepare": "simple-git-hooks" }, "devDependencies": { "@antfu/eslint-config": "^3.12.2", "@antfu/ni": "^23.2.0", "@antfu/utils": "^8.0.0", "@types/node": "^22.10.5", "bumpp": "^9.10.0", "eslint": "^9.17.0", "esno": "^4.8.0", "lint-staged": "^15.3.0", "pnpm": "^9.15.3", "rimraf": "^6.0.1", "simple-git-hooks": "^2.11.1", "typescript": "^5.7.3", "unbuild": "^3.2.0", "vite": "^6.0.7", "vitest": "^2.1.8" }, "simple-git-hooks": { "pre-commit": "pnpm lint-staged" }, "lint-staged": { "*": "eslint --fix" } }