67 lines
1.7 KiB
JSON
67 lines
1.7 KiB
JSON
{
|
|
"name": "beasties",
|
|
"version": "0.3.5",
|
|
"description": "Inline critical CSS and lazy-load the rest.",
|
|
"author": "The Chromium Authors",
|
|
"contributors": [
|
|
{
|
|
"name": "Jason Miller",
|
|
"email": "developit@google.com"
|
|
},
|
|
{
|
|
"name": "Janicklas Ralph",
|
|
"email": "janicklas@google.com"
|
|
}
|
|
],
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/danielroe/beasties",
|
|
"directory": "packages/beasties"
|
|
},
|
|
"keywords": [
|
|
"critical css",
|
|
"inline css",
|
|
"critical",
|
|
"beasties",
|
|
"webpack plugin",
|
|
"performance"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.cjs",
|
|
"default": "./dist/index.mjs"
|
|
}
|
|
},
|
|
"main": "dist/index.cjs",
|
|
"module": "dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
},
|
|
"dependencies": {
|
|
"css-select": "^6.0.0",
|
|
"css-what": "^7.0.0",
|
|
"dom-serializer": "^2.0.0",
|
|
"domhandler": "^5.0.3",
|
|
"htmlparser2": "^10.0.0",
|
|
"picocolors": "^1.1.1",
|
|
"postcss": "^8.4.49",
|
|
"postcss-media-query-parser": "^0.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/postcss-media-query-parser": "0.2.4",
|
|
"documentation": "14.0.3",
|
|
"unbuild": "3.5.0"
|
|
},
|
|
"scripts": {
|
|
"build": "unbuild && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"",
|
|
"build:stub": "unbuild --stub && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"",
|
|
"docs": "documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha"
|
|
}
|
|
} |