Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.3 KB
/
Copy pathpackage.json
File metadata and controls
121 lines (121 loc) · 3.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "diff2html-cli",
"version": "4.2.1",
"homepage": "https://diff2html.xyz/index.html#cli",
"description": "Fast Diff to colorized HTML",
"keywords": [
"git",
"diff",
"pretty",
"parser",
"diffparser",
"gen",
"generator",
"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": "git://github.com/rtfpessoa/diff2html-cli.git"
},
"bugs": {
"url": "https://github.com/rtfpessoa/diff2html-cli/issues"
},
"engines": {
"node": ">=12"
},
"preferGlobal": true,
"scripts": {
"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:es5",
"build:es5": "rm -rf lib; tsc -p tsconfig.json --outDir lib",
"gen": "yarn run gen:toc",
"gen:toc-base": "markdown-toc --maxdepth 3 --bullets='-' -i",
"gen:toc": "yarn run gen:toc-base README.md",
"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",
"validate": "yarn run format:check && yarn run lint:check && yarn run build && yarn run test:coverage",
"fix": "yarn run format:fix && yarn run lint:fix",
"preversion": "yarn run validate",
"version": "git add -A package.json",
"prepare": "husky install"
},
"bin": {
"diff2html": "./bin/diff2html"
},
"main": "./lib/diff2html.js",
"types": "./lib/diff2html.d.ts",
"lint-staged": {
"**/*.+(js|jsx|ts|tsx|json)": [
"prettier --write",
"eslint --fix"
],
"**/*.+(css|html|md|mdx)": [
"prettier --write"
],
"README.md": [
"yarn run gen:toc-base"
]
},
"dependencies": {
"clipboardy": "^2.3.0",
"diff2html": "^3.4.19",
"node-fetch": "^2.6.7",
"open": "^8.4.0",
"yargs": "^17.6.0"
},
"devDependencies": {
"@types/hogan.js": "^3.0.1",
"@types/jest": "29.1.2",
"@types/node": "18.11.0",
"@types/node-fetch": "^2.6.2",
"@types/request": "2.48.8",
"@typescript-eslint/eslint-plugin": "5.40.0",
"@typescript-eslint/parser": "5.40.0",
"eslint": "8.25.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest": "27.1.2",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-optimize-regex": "1.2.1",
"eslint-plugin-promise": "6.1.0",
"eslint-plugin-sonarjs": "0.16.0",
"husky": "8.0.1",
"is-ci-cli": "2.2.0",
"jest": "29.2.0",
"lint-staged": "13.0.3",
"markdown-toc": "^1.2.0",
"prettier": "2.7.1",
"ts-jest": "29.0.3",
"typescript": "4.8.4"
},
"license": "MIT",
"files": [
"bin",
"lib",
"template.html"
]
}