-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
96 lines (96 loc) · 2.16 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
{
"name": "inline-critical",
"version": "12.1.0",
"description": "Inline critical-path css and load the existing stylesheets asynchronously",
"main": "index.js",
"exports": {
".": "./index.js",
"./css": "./src/css.js",
"./dom": "./src/dom.js"
},
"type": "module",
"scripts": {
"jest": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage --runInBand --detectOpenHandles",
"lint": "xo",
"xo": "xo",
"fix": "xo --fix",
"test": "npm run xo && npm run jest"
},
"files": [
"index.js",
"cli.js",
"src/*.js"
],
"bin": {
"inline-critical": "cli.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bezoerb/inline-critical.git"
},
"homepage": "https://github.com/bezoerb/inline-critical#readme",
"keywords": [
"css",
"inline",
"loadcss",
"critical-path"
],
"author": "Ben Zörb <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/bezoerb/inline-critical/issues"
},
"engines": {
"node": ">=18.18"
},
"dependencies": {
"@adobe/css-tools": "^4.3.3",
"clean-css": "^5.3.3",
"detect-indent": "^7.0.1",
"fg-loadcss": "^2.1.0",
"get-stdin": "^9.0.0",
"indent-string": "^5.0.0",
"jsdom": "^24.0.0",
"lodash.defaults": "^4.2.0",
"lodash.escaperegexp": "^4.1.2",
"lodash.isregexp": "^4.0.1",
"lodash.isstring": "^4.0.1",
"meow": "^13.2.0",
"normalize-newline": "^4.1.0",
"picocolors": "^1.0.0",
"postcss": "^8.4.38",
"postcss-discard": "^2.0.0",
"reaver": "^2.0.0",
"slash": "^5.1.0",
"uglify-js": "^3.17.4"
},
"devDependencies": {
"cross-env": "^7.0.3",
"fs-extra": "^11.2.0",
"jest": "^29.7.0",
"read-package-up": "^11.0.0",
"xo": "^0.58.0"
},
"prettier": {
"bracketSpacing": false,
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5"
},
"xo": {
"space": 2,
"prettier": true,
"rules": {
"prefer-template": "error",
"unicorn/no-array-reduce": "off"
},
"overrides": [
{
"files": "test/**/*.test.js",
"envs": [
"jest"
]
}
]
}
}