106 lines
3 KiB
JSON
106 lines
3 KiB
JSON
{
|
|
"name": "diff2html",
|
|
"version": "2.12.2",
|
|
"homepage": "https://diff2html.xyz",
|
|
"description": "Fast Diff to colorized HTML",
|
|
"keywords": [
|
|
"git",
|
|
"diff",
|
|
"pretty",
|
|
"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": "https://www.github.com/rtfpessoa/diff2html.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://www.github.com/rtfpessoa/diff2html/issues"
|
|
},
|
|
"engines": {
|
|
"node": "8.* || >=10"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint '*/**/*.{js,jsx,ts,tsx}'",
|
|
"style": "yarn run lint",
|
|
"test": "yarn run build-scripts && yarn run build-templates && jest",
|
|
"coverage": "jest --collectCoverage",
|
|
"coverage-html": "yarn run coverage && open ./coverage/index.html",
|
|
"codacy": "cat ./coverage/lcov.info | codacy-coverage",
|
|
"build": "rm -rf build docs; yarn run build-scripts && yarn run build-css && yarn run build-templates && yarn run build-library && yarn run build-browser-bundle && yarn run build-website",
|
|
"build-scripts": "tsc -p tsconfig.scripts.json",
|
|
"build-css": "./scripts/build-css.sh",
|
|
"build-templates": "./scripts/build-templates.sh",
|
|
"build-library": "tsc -p tsconfig.json",
|
|
"build-browser-bundle": "./scripts/build-browser-bundle.sh",
|
|
"build-website": "./scripts/build-website.sh",
|
|
"preversion": "yarn run build && yarn run lint && yarn test",
|
|
"version": "git add -A package.json",
|
|
"postversion": "git push && git push --tags"
|
|
},
|
|
"main": "./build/commonjs-node/diff2html.js",
|
|
"browser": {
|
|
"fs": false
|
|
},
|
|
"dependencies": {
|
|
"diff": "4.0.1",
|
|
"hogan.js": "3.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/diff": "4.0.2",
|
|
"@types/highlight.js": "9.12.3",
|
|
"@types/jest": "24.0.18",
|
|
"@types/mkdirp": "0.5.2",
|
|
"@types/node": "12.7.2",
|
|
"@types/nopt": "3.0.29",
|
|
"@typescript-eslint/eslint-plugin": "2.0.0",
|
|
"@typescript-eslint/parser": "2.0.0",
|
|
"autoprefixer": "9.6.0",
|
|
"browserify": "16.5.0",
|
|
"clean-css-cli": "4.3.0",
|
|
"codacy-coverage": "3.4.0",
|
|
"eslint": "6.2.2",
|
|
"eslint-config-prettier": "6.1.0",
|
|
"eslint-config-standard": "14.0.1",
|
|
"eslint-plugin-import": "2.18.2",
|
|
"eslint-plugin-jest": "22.15.2",
|
|
"eslint-plugin-node": "9.1.0",
|
|
"eslint-plugin-prettier": "3.1.0",
|
|
"eslint-plugin-promise": "4.2.1",
|
|
"eslint-plugin-standard": "4.0.1",
|
|
"fast-html-parser": "1.0.1",
|
|
"highlight.js": "9.15.10",
|
|
"jest": "24.9.0",
|
|
"mkdirp": "0.5.1",
|
|
"nopt": "4.0.1",
|
|
"postcss-cli": "6.1.3",
|
|
"prettier": "1.18.2",
|
|
"terser": "4.3.8",
|
|
"ts-jest": "24.1.0",
|
|
"typescript": "3.6.4",
|
|
"whatwg-fetch": "3.0.0"
|
|
},
|
|
"resolutions": {
|
|
"lodash": "4.17.15"
|
|
},
|
|
"license": "MIT",
|
|
"files": [
|
|
"build/commonjs-node",
|
|
"build/browser",
|
|
"build/css"
|
|
]
|
|
}
|