132 lines
4.3 KiB
JSON
132 lines
4.3 KiB
JSON
{
|
|
"name": "diff2html",
|
|
"version": "3.0.0-beta.1",
|
|
"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-templates && jest",
|
|
"coverage": "jest --collectCoverage",
|
|
"coverage-html": "yarn run coverage && open ./coverage/index.html",
|
|
"codacy": "cat ./coverage/lcov.info | codacy-coverage",
|
|
"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",
|
|
"preversion": "yarn run build && yarn run lint && yarn test",
|
|
"version": "git add -A package.json",
|
|
"postversion": "git push && git push --tags"
|
|
},
|
|
"main": "./lib/diff2html.js",
|
|
"dependencies": {
|
|
"diff": "4.0.1",
|
|
"hogan.js": "3.0.2"
|
|
},
|
|
"optionalDependencies": {
|
|
"highlight.js": "9.16.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/autoprefixer": "9.6.1",
|
|
"@types/clipboard": "2.0.1",
|
|
"@types/copy-webpack-plugin": "5.0.0",
|
|
"@types/diff": "4.0.2",
|
|
"@types/highlight.js": "9.12.3",
|
|
"@types/hogan.js": "3.0.0",
|
|
"@types/html-webpack-plugin": "3.2.1",
|
|
"@types/jest": "24.0.23",
|
|
"@types/mini-css-extract-plugin": "0.8.0",
|
|
"@types/mkdirp": "0.5.2",
|
|
"@types/node": "12.12.12",
|
|
"@types/nopt": "3.0.29",
|
|
"@types/webpack": "4.41.0",
|
|
"@typescript-eslint/eslint-plugin": "2.8.0",
|
|
"@typescript-eslint/parser": "2.8.0",
|
|
"autoprefixer": "9.7.2",
|
|
"bootstrap": "3.4.1",
|
|
"clipboard": "2.0.4",
|
|
"codacy-coverage": "3.4.0",
|
|
"copy-webpack-plugin": "5.0.5",
|
|
"css-loader": "3.2.0",
|
|
"cssnano": "4.1.10",
|
|
"eslint": "6.7.0",
|
|
"eslint-config-prettier": "6.7.0",
|
|
"eslint-config-standard": "14.1.0",
|
|
"eslint-plugin-import": "2.18.2",
|
|
"eslint-plugin-jest": "23.0.4",
|
|
"eslint-plugin-node": "10.0.0",
|
|
"eslint-plugin-prettier": "3.1.1",
|
|
"eslint-plugin-promise": "4.2.1",
|
|
"eslint-plugin-standard": "4.0.1",
|
|
"fast-html-parser": "1.0.1",
|
|
"file-loader": "4.3.0",
|
|
"handlebars": "4.5.3",
|
|
"handlebars-loader": "1.7.1",
|
|
"html-webpack-plugin": "3.2.0",
|
|
"image-webpack-loader": "6.0.0",
|
|
"jest": "24.9.0",
|
|
"mini-css-extract-plugin": "0.8.0",
|
|
"mkdirp": "0.5.1",
|
|
"nopt": "4.0.1",
|
|
"postcss-cli": "6.1.3",
|
|
"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",
|
|
"style-loader": "1.0.0",
|
|
"ts-jest": "24.2.0",
|
|
"ts-loader": "6.2.1",
|
|
"ts-node": "8.5.2",
|
|
"typescript": "3.7.2",
|
|
"url-loader": "2.3.0",
|
|
"webpack": "4.41.2",
|
|
"webpack-cli": "3.3.10",
|
|
"webpack-dev-server": "3.9.0",
|
|
"whatwg-fetch": "3.0.0"
|
|
},
|
|
"resolutions": {
|
|
"lodash": "4.17.15"
|
|
},
|
|
"license": "MIT",
|
|
"files": [
|
|
"bundles",
|
|
"lib",
|
|
"lib-esm"
|
|
]
|
|
}
|