{ "name": "diff2html-cli", "version": "4.2.1", "homepage": "https://diff2html.xyz/index.html#cli", "description": "Fast Diff to colorized HTML", "keywords": [ "git", "diff", "pretty", "parser", "diffparser", "gen", "generator", "side", "line", "side-by-side", "line-by-line", "character", "highlight", "pretty", "color", "html", "diff2html", "difftohtml", "colorized" ], "author": { "name": "Rodrigo Fernandes", "email": "rtfrodrigo@gmail.com" }, "repository": { "type": "git", "url": "git://github.com/rtfpessoa/diff2html-cli.git" }, "bugs": { "url": "https://github.com/rtfpessoa/diff2html-cli/issues" }, "engines": { "node": ">=16" }, "preferGlobal": true, "scripts": { "eslint": "eslint --ignore-path .gitignore \"**/*.{js,jsx,ts,tsx,json}\"", "lint:check": "yarn run eslint", "lint:fix": "yarn run eslint --fix", "prettier": "prettier --ignore-path .gitignore '**/*.+(js|jsx|ts|tsx|json|css|html|md|mdx)'", "format:check": "yarn run prettier --check", "format:fix": "yarn run prettier --write", "build": "rm -rf lib; tsc -p tsconfig.json --outDir lib", "gen": "yarn run gen:toc", "gen:toc-base": "markdown-toc --maxdepth 3 --bullets='-' -i", "gen:toc": "yarn run gen:toc-base README.md", "test": "is-ci 'test:coverage' 'test:watch'", "test:coverage": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --coverage", "test:watch": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watch", "test:debug": "node --experimental-vm-modules --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --watch", "coverage:open": "yarn run test:coverage && open ./coverage/index.html", "validate": "yarn run format:check && yarn run lint:check && yarn run build && yarn run test:coverage", "fix": "yarn run format:fix && yarn run lint:fix", "preversion": "yarn run validate", "version": "git add -A package.json", "prepare": "husky install" }, "type": "module", "bin": { "diff2html": "./bin/diff2html.js" }, "main": "./lib/diff2html.js", "types": "./lib/diff2html.d.ts", "lint-staged": { "**/*.+(js|jsx|ts|tsx|json)": [ "prettier --write", "eslint --fix" ], "**/*.+(css|html|md|mdx)": [ "prettier --write" ], "README.md": [ "yarn run gen:toc-base" ] }, "dependencies": { "clipboardy": "^4.0.0", "diff2html": "^3.4.47", "node-fetch": "^3.3.2", "open": "^10.0.3", "yargs": "^17.6.0" }, "devDependencies": { "@babel/core": "^7.23.7", "@babel/preset-env": "^7.23.8", "@babel/preset-typescript": "^7.23.3", "@jest/globals": "^29.7.0", "@types/hogan.js": "^3.0.5", "@types/jest": "^29.5.11", "@types/node": "20.11.0", "@types/node-fetch": "^2.6.10", "@types/request": "2.48.12", "@typescript-eslint/eslint-plugin": "6.18.1", "@typescript-eslint/parser": "6.18.1", "babel-jest": "^29.7.0", "eslint": "8.56.0", "eslint-config-prettier": "9.1.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-import": "2.29.1", "eslint-plugin-jest": "27.6.3", "eslint-plugin-json": "3.1.0", "eslint-plugin-node": "11.1.0", "eslint-plugin-optimize-regex": "1.2.1", "eslint-plugin-promise": "6.1.1", "eslint-plugin-sonarjs": "0.23.0", "husky": "8.0.3", "is-ci-cli": "2.2.0", "jest": "29.7.0", "lint-staged": "15.2.0", "markdown-toc": "^1.2.0", "prettier": "3.2.1", "ts-jest": "^29.1.1", "ts-node": "^10.9.2", "typescript": "5.3.3" }, "license": "MIT", "files": [ "bin", "lib", "template.html" ] }