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" ,
2020-01-25 23:56:21 +00:00
"url" : "git://github.com/rtfpessoa/diff2html.git"
2015-07-18 23:23:36 +00:00
} ,
"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-12-29 22:31:32 +00:00
"eslint" : "eslint --ignore-path .gitignore \"**/*.{js,jsx,ts,tsx,json}\"" ,
"lint:check" : "yarn run eslint" ,
"lint:fix" : "yarn run eslint --fix" ,
"prettier" : "prettier --ignore-path .gitignore '**/*.+(js|jsx|ts|tsx|json|css|html|md|mdx)'" ,
"format:check" : "yarn run prettier --check" ,
"format:fix" : "yarn run prettier --write" ,
"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; webpack ---display-reasons --display-modules --mode production --config webpack.bundles.ts" ,
"build:css" : "rm -rf ./bundles/css; postcss --config ./postcss.config.js --no-map -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; webpack ---display-reasons --display-modules --mode production --config webpack.website.ts" ,
2020-01-19 01:48:00 +00:00
"gen" : "yarn run gen:toc" ,
"gen:toc-base" : "markdown-toc --maxdepth 3 --bullets='-' -i" ,
"gen:toc" : "yarn run gen:toc-base README.md" ,
2019-12-29 22:31:32 +00:00
"test" : "is-ci 'test:coverage' 'test:watch'" ,
"test:coverage" : "jest --coverage" ,
"test:watch" : "jest --watch" ,
"test:debug" : "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --watch" ,
"coverage:open" : "yarn run test:coverage && open ./coverage/index.html" ,
2020-05-09 10:23:14 +00:00
"coverage:push" : "curl -Ls https://coverage.codacy.com/get.sh | bash" ,
2019-12-29 22:31:32 +00:00
"validate" : "yarn run build:templates && yarn run format:check && yarn run lint:check && yarn run build && yarn run test:coverage" ,
"fix" : "yarn run format:fix && yarn run lint:fix" ,
"start" : "yarn run start:website" ,
"start:website" : "webpack-dev-server --mode development --config webpack.website.ts" ,
"preversion" : "yarn run validate" ,
2019-12-22 23:31:39 +00:00
"version" : "git add -A package.json"
2015-07-18 23:23:36 +00:00
} ,
2019-11-24 22:44:26 +00:00
"main" : "./lib/diff2html.js" ,
2019-12-22 23:31:39 +00:00
"module" : "./lib-esm/diff2html.js" ,
"types" : "./lib/diff2html.d.ts" ,
2019-12-29 22:31:32 +00:00
"husky" : {
"hooks" : {
"pre-commit" : "lint-staged"
}
} ,
"lint-staged" : {
"**/*.+(js|jsx|ts|tsx|json)" : [
"prettier --write" ,
2020-01-26 00:30:29 +00:00
"eslint --fix"
2019-12-29 22:31:32 +00:00
] ,
"**/*.+(css|html|md|mdx)" : [
2020-01-26 00:30:29 +00:00
"prettier --write"
2020-01-18 20:26:42 +00:00
] ,
"README.md" : [
2020-01-26 00:30:29 +00:00
"yarn run gen:toc-base"
2019-12-29 22:31:32 +00:00
]
} ,
2015-07-18 23:23:36 +00:00
"dependencies" : {
2020-01-18 01:20:33 +00:00
"diff" : "4.0.2" ,
2019-10-12 21:45:49 +00:00
"hogan.js" : "3.0.2"
2015-10-31 21:55:15 +00:00
} ,
2019-11-24 22:44:26 +00:00
"optionalDependencies" : {
2020-05-09 11:05:18 +00:00
"highlight.js" : "10.0.2"
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/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" ,
2020-02-05 20:25:55 +00:00
"@types/html-webpack-plugin" : "3.2.2" ,
2020-05-09 10:27:49 +00:00
"@types/jest" : "25.2.1" ,
2020-03-14 20:19:38 +00:00
"@types/mini-css-extract-plugin" : "0.9.1" ,
"@types/mkdirp" : "1.0.0" ,
2020-05-09 10:27:49 +00:00
"@types/node" : "13.13.5" ,
2019-10-12 21:45:49 +00:00
"@types/nopt" : "3.0.29" ,
2020-05-09 10:27:49 +00:00
"@types/webpack" : "4.41.12" ,
"@typescript-eslint/eslint-plugin" : "2.31.0" ,
"@typescript-eslint/parser" : "2.31.0" ,
"autoprefixer" : "9.7.6" ,
2020-01-05 02:40:04 +00:00
"bulma" : "^0.8.0" ,
2020-03-14 20:19:38 +00:00
"clipboard" : "2.0.6" ,
2019-12-22 21:15:50 +00:00
"copy-webpack-plugin" : "5.1.1" ,
2020-05-09 10:27:49 +00:00
"css-loader" : "3.5.3" ,
2019-11-24 22:44:26 +00:00
"cssnano" : "4.1.10" ,
2020-05-09 10:27:49 +00:00
"eslint" : "7.0.0" ,
"eslint-config-prettier" : "6.11.0" ,
"eslint-plugin-import" : "2.20.2" ,
"eslint-plugin-jest" : "23.10.0" ,
"eslint-plugin-json" : "2.1.1" ,
"eslint-plugin-node" : "11.1.0" ,
"eslint-plugin-optimize-regex" : "1.2.0" ,
2019-10-12 21:45:49 +00:00
"eslint-plugin-promise" : "4.2.1" ,
2019-12-29 22:31:32 +00:00
"eslint-plugin-sonarjs" : "0.5.0" ,
2020-05-09 10:27:49 +00:00
"file-loader" : "6.0.0" ,
"handlebars" : "4.7.6" ,
2019-11-24 22:44:26 +00:00
"handlebars-loader" : "1.7.1" ,
2020-05-09 10:27:49 +00:00
"html-webpack-plugin" : "4.3.0" ,
"husky" : "4.2.5" ,
2019-11-24 22:44:26 +00:00
"image-webpack-loader" : "6.0.0" ,
2019-12-29 22:31:32 +00:00
"is-ci-cli" : "2.0.0" ,
2020-05-09 10:27:49 +00:00
"jest" : "26.0.1" ,
"lint-staged" : "10.2.2" ,
2020-01-18 20:26:42 +00:00
"markdown-toc" : "^1.2.0" ,
2019-12-22 21:15:50 +00:00
"mini-css-extract-plugin" : "0.9.0" ,
2020-05-09 10:27:49 +00:00
"mkdirp" : "1.0.4" ,
2020-03-14 20:19:38 +00:00
"nopt" : "4.0.3" ,
2020-05-09 10:27:49 +00:00
"postcss" : "7.0.29" ,
"postcss-cli" : "7.1.1" ,
2019-11-24 22:44:26 +00:00
"postcss-import" : "12.0.1" ,
"postcss-loader" : "3.0.0" ,
"postcss-preset-env" : "6.7.0" ,
2020-05-09 10:27:49 +00:00
"prettier" : "2.0.5" ,
"ts-jest" : "25.5.1" ,
"ts-loader" : "7.0.3" ,
"ts-node" : "8.10.1" ,
2020-03-14 20:19:38 +00:00
"typescript" : "3.8.3" ,
2020-05-09 10:27:49 +00:00
"url-loader" : "4.1.0" ,
"webpack" : "4.43.0" ,
2020-03-14 20:19:38 +00:00
"webpack-cli" : "3.3.11" ,
2020-05-09 10:27:49 +00:00
"webpack-dev-server" : "3.11.0" ,
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" : {
2020-03-14 20:19:38 +00:00
"lodash" : ">=4.17.15" ,
"minimist" : ">=1.2.2" ,
2020-03-14 21:14:33 +00:00
"acorn" : ">=7.1.1" ,
"autolinker" : ">=3.0.0"
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
]
}