package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "beasties",
  3. "version": "0.2.0",
  4. "description": "Inline critical CSS and lazy-load the rest.",
  5. "author": "The Chromium Authors",
  6. "contributors": [
  7. {
  8. "name": "Jason Miller",
  9. "email": "developit@google.com"
  10. },
  11. {
  12. "name": "Janicklas Ralph",
  13. "email": "janicklas@google.com"
  14. }
  15. ],
  16. "license": "Apache-2.0",
  17. "repository": {
  18. "type": "git",
  19. "url": "https://github.com/danielroe/beasties",
  20. "directory": "packages/beasties"
  21. },
  22. "keywords": [
  23. "critical css",
  24. "inline css",
  25. "critical",
  26. "beasties",
  27. "webpack plugin",
  28. "performance"
  29. ],
  30. "exports": {
  31. ".": {
  32. "types": "./dist/index.d.ts",
  33. "import": "./dist/index.mjs",
  34. "require": "./dist/index.cjs",
  35. "default": "./dist/index.mjs"
  36. }
  37. },
  38. "main": "dist/index.cjs",
  39. "module": "dist/index.mjs",
  40. "types": "./dist/index.d.ts",
  41. "files": [
  42. "dist"
  43. ],
  44. "engines": {
  45. "node": ">=14.0.0"
  46. },
  47. "dependencies": {
  48. "css-select": "^5.1.0",
  49. "css-what": "^6.1.0",
  50. "dom-serializer": "^2.0.0",
  51. "domhandler": "^5.0.3",
  52. "htmlparser2": "^9.1.0",
  53. "picocolors": "^1.1.1",
  54. "postcss": "^8.4.49",
  55. "postcss-media-query-parser": "^0.2.3"
  56. },
  57. "devDependencies": {
  58. "@types/postcss-media-query-parser": "0.2.4",
  59. "documentation": "14.0.3",
  60. "unbuild": "2.0.0"
  61. },
  62. "scripts": {
  63. "build": "unbuild && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"",
  64. "build:stub": "unbuild --stub && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"",
  65. "docs": "documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha"
  66. }
  67. }