-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (78 loc) · 2.28 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
{
"name": "htmlnorm",
"version": "0.1.0",
"description": "Safely normalize HTML for testing, semantic diffs and readability.",
"homepage": "https://github.com/vassudanagunta/htmlnorm#readme",
"keywords": [
"html",
"format",
"fmt",
"normalize",
"canonical",
"canonicalize",
"clean",
"pretty",
"prettify",
"pretty-print",
"beautify",
"tidy",
"whitespace",
"indentation"
],
"author": "Vas Sudanagunta <[email protected]>",
"license": "MIT",
"repository": "github:vassudanagunta/htmlnorm",
"bugs": "https://github.com/vassudanagunta/htmlnorm/issues",
"type": "module",
"main": "lib/htmlnorm.js",
"bin": "cli.js",
"files": [
"README.md",
"LICENSE",
"CHANGELOG.md",
"lib/htmlnorm.*",
"lib/util.*",
"src/*.ts",
"cli.js",
"!**/*.tsbuildinfo"
],
"scripts": {
"build": "tsc -p src",
"prepare": "npm run build",
"pretest": "npm run build && npm run lint",
"test": "npx mocha",
"lint": "npx eslint .",
"coverage": "npm run nyc && npm run c8",
"nyc": "npx nyc mocha --experimental-loader=@istanbuljs/esm-loader-hook",
"c8": "npx c8 npm test",
"c8:report": "npx c8 --reporter html-spa report && open coverage/index.html",
"prepublishOnly": "npm test"
},
"dependencies": {
"htmlparser2": "~7.2.0",
"style-to-object": "^0.3.0"
},
"devDependencies": {
"@istanbuljs/esm-loader-hook": "^0.1.2",
"@types/chai": "^4.3.1",
"@types/commonmark": "^0.27.5",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.30",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"c8": "^7.11.2",
"chai": "^4.3.6",
"commonmark": "^0.30.0",
"eslint": "^8.14.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.26.0",
"mocha": "^9.2.2",
"mocha-suppress-logs": "^0.3.1",
"nyc": "^15.1.0",
"source-map-support": "^0.5.21",
"typescript": "^4.6.4"
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
}
}