diff2html/package.json

165 lines
5.2 KiB
JSON
Raw Normal View History

2015-07-18 23:23:36 +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": [
"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": {
"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": {
2021-02-20 13:43:55 +00:00
"node": ">=12"
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}\"",
2024-04-19 20:17:22 +00:00
"lint:staged": "lint-staged",
"lint:check": "eslint",
"lint:fix": "eslint --fix",
2019-12-29 22:31:32 +00:00
"prettier": "prettier --ignore-path .gitignore '**/*.+(js|jsx|ts|tsx|json|css|html|md|mdx)'",
2024-04-19 20:17:22 +00:00
"format:check": "npm run prettier --check",
"format:fix": "npm run prettier --write",
"build": "npm run build:css && npm run build:templates && npm run build:commonjs && npm run build:esm && npm run build:bundles && npm run build:website",
2023-08-06 18:44:01 +00:00
"build:commonjs": "rm -rf lib; tsc -p tsconfig.json --outDir lib",
"build:esm": "rm -rf lib-esm; tsc -p tsconfig.json -m ESNext --outDir lib-esm",
2021-02-20 13:43:55 +00:00
"build:bundles": "rm -rf ./bundles/js; webpack --mode production --config webpack.bundles.ts",
2019-12-29 22:31:32 +00:00
"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",
2021-02-20 13:43:55 +00:00
"build:website": "rm -rf docs; webpack --mode production --config webpack.website.ts",
2024-04-19 20:17:22 +00:00
"gen": "npm run gen:toc",
"gen:toc-base": "markdown-toc --maxdepth 3 --bullets='-' -i",
2024-04-19 20:17:22 +00:00
"gen:toc": "npm 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",
2024-04-19 20:17:22 +00:00
"coverage:open": "npm 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",
2024-04-19 20:17:22 +00:00
"validate": "npm run build:templates && npm run format:check && npm run lint:check && npm run build && npm run test:coverage",
"fix": "npm run format:fix && npm run lint:fix",
"start": "npm run start:website",
2023-08-30 12:38:18 +00:00
"start:website": "webpack serve --mode development --config webpack.website.ts",
2024-04-19 20:17:22 +00:00
"preversion": "npm run validate",
2021-02-20 13:43:55 +00:00
"version": "git add -A package.json",
2021-04-08 12:14:00 +00:00
"prepare": "husky install"
2015-07-18 23:23:36 +00:00
},
"main": "./lib/diff2html.js",
"module": "./lib-esm/diff2html.js",
"types": "./lib/diff2html.d.ts",
2019-12-29 22:31:32 +00:00
"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": [
2024-04-19 20:17:22 +00:00
"npm run gen:toc-base"
2019-12-29 22:31:32 +00:00
]
},
2015-07-18 23:23:36 +00:00
"dependencies": {
2024-07-05 22:52:51 +00:00
"diff": "^5.2.0",
2019-10-12 21:45:49 +00:00
"hogan.js": "3.0.2"
},
"optionalDependencies": {
2024-01-12 20:09:44 +00:00
"highlight.js": "11.9.0"
},
"devDependencies": {
2024-07-05 22:52:51 +00:00
"@types/diff": "^5.2.1",
2024-01-12 20:09:44 +00:00
"@types/hogan.js": "3.0.5",
2024-07-05 22:52:51 +00:00
"@types/jest": "^29.5.12",
"@types/node": "^20.14.10",
2024-01-12 20:09:44 +00:00
"@types/nopt": "3.0.32",
"@typescript-eslint/eslint-plugin": "6.18.1",
"@typescript-eslint/parser": "6.18.1",
2022-10-15 23:01:01 +00:00
"all-contributors-cli": "^6.24.0",
2024-07-05 22:52:51 +00:00
"autoprefixer": "^10.4.19",
2022-07-24 17:16:51 +00:00
"bulma": "^0.9.4",
"clipboard": "2.0.11",
2024-07-05 22:52:51 +00:00
"copy-webpack-plugin": "^12.0.2",
2024-07-05 22:59:55 +00:00
"css-loader": "^7.1.2",
"cssnano": "^7.0.4",
2024-01-12 20:09:44 +00:00
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "27.6.3",
2021-10-15 20:15:39 +00:00
"eslint-plugin-json": "3.1.0",
2020-05-09 10:27:49 +00:00
"eslint-plugin-node": "11.1.0",
2021-10-15 20:15:39 +00:00
"eslint-plugin-optimize-regex": "1.2.1",
2024-07-05 22:52:51 +00:00
"eslint-plugin-promise": "^6.4.0",
2024-01-12 20:09:44 +00:00
"eslint-plugin-sonarjs": "0.23.0",
2021-02-20 13:43:55 +00:00
"file-loader": "6.2.0",
2023-08-06 18:16:10 +00:00
"handlebars": "4.7.8",
"handlebars-loader": "1.7.3",
2024-01-12 20:09:44 +00:00
"html-webpack-plugin": "5.6.0",
2024-07-05 22:59:55 +00:00
"husky": "^9.0.11",
2022-04-15 20:05:09 +00:00
"image-webpack-loader": "8.1.0",
2021-02-20 13:43:55 +00:00
"is-ci-cli": "2.2.0",
2024-01-12 20:09:44 +00:00
"jest": "29.7.0",
2024-07-05 22:52:51 +00:00
"lint-staged": "^15.2.7",
2020-01-18 20:26:42 +00:00
"markdown-toc": "^1.2.0",
2024-07-05 22:52:51 +00:00
"mini-css-extract-plugin": "^2.9.0",
2023-08-06 18:16:10 +00:00
"mkdirp": "3.0.1",
2024-07-05 22:52:51 +00:00
"nopt": "^7.2.1",
"postcss": "^8.4.39",
2024-01-12 20:09:44 +00:00
"postcss-cli": "11.0.0",
2024-07-05 22:52:51 +00:00
"postcss-import": "^16.1.0",
2024-07-05 22:59:55 +00:00
"postcss-loader": "^8.1.1",
2024-07-05 22:52:51 +00:00
"postcss-preset-env": "^9.5.15",
"prettier": "^3.3.2",
"ts-jest": "^29.1.5",
2024-01-12 20:09:44 +00:00
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
2024-07-05 22:52:51 +00:00
"typescript": "^5.5.3",
2020-10-16 21:24:06 +00:00
"url-loader": "4.1.1",
2024-07-05 22:52:51 +00:00
"webpack": "^5.92.1",
2023-08-06 18:16:10 +00:00
"webpack-cli": "5.1.4",
2024-07-05 22:59:55 +00:00
"webpack-dev-server": "^5.0.4",
2024-01-12 20:09:44 +00:00
"whatwg-fetch": "3.6.20"
2015-07-18 23:23:36 +00:00
},
2019-07-11 21:31:55 +00:00
"resolutions": {
2020-09-04 18:17:32 +00:00
"lodash": ">=4.17.20",
"minimist": ">=1.2.5",
"acorn": ">=7.4.0",
"autolinker": ">=3.14.1",
"bl": ">=2.2.1",
2020-10-16 21:24:06 +00:00
"decompress": ">=4.2.1",
2022-04-15 20:05:09 +00:00
"node-forge": ">=0.10.0",
"trim-newlines": ">=3.0.1",
2022-07-24 17:18:38 +00:00
"async": ">=2.6.4",
2022-07-24 17:27:00 +00:00
"terser": ">=5.14.2",
2023-08-06 18:44:01 +00:00
"semver-regex": ">=4.0.5",
"http-cache-semantics": ">=4.1.1"
2019-07-11 21:31:55 +00:00
},
"license": "MIT",
2015-07-18 23:23:36 +00:00
"files": [
"bundles",
"lib",
"lib-esm"
2015-07-18 23:23:36 +00:00
]
}