84 lines
2.2 KiB
JSON
84 lines
2.2 KiB
JSON
{
|
|
"name": "diff2html",
|
|
"version": "2.10.0",
|
|
"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": ">=4"
|
|
},
|
|
"preferGlobal": true,
|
|
"scripts": {
|
|
"release": "./scripts/release.sh",
|
|
"release-website": "./scripts/release-website.sh",
|
|
"templates": "./scripts/hulk.js --wrapper node --variable 'browserTemplates' ./src/templates/*.mustache > ./src/templates/diff2html-templates.js",
|
|
"style": "yarn run lint",
|
|
"lint": "eslint .",
|
|
"coverage": "istanbul cover _mocha -- -u exports -R spec ./test/**/*",
|
|
"check-coverage": "istanbul check-coverage --statements 90 --functions 90 --branches 85 --lines 90 ./coverage/coverage.json",
|
|
"test": "yarn run coverage && yarn run check-coverage",
|
|
"codacy": "cat ./coverage/lcov.info | codacy-coverage",
|
|
"preversion": "yarn run release && yarn run release-website && yarn run lint && yarn test",
|
|
"version": "git add -A src dist docs package.json",
|
|
"postversion": "git push && git push --tags"
|
|
},
|
|
"main": "./src/diff2html.js",
|
|
"browser": {
|
|
"fs": false
|
|
},
|
|
"dependencies": {
|
|
"diff": "^4.0.1",
|
|
"hogan.js": "^3.0.2",
|
|
"merge": "^1.2.1",
|
|
"whatwg-fetch": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^9.6.0",
|
|
"browserify": "^16.2.3",
|
|
"clean-css-cli": "^4.3.0",
|
|
"codacy-coverage": "^3.4.0",
|
|
"eslint": "^5.16.0",
|
|
"eslint-plugin-promise": "^4.1.1",
|
|
"eslint-plugin-standard": "^4.0.0",
|
|
"fast-html-parser": "^1.0.1",
|
|
"istanbul": "^0.4.5",
|
|
"mkdirp": "^0.5.1",
|
|
"mocha": "5.2.0",
|
|
"nopt": "^4.0.1",
|
|
"postcss-cli": "^6.1.2",
|
|
"uglify-js": "^3.6.0"
|
|
},
|
|
"license": "MIT",
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"typescript"
|
|
]
|
|
}
|