forked from addyosmani/critical
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 2.31 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
{
"name": "critical",
"version": "3.0.1",
"description": "Extract & Inline Critical-path CSS from HTML",
"author": "Addy Osmani",
"license": "Apache-2.0",
"repository": "addyosmani/critical",
"scripts": {
"jest": "jest --coverage",
"xo": "xo",
"test": "npm run xo && npm run jest"
},
"files": [
"cli.js",
"index.js",
"src"
],
"bin": "cli.js",
"keywords": [
"critical",
"path",
"css",
"optimization"
],
"engines": {
"node": "^10 || ^12 || >=14"
},
"dependencies": {
"chalk": "^4.1.0",
"clean-css": "^5.1.2",
"common-tags": "^1.8.0",
"css-url-parser": "^1.1.3",
"debug": "^4.3.1",
"find-up": "^5.0.0",
"get-stdin": "^8.0.0",
"globby": "^11.0.3",
"got": "^11.8.2",
"group-args": "^0.1.0",
"indent-string": "^4.0.0",
"inline-critical": "^6.0.3",
"is-glob": "^4.0.1",
"joi": "^17.4.0",
"lodash": "^4.17.21",
"make-dir": "^3.1.0",
"meow": "^9.0.0",
"oust": "^1.0.5",
"p-all": "^3.0.0",
"penthouse": "^2.3.2",
"plugin-error": "^1.0.1",
"postcss": "^8.2.10",
"postcss-discard": "^1.0.1",
"postcss-image-inliner": "^4.0.4",
"postcss-url": "^10.1.3",
"prettier": "^2.2.1",
"replace-ext": "^2.0.0",
"slash": "^3.0.0",
"tempy": "^1.0.1",
"through2": "^4.0.2",
"vinyl": "^2.2.1"
},
"devDependencies": {
"async": "^3.2.0",
"finalhandler": "^1.1.2",
"get-port": "^5.1.1",
"jest": "^26.6.3",
"nock": "^13.0.11",
"normalize-newline": "^3.0.0",
"serve-static": "^1.14.1",
"stream-array": "^1.1.2",
"stream-assert": "^2.0.3",
"vinyl-source-stream": "^2.0.0",
"xo": "^0.38.2"
},
"xo": {
"space": 2,
"prettier": true,
"rules": {
"capitalized-comments": "off",
"unicorn/prevent-abbreviations": "off",
"unicorn/string-content": "off",
"unicorn/no-reduce": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-fn-reference-in-iterator": "off"
},
"overrides": [
{
"files": "test/*.js",
"envs": [
"jest"
]
}
]
},
"prettier": {
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 120,
"bracketSpacing": false
},
"jest": {
"roots": [
""
]
}
}