-
Notifications
You must be signed in to change notification settings - Fork 372
/
package.json
116 lines (116 loc) · 2.67 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
{
"name": "critical",
"version": "7.2.1",
"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",
"./file.js": "./src/file.js",
"./errors.js": "./src/errors.js"
},
"bin": "cli.js",
"keywords": [
"critical",
"path",
"css",
"optimization"
],
"engines": {
"node": ">=18.18"
},
"dependencies": {
"@adobe/css-tools": "^4.4.0",
"async-traverse-tree": "^1.1.0",
"clean-css": "^5.3.3",
"common-tags": "^1.8.2",
"css-url-parser": "^1.1.4",
"data-uri-to-buffer": "^6.0.2",
"debug": "^4.3.7",
"find-up": "^7.0.0",
"get-stdin": "^9.0.0",
"globby": "^14.0.2",
"got": "^13.0.0",
"group-args": "^0.1.0",
"indent-string": "^5.0.0",
"inline-critical": "^12.1.0",
"is-glob": "^4.0.3",
"joi": "^17.13.3",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"make-dir": "^5.0.0",
"meow": "^13.2.0",
"oust": "^2.0.4",
"p-all": "^5.0.0",
"penthouse": "^2.3.3",
"picocolors": "^1.1.0",
"plugin-error": "^2.0.1",
"postcss": "^8.4.47",
"postcss-discard": "^2.0.0",
"postcss-image-inliner": "^7.0.1",
"postcss-url": "^10.1.3",
"replace-ext": "^2.0.0",
"slash": "^5.1.0",
"tempy": "^3.1.0",
"through2": "^4.0.2",
"vinyl": "^3.0.0"
},
"devDependencies": {
"async": "^3.2.6",
"cross-env": "^7.0.3",
"finalhandler": "^1.3.1",
"get-port": "^7.1.0",
"jest": "^29.7.0",
"nock": "^13.5.5",
"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.59.3"
},
"xo": {
"space": 2,
"prettier": true,
"rules": {
"capitalized-comments": "off",
"promise/prefer-await-to-then": "warn",
"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
}
}