-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathpackage.json
128 lines (128 loc) · 3.67 KB
/
package.json
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
122
123
124
125
126
127
128
{
"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": "[email protected]"
},
"repository": {
"type": "git",
"url": "git://github.com/rtfpessoa/diff2html-cli.git"
},
"bugs": {
"url": "https://github.com/rtfpessoa/diff2html-cli/issues"
},
"engines": {
"node": ">=16"
},
"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": "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": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --coverage",
"test:watch": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watch",
"test:debug": "node --experimental-vm-modules --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"
},
"type": "module",
"bin": {
"diff2html": "./bin/diff2html.js"
},
"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": "^4.0.0",
"diff2html": "^3.4.47",
"node-fetch": "^3.3.2",
"open": "^10.0.3",
"yargs": "^17.6.0"
},
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"@babel/preset-typescript": "^7.23.3",
"@jest/globals": "^29.7.0",
"@types/hogan.js": "^3.0.5",
"@types/jest": "^29.5.11",
"@types/node": "20.11.0",
"@types/node-fetch": "^2.6.10",
"@types/request": "2.48.12",
"@typescript-eslint/eslint-plugin": "6.18.1",
"@typescript-eslint/parser": "6.18.1",
"babel-jest": "^29.7.0",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "27.6.3",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-optimize-regex": "1.2.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-sonarjs": "0.23.0",
"husky": "8.0.3",
"is-ci-cli": "2.2.0",
"jest": "29.7.0",
"lint-staged": "15.2.0",
"markdown-toc": "^1.2.0",
"prettier": "3.2.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "5.3.3"
},
"license": "MIT",
"files": [
"bin",
"lib",
"template.html"
]
}