-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
135 lines (135 loc) · 3.02 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
129
130
131
132
133
134
135
{
"name": "htmlnano",
"version": "2.1.1",
"description": "Modular HTML minifier, built on top of the PostHTML",
"main": "index.cjs",
"module": "index.mjs",
"source": "index.mjs",
"exports": {
".": {
"types": "./index.d.ts",
"require": "./index.cjs",
"import": "./index.mjs"
},
"./index.mjs": {
"types": "./index.d.mts",
"import": "./index.mjs"
},
"./index.cjs": {
"types": "./index.d.cts",
"require": "./index.cjs"
}
},
"types": "index.d.ts",
"author": "Kirill Maltsev <[email protected]>",
"license": "MIT",
"scripts": {
"clean": "rimraf lib/*.cjs lib/**/*.cjs",
"compile": "npm run clean && babel -d lib/ lib/ --out-file-extension .cjs",
"lint": "eslint --fix *.mjs lib/*.mjs lib/**/*.mjs test/*.mjs test/**/*.mjs",
"pretest": "npm run lint && npm run compile",
"test": ":",
"posttest": "mocha --timeout 5000 --require @babel/register --recursive --check-leaks --globals addresses",
"prepare": "npm run compile"
},
"keywords": [
"posthtml",
"posthtml-plugin",
"html",
"postproccessor",
"minifier"
],
"babel": {
"presets": [
[
"@babel/env",
{
"targets": {
"node": 10
}
}
]
],
"plugins": [
[
"@aminya/babel-plugin-replace-import-extension",
{
"extMapping": {
".mjs": ".cjs"
}
}
]
]
},
"dependencies": {
"cosmiconfig": "^9.0.0",
"posthtml": "^0.16.5",
"timsort": "^0.3.0"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
"@babel/eslint-parser": "^7.17.0",
"@babel/preset-env": "^7.15.6",
"@babel/register": "^7.15.3",
"@aminya/babel-plugin-replace-import-extension": "1.2.0",
"cssnano": "^7.0.0",
"eslint": "^8.12.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-path-import-extension": "^0.9.0",
"expect": "^29.0.0",
"mocha": "^10.1.0",
"postcss": "^8.3.11",
"purgecss": "^6.0.0",
"relateurl": "^0.2.7",
"rimraf": "^6.0.0",
"srcset": "5.0.1",
"svgo": "^3.0.2",
"terser": "^5.21.0",
"uncss": "^0.17.3"
},
"peerDependencies": {
"cssnano": "^7.0.0",
"postcss": "^8.3.11",
"purgecss": "^6.0.0",
"relateurl": "^0.2.7",
"srcset": "5.0.1",
"svgo": "^3.0.2",
"terser": "^5.10.0",
"uncss": "^0.17.3"
},
"peerDependenciesMeta": {
"cssnano": {
"optional": true
},
"postcss": {
"optional": true
},
"purgecss": {
"optional": true
},
"relateurl": {
"optional": true
},
"srcset": {
"optional": true
},
"svgo": {
"optional": true
},
"terser": {
"optional": true
},
"uncss": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "git://github.com/posthtml/htmlnano.git"
},
"bugs": {
"url": "https://github.com/posthtml/htmlnano/issues"
},
"homepage": "https://github.com/posthtml/htmlnano"
}