forked from idesis-gmbh/htmldiff.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.46 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 2.46 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
{
"name": "@matrixreq/htmldiff",
"description": "Diff and markup HTML with <ins> and <del> tags",
"companyname": "Matrix Requirements",
"version": "1.2.0",
"keywords": [
"diff",
"html",
"htmldiff",
"ins",
"del"
],
"homepage": "https://github.com/MatrixRequirements/htmldiff.js",
"repository": {
"type": "git",
"url": "git+https://github.com/MatrixRequirements/htmldiff.js"
},
"readme": "README.md",
"bugs": {
"url": "https://github.com/MatrixRequirements/htmldiff.js/issues"
},
"license": "MIT",
"main": "js/htmldiff.js",
"bin": {
"htmldiff": "./htmldiff-cli.js"
},
"files": [
"js/htmldiff.js",
"js/htmldiff.d.ts",
"sample/*",
"test/*",
"htmldiff-cli.js"
],
"types": "js/htmldiff.d.ts",
"dependencies": {},
"devDependencies": {
"@types/node": "18.7.11",
"@typescript-eslint/eslint-plugin": "5.34.0",
"@typescript-eslint/parser": "5.34.0",
"chai": "*",
"eslint": "8.22.0",
"eslint-plugin-jsdoc": "39.3.6",
"pkg": "5.8.0",
"typescript": "4.7.4",
"mocha": "*"
},
"scripts": {
"test": "mocha -R min",
"testsample": "node htmldiff-cli.js sample/before.html sample/after.html - -c myDiffClass -p myPrefix",
"lint": "eslint -c eslintrc.json --parser-options=project:./tsconfig.json --ext .ts ./",
"premake": "npm run lint",
"make": "tsc -p tsconfig.json && node -e \"require('fs').unlinkSync('./htmldiff-cli.d.ts')\"",
"pack-macos-aarch64": "pkg -t node18-macos-arm64 -C GZip --output ./bin/macos-aarch64/htmldiff-cli htmldiff-cli.js -c ./pkg.json",
"pack-macos-x64": " pkg -t node18-macos-x64 -C GZip --output ./bin/macos-x64/htmldiff-cli htmldiff-cli.js -c ./pkg.json",
"pack-win32-x64": " pkg -t node18-win32-x64 -C GZip --output ./bin/win32-x64/htmldiff-cli htmldiff-cli.js -c ./pkg.json",
"pack-linux-x64": " pkg -t node18-linuxstatic-x64 -C GZip --output ./bin/linux-x64/htmldiff-cli htmldiff-cli.js -c ./pkg.json",
"pack-linux-aarch64": "pkg -t node18-linuxstatic-arm64 -C GZip --output ./bin/linux-aarch64/htmldiff-cli htmldiff-cli.js -c ./pkg.json",
"pack-all": "npm run pack-macos-aarch64 && npm run pack-macos-x64 && npm run pack-win32-x64 && npm run pack-linux-x64 && npm run pack-linux-aarch64"
}
}