UNPKG

react-diff-view

Version:

A git diff component to consume the git unified diff output.

130 lines (129 loc) 3.85 kB
{ "name": "react-diff-view", "version": "3.3.2", "description": "A git diff component to consume the git unified diff output.", "main": "./cjs/index.js", "module": "./es/index.js", "types": "./types/index.d.ts", "publishConfig": { "registry": "https://registry.npmjs.com" }, "sideEffects": [ "*.css", "*.less" ], "scripts": { "prepare": "husky install", "test": "vitest run", "start": "skr dev --src-dir=site", "clean": "rm -rf cjs es style types", "build": "sh scripts/build.sh", "build-pages": "skr build --clean --src-dir=site --build-target=stable", "prepublishOnly": "npm run build", "lint": "eslint src site", "ci": "yarn install --immutable && npm run lint && npm run build-pages && npm run build && npm run test", "prerelease": "npm run ci", "release": "standard-version" }, "author": "otakustay", "license": "MIT", "dependencies": { "classnames": "^2.3.2", "diff-match-patch": "^1.0.5", "gitdiff-parser": "^0.3.1", "lodash": "^4.17.21", "shallow-equal": "^3.1.0", "warning": "^4.0.3" }, "devDependencies": { "@ant-design/icons": "^5.2.6", "@babel/core": "^7.23.3", "@babel/eslint-parser": "^7.23.3", "@babel/eslint-plugin": "^7.22.10", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/preset-env": "^7.23.3", "@babel/preset-react": "^7.23.3", "@ecomfe/eslint-config": "^8.0.0", "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", "@reskript/cli": "6.0.3", "@reskript/cli-build": "6.0.3", "@reskript/cli-dev": "6.0.3", "@reskript/settings": "6.0.3", "@rollup/plugin-typescript": "^11.1.5", "@types/dedent": "^0.7.2", "@types/diff-match-patch": "^1.0.36", "@types/lodash": "^4.14.201", "@types/react": "^18.2.37", "@types/react-dom": "^18.2.15", "@types/react-test-renderer": "^18.0.6", "@types/refractor": "^2.8.0", "@types/sha1": "^1.1.5", "@types/warning": "^3.0.3", "@typescript-eslint/eslint-plugin": "^6.10.0", "@typescript-eslint/parser": "^6.10.0", "antd": "^5.11.1", "autoprefixer": "^10.4.16", "babel-plugin-add-react-displayname": "0.0.5", "babel-plugin-lodash": "^3.3.4", "core-js": "^3.33.2", "cssnano": "^6.0.1", "dedent": "^1.5.1", "eslint": "^8.53.0", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "husky": "^8.0.3", "nanoid": "^5.0.3", "postcss": "^8.4.31", "postcss-cli": "^10.1.0", "postcss-custom-properties": "^13.3.2", "prism-color-variables": "^1.0.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-infinite-scroller": "^1.2.6", "react-test-renderer": "^18.2.0", "react-timeago": "^7.2.0", "refractor": "^2.10.1", "rollup": "^4.4.0", "rollup-plugin-auto-external": "^2.0.0", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-terser": "^7.0.2", "sha1": "^1.1.1", "standard-version": "^9.5.0", "typescript": "^5.2.2", "unidiff": "^1.0.4", "vitest": "^0.34.6", "webpack": "^5.89.0" }, "peerDependencies": { "react": ">=16.14.0" }, "repository": { "type": "git", "url": "git+https://github.com/otakustay/react-diff-view.git" }, "keywords": [ "git", "github", "diff", "git-diff", "react", "component" ], "bugs": { "url": "https://github.com/otakustay/react-diff-view/issues" }, "homepage": "https://github.com/otakustay/react-diff-view#readme", "files": [ "es", "cjs", "style", "types", "esm", "src" ], "packageManager": "yarn@4.1.0+sha256.81a00df816059803e6b5148acf03ce313cad36b7f6e5af6efa040a15981a6ffb" }