2015-07-18 23:23:36 +00:00
|
|
|
{
|
2015-08-08 00:11:35 +00:00
|
|
|
"name": "diff2html",
|
2018-06-16 17:57:04 +00:00
|
|
|
"version": "2.4.0",
|
2016-08-23 16:33:54 +00:00
|
|
|
"homepage": "https://diff2html.xyz",
|
2015-07-18 23:23:36 +00:00
|
|
|
"description": "Fast Diff to colorized HTML",
|
|
|
|
|
"keywords": [
|
2015-08-08 00:11:35 +00:00
|
|
|
"git",
|
|
|
|
|
"diff",
|
|
|
|
|
"pretty",
|
|
|
|
|
"side",
|
|
|
|
|
"line",
|
|
|
|
|
"side-by-side",
|
|
|
|
|
"line-by-line",
|
|
|
|
|
"character",
|
|
|
|
|
"highlight",
|
|
|
|
|
"pretty",
|
|
|
|
|
"color",
|
|
|
|
|
"html",
|
|
|
|
|
"diff2html",
|
|
|
|
|
"difftohtml",
|
|
|
|
|
"colorized"
|
|
|
|
|
],
|
2015-07-18 23:23:36 +00:00
|
|
|
"author": {
|
2015-08-08 00:11:35 +00:00
|
|
|
"name": "Rodrigo Fernandes",
|
2015-07-18 23:23:36 +00:00
|
|
|
"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": {
|
2018-06-16 17:42:29 +00:00
|
|
|
"node": ">=4"
|
2015-07-18 23:23:36 +00:00
|
|
|
},
|
2016-03-20 23:33:48 +00:00
|
|
|
"preferGlobal": true,
|
2015-07-18 23:23:36 +00:00
|
|
|
"scripts": {
|
2016-04-16 11:06:03 +00:00
|
|
|
"release": "./scripts/release.sh",
|
2016-10-12 21:52:59 +00:00
|
|
|
"release-website": "./scripts/release-website.sh",
|
2016-05-14 12:46:38 +00:00
|
|
|
"release-bower": "./scripts/update-bower-version.sh",
|
2016-04-16 11:06:03 +00:00
|
|
|
"templates": "./scripts/hulk.js --wrapper node --variable 'browserTemplates' ./src/templates/*.mustache > ./src/templates/diff2html-templates.js",
|
2017-10-05 16:28:33 +00:00
|
|
|
"style": "yarn run lint",
|
2017-01-15 18:08:41 +00:00
|
|
|
"lint": "eslint .",
|
2016-05-07 13:03:37 +00:00
|
|
|
"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",
|
2017-10-05 16:28:33 +00:00
|
|
|
"test": "yarn run coverage && yarn run check-coverage",
|
2016-08-24 10:34:50 +00:00
|
|
|
"codacy": "cat ./coverage/lcov.info | codacy-coverage",
|
2017-10-05 16:28:33 +00:00
|
|
|
"preversion": "yarn run release && yarn run release-website && yarn run lint && yarn test",
|
|
|
|
|
"version": "yarn run release-bower && git add -A src dist docs package.json bower.json",
|
2016-05-07 13:03:37 +00:00
|
|
|
"postversion": "git push && git push --tags"
|
2015-07-18 23:23:36 +00:00
|
|
|
},
|
|
|
|
|
"main": "./src/diff2html.js",
|
2016-04-15 22:08:57 +00:00
|
|
|
"browser": {
|
|
|
|
|
"fs": false
|
|
|
|
|
},
|
2015-07-18 23:23:36 +00:00
|
|
|
"dependencies": {
|
2018-06-16 17:42:29 +00:00
|
|
|
"diff": "^3.5.0",
|
2016-10-12 21:52:59 +00:00
|
|
|
"hogan.js": "^3.0.2",
|
2018-11-14 22:56:48 +00:00
|
|
|
"lodash": "^4.17.11",
|
|
|
|
|
"whatwg-fetch": "^3.0.0"
|
2015-10-31 21:55:15 +00:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2018-11-14 22:56:48 +00:00
|
|
|
"autoprefixer": "^9.3.1",
|
|
|
|
|
"browserify": "^16.2.3",
|
|
|
|
|
"clean-css-cli": "^4.2.1",
|
|
|
|
|
"codacy-coverage": "^3.2.0",
|
|
|
|
|
"eslint": "^5.9.0",
|
|
|
|
|
"eslint-plugin-promise": "^4.0.1",
|
|
|
|
|
"eslint-plugin-standard": "^4.0.0",
|
2015-12-23 16:05:30 +00:00
|
|
|
"fast-html-parser": "^1.0.1",
|
2016-12-01 16:56:22 +00:00
|
|
|
"istanbul": "^0.4.5",
|
2016-04-16 11:06:03 +00:00
|
|
|
"mkdirp": "^0.5.1",
|
2018-06-16 17:42:29 +00:00
|
|
|
"mocha": "^5.2.0",
|
2016-12-17 23:39:21 +00:00
|
|
|
"nopt": "^4.0.1",
|
2018-11-14 22:56:48 +00:00
|
|
|
"postcss-cli": "^6.0.1",
|
|
|
|
|
"uglify-js": "^3.4.9"
|
2015-07-18 23:23:36 +00:00
|
|
|
},
|
2015-07-18 23:32:40 +00:00
|
|
|
"license": "MIT",
|
2015-07-18 23:23:36 +00:00
|
|
|
"files": [
|
2015-12-21 00:17:19 +00:00
|
|
|
"src",
|
2016-10-08 15:31:39 +00:00
|
|
|
"dist",
|
|
|
|
|
"typescript"
|
2015-07-18 23:23:36 +00:00
|
|
|
]
|
|
|
|
|
}
|