2015-07-18 23:23:36 +00:00
{
2015-08-08 00:11:35 +00:00
"name" : "diff2html" ,
2019-12-22 18:57:06 +00:00
"version" : "3.0.0-beta.1" ,
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" : {
2019-12-22 21:15:50 +00:00
"node" : ">=10.13"
2015-07-18 23:23:36 +00:00
} ,
"scripts" : {
2019-10-06 20:04:33 +00:00
"lint" : "eslint '*/**/*.{js,jsx,ts,tsx}'" ,
2017-10-05 16:28:33 +00:00
"style" : "yarn run lint" ,
2019-11-24 22:44:26 +00:00
"test" : "yarn run build-templates && jest" ,
2019-10-06 20:04:33 +00:00
"coverage" : "jest --collectCoverage" ,
"coverage-html" : "yarn run coverage && open ./coverage/index.html" ,
2016-08-24 10:34:50 +00:00
"codacy" : "cat ./coverage/lcov.info | codacy-coverage" ,
2019-11-24 22:44:26 +00:00
"build" : "yarn run build-css && yarn run build-templates && yarn run build-es5 && yarn run build-esm && yarn run build-bundles && yarn run build-website" ,
"build-es5" : "rm -rf lib; tsc -p tsconfig.json --outDir lib" ,
"build-esm" : "rm -rf lib-esm; tsc -p tsconfig.json -m es6 --outDir lib-esm" ,
"build-bundles" : "rm -rf ./bundles/js; NODE_ENV=production WEBPACK_MINIMIZE=true webpack --mode production --config webpack.bundles.ts" ,
"build-css" : "rm -rf ./bundles/css; postcss --use autoprefixer postcss-import postcss-preset-env cssnano -o ./bundles/css/diff2html.min.css ./src/ui/css/diff2html.css" ,
"build-templates" : "ts-node ./scripts/hulk.ts --wrapper ts --variable 'defaultTemplates' ./src/templates/*.mustache > ./src/diff2html-templates.ts" ,
"build-website" : "rm -rf docs; NODE_ENV=production WEBPACK_MINIMIZE=true webpack --mode production --config webpack.website.ts" ,
"start-website" : "WEBPACK_MINIFY=false NODE_ENV=dev webpack-dev-server --mode dev --config webpack.website.ts" ,
2019-10-07 14:41:38 +00:00
"preversion" : "yarn run build && yarn run lint && yarn test" ,
2019-10-06 20:04:33 +00:00
"version" : "git add -A package.json" ,
2016-05-07 13:03:37 +00:00
"postversion" : "git push && git push --tags"
2015-07-18 23:23:36 +00:00
} ,
2019-11-24 22:44:26 +00:00
"main" : "./lib/diff2html.js" ,
2015-07-18 23:23:36 +00:00
"dependencies" : {
2019-10-12 21:45:49 +00:00
"diff" : "4.0.1" ,
"hogan.js" : "3.0.2"
2015-10-31 21:55:15 +00:00
} ,
2019-11-24 22:44:26 +00:00
"optionalDependencies" : {
2019-12-22 21:15:50 +00:00
"highlight.js" : "9.17.1"
2019-11-24 22:44:26 +00:00
} ,
2015-10-31 21:55:15 +00:00
"devDependencies" : {
2019-11-24 22:44:26 +00:00
"@types/autoprefixer" : "9.6.1" ,
"@types/clipboard" : "2.0.1" ,
"@types/copy-webpack-plugin" : "5.0.0" ,
2019-10-12 21:45:49 +00:00
"@types/diff" : "4.0.2" ,
"@types/highlight.js" : "9.12.3" ,
2019-11-24 22:44:26 +00:00
"@types/hogan.js" : "3.0.0" ,
"@types/html-webpack-plugin" : "3.2.1" ,
2019-12-22 21:15:50 +00:00
"@types/jest" : "24.0.24" ,
2019-11-24 22:44:26 +00:00
"@types/mini-css-extract-plugin" : "0.8.0" ,
2019-10-12 21:45:49 +00:00
"@types/mkdirp" : "0.5.2" ,
2019-12-22 21:15:50 +00:00
"@types/node" : "12.12.21" ,
2019-10-12 21:45:49 +00:00
"@types/nopt" : "3.0.29" ,
2019-11-24 22:44:26 +00:00
"@types/webpack" : "4.41.0" ,
2019-12-22 21:15:50 +00:00
"@typescript-eslint/eslint-plugin" : "2.12.0" ,
"@typescript-eslint/parser" : "2.12.0" ,
"autoprefixer" : "9.7.3" ,
2019-11-24 22:44:26 +00:00
"bootstrap" : "3.4.1" ,
"clipboard" : "2.0.4" ,
2019-10-12 21:45:49 +00:00
"codacy-coverage" : "3.4.0" ,
2019-12-22 21:15:50 +00:00
"copy-webpack-plugin" : "5.1.1" ,
"css-loader" : "3.4.0" ,
2019-11-24 22:44:26 +00:00
"cssnano" : "4.1.10" ,
2019-12-22 21:15:50 +00:00
"eslint" : "6.8.0" ,
2019-11-24 22:44:26 +00:00
"eslint-config-prettier" : "6.7.0" ,
"eslint-config-standard" : "14.1.0" ,
2019-12-22 21:15:50 +00:00
"eslint-plugin-import" : "2.19.1" ,
"eslint-plugin-jest" : "23.1.1" ,
2019-11-24 22:44:26 +00:00
"eslint-plugin-node" : "10.0.0" ,
2019-12-22 21:15:50 +00:00
"eslint-plugin-prettier" : "3.1.2" ,
2019-10-12 21:45:49 +00:00
"eslint-plugin-promise" : "4.2.1" ,
"eslint-plugin-standard" : "4.0.1" ,
"fast-html-parser" : "1.0.1" ,
2019-12-22 21:15:50 +00:00
"file-loader" : "5.0.2" ,
2019-11-24 22:44:26 +00:00
"handlebars" : "4.5.3" ,
"handlebars-loader" : "1.7.1" ,
"html-webpack-plugin" : "3.2.0" ,
"image-webpack-loader" : "6.0.0" ,
2019-10-06 20:04:33 +00:00
"jest" : "24.9.0" ,
2019-12-22 21:15:50 +00:00
"mini-css-extract-plugin" : "0.9.0" ,
2019-10-12 21:45:49 +00:00
"mkdirp" : "0.5.1" ,
"nopt" : "4.0.1" ,
"postcss-cli" : "6.1.3" ,
2019-11-24 22:44:26 +00:00
"postcss-import" : "12.0.1" ,
"postcss-loader" : "3.0.0" ,
"postcss-normalize" : "8.0.1" ,
"postcss-preset-env" : "6.7.0" ,
"prettier" : "1.19.1" ,
2019-12-22 21:15:50 +00:00
"style-loader" : "1.1.1" ,
2019-11-24 22:44:26 +00:00
"ts-jest" : "24.2.0" ,
"ts-loader" : "6.2.1" ,
2019-12-22 21:15:50 +00:00
"ts-node" : "8.5.4" ,
"typescript" : "3.7.4" ,
"url-loader" : "3.0.0" ,
"webpack" : "4.41.4" ,
2019-11-24 22:44:26 +00:00
"webpack-cli" : "3.3.10" ,
2019-12-22 21:15:50 +00:00
"webpack-dev-server" : "3.10.1" ,
2019-10-12 21:45:49 +00:00
"whatwg-fetch" : "3.0.0"
2015-07-18 23:23:36 +00:00
} ,
2019-07-11 21:31:55 +00:00
"resolutions" : {
2019-10-06 20:04:33 +00:00
"lodash" : "4.17.15"
2019-07-11 21:31:55 +00:00
} ,
2015-07-18 23:32:40 +00:00
"license" : "MIT" ,
2015-07-18 23:23:36 +00:00
"files" : [
2019-11-24 22:44:26 +00:00
"bundles" ,
"lib" ,
"lib-esm"
2015-07-18 23:23:36 +00:00
]
}