forked from addyosmani/critical
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 2.49 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": "critical",
"version": "5.0.4",
"description": "Extract & Inline Critical-path CSS from HTML",
"author": "Addy Osmani",
"license": "Apache-2.0",
"repository": "addyosmani/critical",
"type": "module",
"scripts": {
"jest": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
"xo": "xo",
"test": "npm run xo && npm run jest"
},
"files": [
"cli.js",
"index.js",
"src"
],
"exports": "./index.js",
"bin": "cli.js",
"keywords": [
"critical",
"path",
"css",
"optimization"
],
"engines": {
"node": ">=14.16"
},
"dependencies": {
"clean-css": "^5.3.1",
"common-tags": "^1.8.2",
"css-url-parser": "^1.1.3",
"data-uri-to-buffer": "^4.0.0",
"debug": "^4.3.4",
"find-up": "^6.3.0",
"get-stdin": "^9.0.0",
"globby": "^13.1.2",
"got": "^12.5.3",
"group-args": "^0.1.0",
"indent-string": "^5.0.0",
"inline-critical": "^10.0.1",
"is-glob": "^4.0.3",
"joi": "^17.7.0",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"make-dir": "^3.1.0",
"meow": "^11.0.0",
"oust": "^2.0.0",
"p-all": "^4.0.0",
"penthouse": "^2.3.3",
"picocolors": "^1.0.0",
"plugin-error": "^2.0.1",
"postcss": "^8.4.20",
"postcss-discard": "^2.0.0",
"postcss-image-inliner": "^6.0.1",
"postcss-url": "^10.1.3",
"replace-ext": "^2.0.0",
"slash": "^5.0.0",
"tempy": "^3.0.0",
"through2": "^4.0.2",
"vinyl": "^3.0.0"
},
"devDependencies": {
"async": "^3.2.4",
"ava": "^5.1.0",
"cross-env": "^7.0.3",
"finalhandler": "^1.2.0",
"get-port": "^6.1.2",
"jest": "^29.3.1",
"nock": "^13.2.9",
"normalize-newline": "^4.1.0",
"serve-static": "^1.15.0",
"stream-array": "^1.1.2",
"stream-assert": "^2.0.3",
"vinyl-source-stream": "^2.0.0",
"xo": "^0.53.1"
},
"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": {
"transform": {},
"collectCoverage": true
}
}