forked from posthtml/htmlnano
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 2.42 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
{
"name": "htmlnano",
"version": "2.0.2",
"description": "Modular HTML minifier, built on top of the PostHTML",
"main": "index.js",
"author": "Kirill Maltsev <maltsevkirill@gmail.com>",
"license": "MIT",
"scripts": {
"compile": "rimraf lib/*.js && rimraf lib/modules/*.js && babel -d lib/ lib/",
"lint": "eslint *.js lib/*.es6 lib/modules/*.es6 lib/presets/*.es6 test/",
"pretest": "npm run lint && npm run compile",
"test": ":",
"posttest": "mocha --timeout 5000 --require @babel/register --recursive --check-leaks --globals addresses",
"prepare": "npm run compile",
"release:patch": "release-it patch -n"
},
"release-it": {
"hooks": {
"before:init": "npm test"
}
},
"keywords": [
"posthtml",
"posthtml-plugin",
"html",
"postproccessor",
"minifier"
],
"babel": {
"presets": [
[
"@babel/env",
{
"targets": {
"node": 10
}
}
]
]
},
"dependencies": {
"cosmiconfig": "^7.0.1",
"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",
"cssnano": "^5.0.11",
"eslint": "^8.12.0",
"expect": "^27.2.0",
"mocha": "^9.1.0",
"postcss": "^8.3.11",
"purgecss": "^4.0.3",
"relateurl": "^0.2.7",
"release-it": "^14.11.5",
"rimraf": "^3.0.2",
"srcset": "4.0.0",
"svgo": "^2.8.0",
"terser": "^5.10.0",
"uncss": "^0.17.3"
},
"peerDependencies": {
"cssnano": "^5.0.11",
"postcss": "^8.3.11",
"purgecss": "^4.0.3",
"relateurl": "^0.2.7",
"srcset": "4.0.0",
"svgo": "^2.8.0",
"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"
}