UNPKG

react-diff-viewer-continued

Version:

Continuation of a simple and beautiful text diff viewer component made with diff and React

80 lines 2.42 kB
{ "name": "react-diff-viewer-continued", "version": "4.2.0", "private": false, "description": "Continuation of a simple and beautiful text diff viewer component made with diff and React", "keywords": [ "review", "code-review", "diff", "diff-viewer", "github", "react", "react-component", "ui" ], "repository": "https://github.com/Aeolun/react-diff-viewer-continued", "license": "MIT", "authors": [ "Pranesh Ravi<praneshpranesh@gmail.com>", "Bart Riepe <bart@serial-experiments.com>" ], "type": "module", "exports": { ".": { "types": "./lib/cjs/src/index.d.ts", "import": "./lib/esm/src/index.js", "require": "./lib/cjs/src/index.js" } }, "main": "lib/cjs/src/index", "module": "lib/esm/src/index", "typings": "lib/cjs/src/index", "dependencies": { "@emotion/css": "^11.13.5", "@emotion/react": "^11.14.0", "classnames": "^2.5.1", "diff": "^8.0.3", "js-yaml": "^4.1.1", "memoize-one": "^6.0.0" }, "devDependencies": { "@biomejs/biome": "^2.3.14", "@testing-library/dom": "^10.4.1", "@testing-library/react": "^16.3.2", "@types/js-yaml": "^4.0.9", "@types/node": "^25.2.0", "@types/react": "^19.2.11", "@types/react-dom": "^19.2.3", "esbuild": "^0.27.3", "gh-pages": "^6.3.0", "happy-dom": "^20.5.0", "just-release": "^0.7.0", "react": "^19.2.4", "react-dom": "^19.2.4", "sass": "^1.97.3", "ts-node": "^10.9.2", "typescript": "^5.9.3", "vite": "^7.3.1", "vitest": "^4.0.18" }, "peerDependencies": { "react": "^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "engines": { "node": ">= 16" }, "scripts": { "build:worker": "node scripts/build-worker.js", "build": "pnpm run build:worker && tsc --project tsconfig.json && tsc --project tsconfig.esm.json", "build:examples": "vite build examples", "publish:examples": "NODE_ENV=production pnpm run build:examples && gh-pages -d examples/dist -r $GITHUB_REPO_URL", "publish:examples:local": "NODE_ENV=production pnpm run build:examples && gh-pages -d examples/dist", "start:examples": "vite examples", "dev": "vite dev examples", "test": "vitest", "check": "biome check src/ test/", "check:fix": "biome check --write --unsafe src/ test/" } }