SIGN IN SIGN UP
addyosmani / critical UNCLAIMED

Extract & Inline Critical-path CSS in HTML pages

0 0 1 JavaScript
2014-06-28 11:12:15 +01:00
{
"name": "critical",
2024-09-23 21:59:46 +02:00
"version": "7.2.1",
2014-07-11 15:19:19 +01:00
"description": "Extract & Inline Critical-path CSS from HTML",
2014-07-05 10:06:52 +03:00
"author": "Addy Osmani",
"license": "Apache-2.0",
"repository": "addyosmani/critical",
"type": "module",
2014-06-28 11:12:15 +01:00
"scripts": {
"jest": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
"xo": "xo",
"test": "npm run xo && npm run jest"
2014-06-28 11:12:15 +01:00
},
"files": [
2015-05-19 21:01:23 +02:00
"cli.js",
"index.js",
"src"
2014-06-28 11:12:15 +01:00
],
2024-01-12 00:10:53 +01:00
"exports": {
".": "./index.js",
"./file.js": "./src/file.js",
"./errors.js": "./src/errors.js"
},
2015-05-19 21:01:23 +02:00
"bin": "cli.js",
2014-06-28 11:12:15 +01:00
"keywords": [
"critical",
"path",
"css",
"optimization"
],
"engines": {
2024-03-26 00:46:55 +01:00
"node": ">=18.18"
2014-06-28 11:12:15 +01:00
},
"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",
2024-09-23 11:08:41 +02:00
"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",
2024-03-26 00:46:55 +01:00
"meow": "^13.2.0",
2023-09-13 00:25:51 +02:00
"oust": "^2.0.4",
2023-09-19 00:20:53 +02:00
"p-all": "^5.0.0",
"penthouse": "^2.3.3",
"picocolors": "^1.1.0",
"plugin-error": "^2.0.1",
"postcss": "^8.4.47",
2021-06-06 23:07:10 +02:00
"postcss-discard": "^2.0.0",
"postcss-image-inliner": "^7.0.1",
2021-04-15 00:19:22 +02:00
"postcss-url": "^10.1.3",
2020-05-24 23:35:23 +02:00
"replace-ext": "^2.0.0",
2023-09-13 00:25:51 +02:00
"slash": "^5.1.0",
"tempy": "^3.1.0",
2020-07-03 00:40:35 +02:00
"through2": "^4.0.2",
"vinyl": "^3.0.0"
2014-06-28 11:12:15 +01:00
},
"devDependencies": {
"async": "^3.2.6",
"cross-env": "^7.0.3",
"finalhandler": "^1.3.1",
2024-03-26 00:46:55 +01:00
"get-port": "^7.1.0",
2023-09-13 00:25:51 +02:00
"jest": "^29.7.0",
"nock": "^13.5.5",
"normalize-newline": "^4.1.0",
"serve-static": "^1.15.0",
2017-02-11 01:09:27 +01:00
"stream-array": "^1.1.2",
"stream-assert": "^2.0.3",
"vinyl-source-stream": "^2.0.0",
"xo": "^0.59.3"
2016-01-19 17:16:40 +01:00
},
"xo": {
"space": 2,
"prettier": true,
"rules": {
"capitalized-comments": "off",
"promise/prefer-await-to-then": "warn",
"unicorn/prevent-abbreviations": "off",
2020-05-24 23:38:26 +02:00
"unicorn/string-content": "off",
"unicorn/no-reduce": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-array-for-each": "off",
2020-05-24 23:38:26 +02:00
"unicorn/no-fn-reference-in-iterator": "off"
},
"overrides": [
{
"files": "test/*.js",
"envs": [
"jest"
]
}
]
},
"prettier": {
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 120,
"bracketSpacing": false
},
"jest": {
"transform": {},
2022-09-06 12:23:16 +02:00
"collectCoverage": true
2014-06-28 11:12:15 +01:00
}
}